[rt-users] [SOT] Accepting mail _only_ from a domain.
Roderick A. Anderson
raanders at acm.org
Tue Dec 10 10:57:04 EST 2002
On Tue, 10 Dec 2002, Stephane Bortzmeyer wrote:
Thanks Stephane. I was thinking along these lines.
I'll give it a try this week.
> [Untested, YMMV, IANAL, batteries not included]
>
> Instead of:
>
> foo: "|/local/rt2/bin/rt-mailgate --queue Foo --action correspond"
>
> Do a:
>
> foo:"|exec /usr/bin/procmail /etc/mail/procmailrcs/foo"
>
> With a /etc/mail/procmailrcs/foo which contains:
>
> MYDOMAIN=bar.com
>
> :0
> * $^From:.*@$MYDOMAIN
> |/local/rt2/bin/rt-mailgate --queue Foo --action correspond
>
> :0
> /dev/null
>
--
"Open Source Software - Sometimes you get more than you paid for..."
More information about the rt-users
mailing list