Shredder User Plugin - Email Regex

I’ve been running a script that calls rtx-shredder directly passing an
email from an array. However, I get a lot of emails that I need to get
rid of which contain hyphens. What do I add those to the Users plugin
email regex in order to allow hyphens?

Mathew

I’ve dropped that validation part and uploaded shredder 0.04_01 to the CPAN.
Also, it has new option ‘no_tickets’ in Users plugin.On 12/13/06, Mathew theillien@yahoo.com wrote:

I’ve been running a script that calls rtx-shredder directly passing an
email from an array. However, I get a lot of emails that I need to get
rid of which contain hyphens. What do I add those to the Users plugin
email regex in order to allow hyphens?

Mathew


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.

Very nice to hear. Thank you so much

Mathew

Ruslan Zakirov wrote:

One other quick question though. How do I prevent the message that I
ran it without a CurrentUser?

Mathew

Ruslan Zakirov wrote:

One other quick question though. How do I prevent the message that I
ran it without a CurrentUser?
I need more info, I don’t see such message.

Mathew

Ruslan Zakirov wrote:

I’ve dropped that validation part and uploaded shredder 0.04_01 to the
CPAN.
Also, it has new option ‘no_tickets’ in Users plugin.

I’ve been running a script that calls rtx-shredder directly passing an
email from an array. However, I get a lot of emails that I need to get
rid of which contain hyphens. What do I add those to the Users plugin
email regex in order to allow hyphens?

Mathew


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.

When running from the command line and executing this command:
./rtx-shredder --plugin
‘Users=email,anyemail@address.com;status,any;replace_relations,Nobody’

I get this output:
SQL dump file is ‘/usr/local/rt-3.6.1/local/sbin/20061216T032436-0001.sql’
[Sat Dec 16 03:24:36 2006] [err]: RT::User=HASH(0x98668f8) was created without a
CurrentUser
1 (/usr/local/rt-3.6.1/lib/RT/Base.pm:92)

Mathew

Ruslan Zakirov wrote:> On 12/15/06, Mathew theillien@yahoo.com wrote:

One other quick question though. How do I prevent the message that I
ran it without a CurrentUser?
I need more info, I don’t see such message.

Mathew

Ruslan Zakirov wrote:

I’ve dropped that validation part and uploaded shredder 0.04_01 to the
CPAN.
Also, it has new option ‘no_tickets’ in Users plugin.

On 12/13/06, Mathew theillien@yahoo.com wrote:

I’ve been running a script that calls rtx-shredder directly passing an
email from an array. However, I get a lot of emails that I need to
get
rid of which contain hyphens. What do I add those to the Users plugin
email regex in order to allow hyphens?

Mathew


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