I am getting numerous reports on bounce backs when people send email to my @gentoo.org address. I also get kicked off of my mailing lists I subscribe too because of bounce backs.
Hello, could you provide some sample headers of bounced mails? It is hard to wildly guess what the problem may be. Thanks!
Created attachment 273097 [details] sample headers of bounced mails Here you go.
Created attachment 273445 [details] Boucebacks from mailing lists (e.g. from gentoo-project) I get these from almost all of the mailing lists I subscribe too. This one is from gentoo-project.
Created attachment 275939 [details] Another example from gentoo-project
Ok, I traced it down. The problem is NOT in postfix or anything on the main server side... It's in mpagano's procmail. You should NOT be using any procmail return codes that affect the result returned by postfix. Specifically, all of the 'EXITCODE=67' rules are the problem, and need to be removed from the procmailrc. EXITCODE 75 is the only one that should be used, and only when mail isn't delivered and you would like postfix to try again. $ grep 67 /usr/include/sysexits.h #define EX_NOUSER 67 /* addressee unknown */ $ egrep '86E342AC261:.*(to=<mpagano|to=<robbat2|removed|from=<|message-id=|client=)' smtp.log.1 Jul 14 02:47:31 woodpecker postfix/smtpd[21487]: 86E342AC261: client=localhost[127.0.0.1] Jul 14 02:47:31 woodpecker postfix/cleanup[21825]: 86E342AC261: message-id=<000d01cc41d0$5c069500$6400a8c0@polynomiala> Jul 14 02:47:31 woodpecker postfix/qmgr[21447]: 86E342AC261: from=<polynomiala@millhorn.com>, size=2151, nrcpt=10 (queue active) Jul 14 02:47:31 woodpecker postfix/local[22264]: 86E342AC261: to=<robbat2@gentoo.org>, relay=local, delay=0.41, delays=0.18/0.02/0/0.21, dsn=2.0.0, status=sent (delivered to maildir) Jul 14 02:47:32 woodpecker postfix/local[22080]: 86E342AC261: to=<mpagano@gentoo.org>, orig_to=<kernel@gentoo.org>, relay=local, delay=0.74, delays=0.18/0.02/0/0.54, dsn=5.1.1, status=bounced (user unknown) Jul 14 02:47:32 woodpecker postfix/local[22257]: 86E342AC261: to=<robbat2@gentoo.org>, orig_to=<releng@gentoo.org>, relay=local, delay=1, delays=0.18/0.02/0/0.85, dsn=2.0.0, status=sent (delivered to maildir) Jul 14 02:47:32 woodpecker postfix/qmgr[21447]: 86E342AC261: removed (plus it was sent to many other users). $ grep 'Jul 14 02:47:32' /home/mpagano/procmail.log -A3 -B2 procmail: Extraneous locallockfile ignored matched on rule: SPAM flag is YES From polynomiala@millhorn.com Thu Jul 14 02:47:32 2011 Subject: =?koi8-r?B?8NLPxMHNIDLIINzUwdbOz8Ug2sTBzsnFIM3F1NLPIO3B0tjJzsEg8s/d?= Folder: .spam/new/1310611652.22530_1.woodpecker 2205 procmail: Extraneous locallockfile ignored
Robbat, thanks. I owe you a beer.