Halleluiah!!  Pass the Tylenol!
I got it.  I have read it many times, but it finally clicked.  I'm
sure you all aready know what was happening, but for anyone else who
might search these archives, I'll explain.


Main domain:
foo.bar

Aliased domain
foo.bar.uk

So I have [EMAIL PROTECTED], I want mail sent to [EMAIL PROTECTED] to get
delivered to [EMAIL PROTECTED]  This is to happen for all of the users.

I was trying to alias a domain so that I wouldn't need to create a new
alias for all of my users.  The answer was with the domain transport. 
Initially, I had set:
mailbox_transport = dbmail-lmtp:<host>:<port>

Which was all good until I needed to add the domain alias.  From what
I understand, by setting the transport as it is above, postfix will
actually deny all e-mail sent to the domain alias because postfix does
not see the user [EMAIL PROTECTED], it just sees [EMAIL PROTECTED]  So if
you want to decide if DBMail should be used per domain, use the other
exmple given in the dbmail INSTALL.postfix doc.  This way postfix sees
mail come in for foo.bar.uk, sees that it should hand it off to
dbmail-lmtp, and the dbmail takes care of the rest.

Thanks all for your help.

Reply via email to