[Kolab-devel] Kolabfilter & Distribution list

gelpi@corona.it corona at gelpi.it
Wed Jan 25 09:58:44 CET 2006


Hi,
	on Amavis configuration I uncomment the line

$virus_admin = "virusalert\@$mydomain";

to have virus alert sent to a specific administration E-mail.

But this mail bounce in lmtp because virusalert at mydomain doesn't exist.

It is a distribution list address.

It seems that kolabfilter and/or kolabmailboxfilter doesn't check alias 
or distribution list.

If I understand the correct flow of messages, amavis inject messages on 
postfix port 10025. At this point alias and distribution list are alredy 
checked by postfix, so the problem arise.

This is postfix log.

Here is amavis that inject a mail because it found a virus.

Jan 25 07:40:03 dafnen <info> postfix/smtpd[2273]: connect from 
localhost.localdomain[127.0.0.1]
Jan 25 07:40:03 dafnen <info> postfix/smtpd[2273]: BD37A64017: 
client=localhost.localdomain[127.0.0.1]
Jan 25 07:40:03 dafnen <info> postfix/cleanup[2274]: BD37A64017: 
message-id=<VA24925-07 at dafnen>
Jan 25 07:40:03 dafnen <info> postfix/qmgr[11542]: BD37A64017: 
from=<virusalert at gelpi.it>, size=2323, nrcpt=1 (queue active)
Jan 25 07:40:03 dafnen <info> postfix/smtpd[2273]: disconnect from 
localhost.localdomain[127.0.0.1]

Here is amavsi that inject a second mail to myuser.

Jan 25 07:40:03 dafnen <info> postfix/smtpd[2273]: connect from 
localhost.localdomain[127.0.0.1]
Jan 25 07:40:03 dafnen <info> postfix/smtpd[2273]: D305C6402C: 
client=localhost.localdomain[127.0.0.1]
Jan 25 07:40:03 dafnen <info> postfix/cleanup[2274]: D305C6402C: 
message-id=<VR24925-07 at dafnen>
Jan 25 07:40:03 dafnen <info> postfix/qmgr[11542]: D305C6402C: 
from=<virusalert at gelpi.it>, size=1171, nrcpt=1 (queue active)
Jan 25 07:40:03 dafnen <info> postfix/smtpd[2273]: disconnect from 
localhost.localdomain[127.0.0.1]

Here is amavis that return from input message. The message was discarded 
as decided in amavis configuration.

Jan 25 07:40:03 dafnen <info> postfix/smtp[2275]: 6D9366402B: 
to=<liste at gelpi.it>, relay=127.0.0.1[127.0.0.1], delay=0, stat
us=sent (250 2.7.1 Ok, discarded, id=24925-07 - VIRUS: Worm.SomeFool.P)
Jan 25 07:40:03 dafnen <info> postfix/qmgr[11542]: 6D9366402B: removed



Jan 25 07:40:04 dafnen <info> postfix/smtpd[2290]: connect from 
localhost.localdomain[127.0.0.1]
Jan 25 07:40:04 dafnen <info> postfix/smtpd[2290]: 636C56402B: 
client=localhost.localdomain[127.0.0.1]
Jan 25 07:40:04 dafnen <info> postfix/cleanup[2274]: 636C56402B: 
message-id=<VA24925-07 at dafnen>
Jan 25 07:40:04 dafnen <info> postfix/qmgr[11542]: 636C56402B: 
from=<virusalert at gelpi.it>, size=2762, nrcpt=1 (queue active)
Jan 25 07:40:04 dafnen <info> postfix/smtpd[2290]: disconnect from 
localhost.localdomain[127.0.0.1]
e 550 )

Here is kolabfilter that return on the amavis injected messages

Jan 25 07:40:04 dafnen <info> postfix/smtpd[2290]: connect from 
localhost.localdomain[127.0.0.1]
Jan 25 07:40:04 dafnen <info> postfix/smtp[2286]: BD37A64017: 
to=<virusalert at gelpi.it>, relay=127.0.0.1[127.0.0.1], delay=1,
  status=sent (250 2.6.0 Ok, id=31480-04, from MTA([127.0.0.1]:10026): 
250 Ok: queued as 636C56402B)
Jan 25 07:40:04 dafnen <info> postfix/qmgr[11542]: BD37A64017: removed



Jan 25 07:40:04 dafnen <info> postfix/smtpd[2290]: 969AD64017: 
client=localhost.localdomain[127.0.0.1]
Jan 25 07:40:04 dafnen <info> postfix/cleanup[2274]: 969AD64017: 
message-id=<VR24925-07 at dafnen>
Jan 25 07:40:04 dafnen <info> postfix/qmgr[11542]: 969AD64017: 
from=<virusalert at gelpi.it>, size=1600, nrcpt=1 (queue active)
Jan 25 07:40:04 dafnen <info> postfix/smtpd[2290]: disconnect from 
localhost.localdomain[127.0.0.1]

Here is kolabfilter that return from injected message to my user

Jan 25 07:40:04 dafnen <info> postfix/smtp[2275]: D305C6402C: 
to=<liste at gelpi.it>, relay=127.0.0.1[127.0.0.1], delay=1, stat
us=sent (250 2.6.0 Ok, id=24925-08, from MTA([127.0.0.1]:10026): 250 Ok: 
queued as 969AD64017)
Jan 25 07:40:04 dafnen <info> postfix/qmgr[11542]: D305C6402C: removed

Here is kolabmailboxfilter that return to injected message to administrator.
As you can see distribution list were not checked.

Jan 25 07:40:04 dafnen <info> postfix/pipe[2292]: 636C56402B: 
to=<virusalert at gelpi.it>, relay=kolabmailboxfilter, delay=0, s
tatus=bounced (service unavailable. Command output: Failed to set 
recipient: Invalid response code received from server, cod
e 550 )


Andrea Gelpi




More information about the devel mailing list