| |||||||||||||||||||||||||||||||
|
> Another problem > popped up with my setup which is also not documented. What I was trying > to do is specify some local: exceptions in mailbox_transport_maps and > then send everything else to lmtp via mailbox_transport. Problem is you > can not specify local: in a mailbox_transport_maps map. The result is an > endlessly looping postfix, and the loop detection does not work either > as the headers are not rewritten. What I did was this: > > in main.cf: > ----------- > # Explicitly route local mail to dbmail > mailbox_transport_maps = regexp:/etc/postfix/dbmail_delivery > > in dbmail_delivery: > ------------------- > # Allow mail for the system accounts to be stored in the system mail spools > !/^ccs$|^dominus$/ dbmail-lmtp:localhost:24 > > Although rather clumsy, this guarantees that admin mail will keep > flowing even if dbmail is completely wiped from the system. Let me know > if there is a saner way to do it. Yes, you either need to use regexp tables along the above lines, or redirect to a clone of the local transport in which mailbox_transport_maps and mailbox_transport are disabled via "-o ..." options in master.cf. Perhaps local(8) should support special handling of ":" as an RHS in mailbox_transport_maps, allowing you to use: mailbox_transport_maps = hash:/some/table, static:def-transport:def-nexthop Then you could "white-out" the default by using entries of the form /some/table luser : This feature does not yet exist. I am not sure whether if built it should only suppress lookups in additional tables (natural), or also cause to be ignored a fixed setting of mailbox_transport (judgment call). -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majordomo?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com