[Kolab-devel] amavis not bouncing to the good place

Alain Spineux aspineux at gmail.com
Thu Jul 19 23:57:32 CEST 2007


A bug,  I thing :-)

Here it is:

I have a user alain.spineux at n610.asxnet.loc and an alias asx at n610.asxnet.loc.
When I send and email to foo.bar at n610.asxnet.loc from
asx at n610.asxnet.loc  (the alias)
with an attachement amavis will bounce ( a ZIP file containing an
.exe), the bounce
fail !
This is because amavis send the bounce to the wrong place. It use the 10026 port
where the alias mapping is desabled and then asx cann't be mapped to
alain.spineux !

I changed notification destination in amavisd.conf to
$notify_method  = 'smtp:localhost:25;
I got correct deliveries.

Regards

Alain

Here is the postfix log


Jul 19 23:30:36 n610.asxnet.loc <info> postfix/smtpd[5448]: connect
from n610.asxnet.loc[127.0.0.1]
Jul 19 23:30:36 n610.asxnet.loc <info> postfix/smtpd[5448]:
372257EC70: client=n610.asxnet.loc[127.0.0.1]
Jul 19 23:30:36 n610.asxnet.loc <info> postfix/cleanup[5450]:
372257EC70: message-id=<3996.192.168.23.23.1184880636.squirrel at n610.asxnet.loc>
Jul 19 23:30:36 n610.asxnet.loc <info> postfix/qmgr[4711]: 372257EC70:
from=<asx at n610.asxnet.loc>, size=1325160, nrcpt=1 (queue active)
Jul 19 23:30:36 n610.asxnet.loc <info> postfix/smtpd[5448]: disconnect
from n610.asxnet.loc[127.0.0.1]
Jul 19 23:30:36 n610.asxnet.loc <info> postfix/smtpd[5453]: connect
from n610.asxnet.loc[127.0.0.1]
Jul 19 23:30:36 n610.asxnet.loc <info> postfix/smtpd[5453]:
B01377EC72: client=n610.asxnet.loc[127.0.0.1]
Jul 19 23:30:36 n610.asxnet.loc <info> postfix/cleanup[5455]:
B01377EC72: message-id=<3996.192.168.23.23.1184880636.squirrel at n610.asxnet.loc>
Jul 19 23:30:37 n610.asxnet.loc <info> postfix/qmgr[4711]: B01377EC72:
from=<asx at n610.asxnet.loc>, size=1325344, nrcpt=1 (queue active)
Jul 19 23:30:37 n610.asxnet.loc <info> postfix/smtpd[5453]: disconnect
from n610.asxnet.loc[127.0.0.1]
Jul 19 23:30:37 n610.asxnet.loc <info> postfix/pipe[5451]: 372257EC70:
to=<foo.bar at n610.asxnet.loc>, relay=kolabfilter, delay=1, status=sent
(n610.asxnet.loc)
Jul 19 23:30:37 n610.asxnet.loc <info> postfix/qmgr[4711]: 372257EC70: removed
Jul 19 23:30:38 n610.asxnet.loc <info> postfix/smtpd[5459]: connect
from n610.asxnet.loc[127.0.0.1]
Jul 19 23:30:38 n610.asxnet.loc <info> postfix/smtpd[5459]:
7047B7EC70: client=n610.asxnet.loc[127.0.0.1]
Jul 19 23:30:38 n610.asxnet.loc <info> postfix/cleanup[5455]:
7047B7EC70: message-id=<VS04292-01 at n610.asxnet.loc>
Jul 19 23:30:38 n610.asxnet.loc <info> postfix/qmgr[4711]: 7047B7EC70:
from=<>, size=5704, nrcpt=1 (queue active)
Jul 19 23:30:38 n610.asxnet.loc <info> postfix/smtpd[5459]: disconnect
from n610.asxnet.loc[127.0.0.1]
Jul 19 23:30:38 n610.asxnet.loc <info> postfix/smtp[5456]: B01377EC72:
to=<foo.bar at n610.asxnet.loc>, relay=127.0.0.1[127.0.0.1], delay=2,
status=sent (250 2.5.0 Ok, id=04292-01, BOUNCE)
Jul 19 23:30:38 n610.asxnet.loc <info> postfix/qmgr[4711]: B01377EC72: removed
Jul 19 23:30:38 n610.asxnet.loc <info> postfix/pipe[5461]: 7047B7EC70:
to=<asx at n610.asxnet.loc>, relay=kolabmailboxfilter, delay=0,
status=bounced (service unavailable. Command output: Failed to set
recipient: Mailbox unknown.  Either there is no mailbox associated
with this name or you do not have authorization to see it. 5.1.1 User
unknown, code 550 )
Jul 19 23:30:38 n610.asxnet.loc <info> postfix/qmgr[4711]: 7047B7EC70: removed


--
Alain Spineux
aspineux gmail com
May the sources be with you




More information about the devel mailing list