Christian G. Warden wrote: > On Sun, Dec 11, 2005 at 09:40:08AM +0100, Paul J Stevens wrote: > >>Christian G. Warden wrote: >> >>>On Sat, Dec 10, 2005 at 10:56:14PM +0100, Paul J Stevens wrote: >>> >>> >>>>Eugene Prokopiev wrote: >>>> >>>> >>>>>>If you deliver all email for some domain to dbmail (through >>>>>>dbmail-smtp or lmtp) use dbmail aliases >>>>> >>>>>Why this approach is more effective than using MTA aliases? >>>>> >>>> >>>>It's not a matter of effectiveness. It's required. If a domain is set to be >>>>handled by an external transport, the mta doesn't do aliases. >>> >>> >>>That's not necessarily true, though perhaps "external transport" has >>>special meaning in terms of your MTA. I expand aliases in my MTA and >>>only deliver directly to users using dbmail-smtp. >> >>In which case the domain as such is *not* handled by dbmail - only >>individual users. > > > What do you mean when you say that a domain is handled by dbmail? >
Ok, so this is postfix-centric which is what I use on a daily basis. Consider per domain handling by dbmail: when /etc/postfix/transport contains: mydomain.com dbmail: otherdomain.net dbmail: and where transport 'dbmail:' is defined in /etc/postfix/master.cf as: dbmail unix - - n - - lmtp The MTA will pass incoming email for @mydomain.com addresses to the dbmail mechanism without passing it through alias redirection. Alias redirection is handled by the local delivery agent, and in the above situation email is explicitly handed off to dbmail by avoiding the default local(8) delivery agent. So, this is fundamentally different from a situation where email is passed to local(8) which then - and not until after alias resolving - delivers to dbmail through a procmail filter, a .forward mechanism or something similar. -- ________________________________________________________________ Paul Stevens mailto:[EMAIL PROTECTED] NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED] The Netherlands________________________________http://www.nfg.nl
