[nylug-talk] problem with mail alias
luke@chipcity.com.au
Sun May 14 22:51:12 EDT 2006
Hi.
14May2006 @ 20:14 Henning Follmann thusly spake
> So here is the question:
> if you want every mail coming to this account being processed by that
> script, why do you test for the TO: header at all.
>
>
> :0
> |/usr/local/foo/bin/progThatResponds
>
>
> That should do it. Even if you add another alias which points to this
> mailbox.
>
> and to keep the messages just put another rule in front of that:
> :0 c
> backup
>
> That would keep a copy in the file named backup.
No. There are emails coming to this account with about 30 different headers.
The difference in this case was that 'jobs at foo' is an alias for 'employment at foo'
coming from a second MTA, whereas the other 29 accounts are directly mailed to
mailserver 1.
Hope that makes sense.
Kr.
Luke.
>
>
>
> Henning
>
> --
> Henning Follmann | hfollmann at itcfollmann.com
> it consultant | www.itcfollmann.com
> _____________________________________________________________________________
> Hire expert Linux talent by posting jobs here :: http://jobs.nylug.org
> The nylug-talk mailing list is at nylug-talk at nylug.org
> The list archive is at http://nylug.org/pipermail/nylug-talk
> To subscribe or unsubscribe: http://nylug.org/mailman/listinfo/nylug-talk
--
............._..
.| .| |.|/.|_ .
.|__.|_|.|\.|_ .
:61 421 276 282:
More information about the nylug-talk
mailing list