Thanks Viktor. I feel like I am closer, just not quite there yet. I am now getting the following error:
mail for 1.1.1.1 loops back to myself

main.cf:
sender_dependent_default_transport_maps = hash:/etc/postfix/sender_dependent_default_transport_maps


master.cf:
1.1.1.1:smtp inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes -o myhostname=mail.domain1.tld 1.1.1.1:submission inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes -o myhostname=mail.domain1.tld


sender_dependent_default_transport_maps:
@domain1.tld   smtp:1.1.1.1



Not sure what I am doing wrong. Unfortunately a search for pages utilizing sender_dependent_default_transport_maps on postfix.org yielded nothing besides the man page outlining what that variable is for. No examples or tutorials.




On 7/30/2012 12:45 AM, Viktor Dukhovni wrote:
On Mon, Jul 30, 2012 at 12:30:51AM -0500, Russell Jones wrote:

I have been following (or attempting to follow) these two sites I
found that showed how to set this up. They both show domain then
transport:
I don't see this at either site. All I found was "transport:",
with custom transport names defined in master.cf. Read the
tutorials on the Postfix website:

  http://www.postfix.org/documentation.html

and only then search examples that illustrate these. There is a
lot of garbage advice out there, and while the postfix.org tutorials
may pose a steep learning curve in some cases, rare uncaught typos
aside, they are never wrong.

Your initial searches should include "site:www.postfix.org" in the
Google search query.

http://www.ericmichaelstone.com/?p=5359
http://www.zoobey.com/index.php/resources/all-articles-list/210-postfix-outbound-mail-router-by-domain

So both of these are not correct and it should be swapped? If so I
will schedule some downtime again and attempt to get this correct.
If this is my only problem then I am doing good :-)
I can't speak to any other problems, but you certainly must fix
this one by using the correct syntax, as documented at:

  http://www.postfix.org/postconf.5.html#sender_dependent_default_transport_maps
  http://www.postfix.org/postconf.5.html#default_transport
  http://www.postfix.org/transport.5.html

Btw I believe I have thunderbird set to send in plain text now to
this mailing list.
Thanks.


Reply via email to