On Mon, Jul 30, 2012 at 09:57:10PM -0500, Russell Jones wrote: > 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
You configured Postfix to deliver mail to itself. It dutifully tries to do so and reports a loop as it should. I don't know what your intentions are, but you appear to be stumbling around in the dark without any real understanding of what you're doing. You need to take a step back and think harder about what problem you're really trying to solve with these settings, draw a diagram of the desired mail flow, and think about how the Postfix MTA fits into the desired end-state, and understand how the corresponding configuration settings affect the mail flow. http://www.postfix.org/OVERVIEW.html The No-Starch or the O'Reilly Postfix books will be helpful. Cargo-cult configuration will not get you very far when your needs are specialized, you need to reach a higher level of proficiency. -- Viktor.