Shredder Users plugin error about invalid characters

I have a script that gathers up all the newest spam users created over the
course of a day and iterates over each one calling rtx-shredder with the Users
plugin.

It occassionaly spits out an error thusly:
Couldn’t load plugin
Error: Invalid characters in email ‘aecrhirzjm@directline-holidays.co.uk’

The email address that cause the error are pretty much the same format as that
above with the hyphen in the domain part. I’m guessing that is the error’s
cause. The strange thing though is that I’ve never received this error when
running the plugin from the UI.

Also, how do I call Shredder as RT::SystemUser so I don’t get the
"RT::User=HASH(0xb01b258) was created without a CurrentUser" error?

Mathew

I’m trying to delete spam addresses from RT 3.4.2, vanilla install, with
the latest shredder from CPAN.

If I run this command:

/opt/rt3/local/sbin/rtx-shredder --plugin
"Users=status,any;email,emailaddress@yahoo.com"

I get this:

SQL dump file is '/tmp/20061215T134640-0001.sql’
Objects list is empty, try refine search options

The address I use is definitely in the database.

Any help appreciated.
Regards,
Pete

I’m trying to delete spam addresses from RT 3.4.2, vanilla install, with
the latest shredder from CPAN.

If I run this command:

/opt/rt3/local/sbin/rtx-shredder --plugin
"Users=status,any;email,emailaddress@yahoo.com"

I get this:

SQL dump file is '/tmp/20061215T134640-0001.sql’
Objects list is empty, try refine search options

The address I use is definitely in the database.

Any help appreciated.
Regards,
Pete

[Apols for the repost - I just realised I posted this as a reply to a
different post, so it ended up in an unrelated thread. ]

I really tried to reproduce this problem, but without any luck.
Could turn on database query log?On 1/3/07, Pete Phillips pete@smtl.co.uk wrote:

I’m trying to delete spam addresses from RT 3.4.2, vanilla install, with
the latest shredder from CPAN.

If I run this command:

/opt/rt3/local/sbin/rtx-shredder --plugin
Users=status,any;email,emailaddress@yahoo.com

I get this:

SQL dump file is ‘/tmp/20061215T134640-0001.sql’
Objects list is empty, try refine search options

The address I use is definitely in the database.

Any help appreciated.
Regards,
Pete

[Apols for the repost - I just realised I posted this as a reply to a
different post, so it ended up in an unrelated thread. ]


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.