|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re[2]: /dev/null'ing mail without local delivery
From: Noel Jones (njones
megan.vbhcs.org)
Date: Wed Nov 15 2006 - 17:23:05 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 04:51 PM 11/15/2006, Andrew Diederich wrote:
>Victor put me in the right direction. Postfix 2.2 has a
>discard
>service in master.cf. So, in my virutal_alias_maps file I put:
>
>devnull
example.com discard:Go away
>
>and mail to devnull
example.com is accepted, then deleted.
>Nov 15 15:47:57 mxserver postfix/discard[4319]: EBE781884D:
>to=<devnull
example.com>, relay=none, delay=1, status=sent
>(Go away)
Really?? I wouldn't expect that to work at
all. Virtual_alias_maps will only accept one or more email
addresses as a lookup result, not a transport:nexthop, not
a file, not a pipe-to-command.
However, you can add an entry like the one shown above to
your transport_maps, and that will work.
Apparently you added it to both virtual_alias_maps and
transport_maps.
--
Noel Jones
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]