Custom script to assign queues

I was wondering if anyone had a custom script that would do the following:

On Create
Look at what the end of the email address is,
If it is “example.com” move to queue ‘example’

Thanks in advance,

Jeremy Rooks
Technology Specialist
Osage County Interlocal Cooperative
207 E. Main Street
Hominy, OK 74035
918 885-2667 ext 122
918 885-6742 Fax
jrooks@ocic.k12.ok.us
support@ocic.k12.ok.us Tech Support

"Your mouse has moved. Windows will now restart so this change can take
effect.²

I was wondering if anyone had a custom script that would do the following:

On Create
Look at what the end of the email address is,
If it is “example.com” move to queue ‘example’

I’d be inclined to do this with procmail in front of rt.

seph

Does procmail take the place of sendmail? Or does it co-exist?

Jeremy Rooks
Technology Specialist
Osage County Interlocal Cooperative
207 E. Main Street
Hominy, OK 74035
918 885-2667 ext 122
918 885-6742 Fax
jrooks@ocic.k12.ok.us
support@ocic.k12.ok.us Tech Support

"Your mouse has moved. Windows will now restart so this change can take
effect.²

Does procmail take the place of sendmail? Or does it co-exist?

sendmail can use procmail as a local delivery agent.

I wrote some spam filtering scripts which could easily
be modified to do what you want. Let me know via
direct email if you’d like a copy. I’ll send you a
copy and instructions on how to make it do what you
want.— Jeremy Rooks jrooks@ocic.k12.ok.us wrote:

I was wondering if anyone had a custom script that
would do the following:

On Create
Look at what the end of the email address is,
If it is “example.com” move to queue ‘example’

Thanks in advance,

Jeremy Rooks
Technology Specialist
Osage County Interlocal Cooperative
207 E. Main Street
Hominy, OK 74035
918 885-2667 ext 122
918 885-6742 Fax
jrooks@ocic.k12.ok.us
support@ocic.k12.ok.us Tech Support

"Your mouse has moved. Windows will now restart so
this change can take
effect.�


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at
http://fsck.com/rtfm

“I’m the Commander, see … I do not need to explain why I say things. That’s the interesting thing about being the President … [I] don’t feel like I owe anybody an explanation.” – President George W. Bush to the National Security Council

Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard