* (Barry A. Warsaw) | >>>>> "BAW" == Barry A Warsaw <[EMAIL PROTECTED]> writes: | | BAW> I figured out how to support Postfix-style virtual domains[1] | BAW> in a similar manner to the main aliases file, but I'm too | BAW> tired to finish implementing it tonight. | | I'm about to check this stuff in, but it's a little kludgy. I may not | entirely understand Postfix-style virtual domains, so let me ask this: | | Let's say I have two domains, er, dom1.com and dom2.com, and MX for | both of these point to the same IP. It seems to me that I have to | have at least one of them in the mydestinations variable in main.cf.
No, you don't have to have any of them in mydestination in main.cf: # The mydestination parameter specifies the list of domains that this # machine considers itself the final destination for. That does not # include domains that are hosted on this machine. Those domains are # specified elsewhere (see sample-virtual.cf, and sample-transport.cf). | It seems like there's no way to prevent sending a message to | [EMAIL PROTECTED] working exactly the same as | [EMAIL PROTECTED] This is because list-in-dom2 must have an | entry both in the aliases file and the virtual file (with the virtual | file entries pointing to the aliases entries), and the alias entries | always work for mydestination domains. Maybe other Postfix experts | can help with this, but to me, it's not worth worrying about. I've usually hacked around this by doing something like -------------------- snip snip -------------------- dom2.com IGNORE # For breaking bounce loops to the site list owners [EMAIL PROTECTED]: mailman-loop # STANZA START: testlist # CREATED: Fri Nov 23 18:39:34 2001 [EMAIL PROTECTED]: com-dom2-testlist [EMAIL PROTECTED]: com-dom2-testlist-admin [EMAIL PROTECTED]: com-dom2-testlist-bounces [EMAIL PROTECTED]: com-dom2-testlist-join [EMAIL PROTECTED]: com-dom2-testlist-leave [EMAIL PROTECTED]: com-dom2-testlist-owner [EMAIL PROTECTED]: com-dom2-testlist-request # STANZA END: testlist -------------------- snip snip -------------------- So that all aliases in the dom2.com domain is on the form com-dom2-$ADDRESS. afaik (and see), this is one of the better ways of avoiding name clashes. -- Tollef Fog Heen Axiom #1: You Can't Win _______________________________________________ Mailman-Developers mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-developers
