|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re[3]: /dev/null'ing mail without local delivery
From: Andrew Diederich (andrewdied
gmail.com)
Date: Wed Nov 15 2006 - 18:12:35 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello Noel,
Wednesday, November 15, 2006, 4:23:05 PM, you wrote:
> 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.
Whoops! You are, of course, correct. Grep tells me I put that in
/etc/postfix/transport, not virtual.
> Apparently you added it to both virtual_alias_maps and
> transport_maps.
--
Best regards,
Andrew
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]