On Wed, Feb 18, 2009 at 08:30:47PM -0500, Sahil Tandon wrote: > On Wed, 18 Feb 2009, Travis wrote: > > > I recently started bouncing email because (it appears) I had a mixture > > of space-indentation and tab-indentation on the multi-line $mydestinations > > line. > > Show logs and output of the following command: > > % postconf mydestination
old: $ postconf mydestination mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, www.$mydomain, ntp.$mydomain, mx.$mydomain, smtp.$mydomain vpn, mail.vpn, www.vpn, ntp.vpn, mx.vpn, open.vpn, mail.open.vpn, www.open.vpn, ntp.open.vpn, tribeside.com, mail.tribeside.com, psychonautics.org, mail.psychonautics.org, kingofoakhill.com new: $ postconf mydestination mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, www.$mydomain, ntp.$mydomain, mx.$mydomain, smtp.$mydomain, vpn, mail.vpn, www.vpn, ntp.vpn, mx.vpn, open.vpn, mail.open.vpn, www.open.vpn, ntp.open.vpn, tribeside.com, mail.tribeside.com, psychonautics.org, mail.psychonautics.org, kingofoakhill.com $ diff -u /etc/postfix/main.cf{,~} --- /etc/postfix/main.cf Wed Feb 18 17:42:31 2009 +++ /etc/postfix/main.cf~ Wed Feb 18 17:30:00 2009 @@ -717,12 +717,12 @@ mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, www.$mydomain, ntp.$mydomain, - mx.$mydomain, smtp.$mydomain, - vpn, mail.vpn, www.vpn, ntp.vpn, mx.vpn, + mx.$mydomain, smtp.$mydomain + vpn, mail.vpn, www.vpn, ntp.vpn, mx.vpn, open.vpn, mail.open.vpn, www.open.vpn, ntp.open.vpn, tribeside.com, mail.tribeside.com, psychonautics.org, mail.psychonautics.org, - kingofoakhill.com + kingofoakhill.com Oddly, the columns don't line up in the diff but they do line up in my config file now. And I went over the whitespace before each line to verify there aren't any tabs in there now. And the lines marked with + above had two tabs before them in the old config (/etc/postfix/main.cf~) Here's the SMTP errors from a typical bounce from that period: >From: mailer-dae...@yahoo.com >Date: February 16, 2009 8:19:10 PM CST >To: roots.of.un...@sbcglobal.net >Subject: failure notice > >Hi. This is the qmail-send program at yahoo.com. >I'm afraid I wasn't able to deliver your message to the following >addresses. >This is a permanent error; I've given up. Sorry it didn't work out. > ><tra...@subspacefield.org>: >83.149.117.8 does not like recipient. >Remote host said: 554 5.7.1 <tra...@subspacefield.org>: Relay access >denied >Giving up on 83.149.117.8. Hmm, upon looking more carefully at this, I can't see where the bounce messages are in the log files... and the IP address above is my secondary mail server. It looks like my main mail server must have been down, or MTAs were delivering to my secondary MX record for some reason, and it was not configured to relay for those domains. My apologies; tabs may not have been the issue; it appears my backup MX is not configured correctly, and perhaps I had left postfix down for some period of time. -- Obama Nation | It's not like I'm encrypting... it's more like I've developed a massive entropy deficiency | http://www.subsubpacefield.org/~travis/ If you are a spammer, please email j...@subspacefield.org to get blacklisted.