emails won't bounce

Red Squirrel

No Lifer
May 24, 2003
70,407
13,704
126
www.anyf.ca
I've always have this problem, with sendmail, exim, and now postfix. There's something I must be doing wrong but really don't know what.

I have a LAN smtp server and wenever I send an email to an invalid address that the smtp server can't send to, I'm suppost to get a bounce, but don't get it, instead the bounce just bounces back and it creates an exponential mail loop which ends up killing the server.

Here's the log:

May 19 22:11:21 localhost postfix/smtp[410]: 89E85EC1BD: to=<fjdsklfjklds@invaliddomain.com>, relay=mail.invaliddomain.com[64.62.231.136], delay=7, status=bounced (host mail.invaliddomain.com[64.62.231.136] said: 550 5.1.1 <fjdsklfjklds@invaliddomain.com>... User unknown (in reply to RCPT TO command))
May 19 22:11:22 localhost postfix/cleanup[409]: 1BE65EC1BF: message-id=<20050520021122.1BE65EC1BF@mail.icetekshq.ath.cx>
May 19 22:11:22 localhost postfix/qmgr[10276]: 1BE65EC1BF: from=<>, size=2547, nrcpt=1 (queue active)
May 19 22:11:22 localhost postfix/qmgr[10276]: 89E85EC1BD: removed
May 19 22:11:24 localhost postfix/smtp[410]: 1BE65EC1BF: to=<redsquirrel@iceteks.com>, relay=iceteks.com[67.15.0.28], delay=2, status=bounced (host iceteks.com[67.15.0.28] said: 550 Administrative prohibition (in reply to end of DATA command))
May 19 22:11:24 localhost postfix/qmgr[10276]: 1BE65EC1BF: removed


Oh and the way it works is that the accounts I send with are local, but are set to reply to the external ones. So the bounce should be going to the external one, but for some reason it does not go anywhere.