Please do not top-post your replies. Thank you. Stan: > > Maybe you should back up a few hundred feet and give us the big > > picture of what exactly you're trying to accomplish here.
On Tuesday 27 September 2011 04:29:32 Thomas Trepper wrote: > thanks a lot for your eMail und sorry for the inconvenience. Here > is the hundred feet back down big picture: :-) Since your followup to Stan's request was simply to repeat this, I will reply here. Do you think that repetition of the same words was helpful to us in understanding you? (It was not.) > Postfix 2.5 on ubuntu 8.04.4. One physical interface with two > public IPs. Multiple instance support was greatly improved in Postfix 2.6, as Wietse already mentioned upthread. If in fact you do need multiple instances, you should upgrade to the latest stable release. If you need this for some kind of sender reputation protection attempt, that feature was added in Postfix 2.7. > eth0 -> 10.0.0.1 -> needs relay (with auth) for abc.com, def.com, > ghi.com to myIp.dyndns.org > > eth0 -> 10.0.0.2 -> needs relay (with auth) for * (all) to > wp180.webpack.hosteurope.de (runs later on localhost only, > therefore no open relay) 1. Do not use real domain names as examples. In fact, someone who lacks understanding of mail routing, which seems to describe you, should not mung domain names nor hostnames at all. 2. 10/8 is an RFC 1918 netblock, not what should ever appear on the public Internet. Is that another example, or is there some kind of NAT taking place? 3. Are you talking about sender or recipient addresses? 4. (should be 0 because it's the most important point) WHY? What are you trying to accomplish with this? If you would have answered Stan's question the first time around, we wouldn't have to go through all this again. > I currently have: > > master.cf: > smtp inet n - - - - smtpd <- > uses main.cf if think You think? BTW, that is chrooted, something you probably do not need (and likely to trip you up later.) http://www.postfix.org/DEBUG_README.html#no_chroot > 127.0.0.1:25 inet n - n - - smtpd > -o content_filter=smtp:[wp180.webpack.hosteurope.de:25] > -o smtp_sasl_auth_enable=yes > -o smtp_sasl_password_maps=hash:/etc/postfix/sasl_gr_smarthost smtp(8)-specific settings are not applicable to smtpd(8) instances. > -o relayhost=wp180.webpack.hosteurope.de:25 Likewise, relayhost cannot be used as an option to smtpd. > main.cf: No. This is not the proper way to post to this list. http://www.postfix.org/DEBUG_README.html#mail > myhostname = mx0.mydomain.com > myorigin = $myhostname > mydestination = > relay_domains = hash:/etc/postfix/transport > transport_maps = hash:/etc/postfix/transport Dangerous to have relay_domains share a map with transport_maps. If later you get the idea to make a special transport to gmail.com or hotmail.com, suddenly your Postfix thinks it is the final destination for those domains! > relayhost = myIp.dnsalias.org Above you said dyndns.org -- your munging is inconsistent. This is likely to make it impossible to help you. [snip] > Is this setup possible with postfix? I really do not know. I suppose that what you *need* to do can be done, but since I (and Stan and probably most of the list) don't understand the high-level goal, I can't help much except to point out a few obvious problems, as I just did. -- Offlist mail to this address is discarded unless "/dev/rob0" or "not-spam" is in Subject: header