On 5/10/2011 3:17 μμ, Shane Chrisp wrote:
Hi Nick,Thank you very much for your reply. From that setuo I can see how to setup a catchall with a minor change to our current setup.The domain to domain alias is a way of saying that we have a real domain of dom1.tld and another domain od dom2.tld, but we only configure accounts under dom1. Anything send to dom2 gets looked up against dom1 for valid accounts. This is something that is done in mysql with table joins. It is not that import to support this as we could get around this by using aliases on those domains as a work around, but I am sure that there is a way of doing it, I just can not seem to work out a way of doing.Again, many thanks for your reply, it is very helpful indeed. Regards Shane
I have no answer to this problem, I am afraid.First, according to http://www.postfix.org/virtual.5.html, you could add for such a domain (e.g. aliased.example.com) an LDAP entry with mailacceptinggeneralid = aliased.example.com (no maildrop needed). This would be enough to receive mail for the domain.
Then, you would need to add virtual aliases for the domain, which is what you want to avoid (understandably).
I guess you could create a custom (e.g. ldap:/etc/postfix/aliased.example.com.cf) file to virtual_alias_maps, which might use a specially-crafted filter?
Read http://www.postfix.org/virtual.5.html and http://www.postfix.org/ldap_table.5.html to get some guidance.
I hope someone more experienced with Postfix and LDAP can provide a more detailed answer.
Nick
smime.p7s
Description: S/MIME Cryptographic Signature