On Tue, Apr 13, 2004 at 06:10:23PM +1000, Matt Hyne wrote:

> method people suggest for getting sendmail to forward all mail for
> sms.mydomain.com.au to an external program without loosing the original
> envelope (ie with recipient's userid).

A variation of this, perhaps?:

    http://www.sendmail.org/faq/section3.html#3.29

but instead of delivering to a mailbox, have procmail pipe the message
to the sms program.

BTW, if you want to support plussed addresses you need two rules in the
virtusertable, like this:

    @sms.mydomain.com.au        smsuser+%1
    [EMAIL PROTECTED]      smsuser+%1+%2


Cheers,

John
-- 
>Either too much or not enough drugs...
Hands up, everyone who thought "sendmail.cf".
                 -- Adam J. Thornton
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to