Greylisting and Scalix

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

robertsiedl
Posts: 23
Joined: Wed Mar 09, 2005 7:52 am
Location: Austria
Contact:

Greylisting and Scalix

Postby robertsiedl » Fri Jul 14, 2006 1:44 am

Hi,

I have on my suse linux enterprise server installed scalix, sendmail and greylisting. Scalixserver, sendmail an greylisting are running. But greylisting, don´t work, because greylisting say, that the email come from local. I see the /var/log/mail:

Jul 14 06:54:22 mail sendmail[29837]: k6E4q6FD029837: from=hugo@hugo.de, size=238, class=0, nrcpts=1, msgid=<7647.10001152852862.mail.mioco.at>, proto=ESMTP, relay=root@localhost
Jul 14 06:54:23 mail milter-greylist: k6E4sMYR029838: addr = localhost[127.0.0.1], from = <hugo@hugo.de>, rcpt = <robert@mioco.at>
Jul 14 06:54:23 mail milter-greylist: created: 127.0.0.1 from <hugo@hugo.de> to <robert@mioco.at> delayed for 300s
Jul 14 06:54:23 mail milter-greylist: k6E4sMYR029838: addr localhost[127.0.0.1] from <hugo@hugo.de> to <robert@mioco.at> delayed for 00:05:00
Jul 14 06:54:23 mail sendmail[29838]: k6E4sMYR029838: Milter: to=<robert@mioco.at>, reject=451 4.7.1 Greylisting in action, please come back in 00:05:00
Jul 14 06:54:23 mail sendmail[29837]: k6E4q6FD029837: to=robert@mioco.at, delay=00:02:15, xdelay=00:00:01, mailer=relay, pri=30238, relay=[127.0.0.1] [127.0.0.1], dsn=4.7.1, stat=Deferred: 451 4.7.1 Greylisting in action, please come back in 00:05:00
Jul 14 06:54:23 mail sendmail[29838]: k6E4sMYR029838: from=<hugo@hugo.de>, size=238, class=0, nrcpts=0, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Jul 14 06:57:10 mail milter-greylist: dumping 1 modifications
Jul 14 06:57:10 mail milter-greylist: dumping 3 records in 0.003161s
Jul 14 07:24:23 mail milter-greylist: k6E5OMYR029889: addr = localhost[127.0.0.1], from = <hugo@hugo.de>, rcpt = <robert@mioco.at>
Jul 14 07:24:23 mail milter-greylist: removed: 127.0.0.1 from <hugo@hugo.de> to <robert@mioco.at>
Jul 14 07:24:23 mail milter-greylist: k6E5OMYR029889: addr 127.0.0.1 from <hugo@hugo.de> rcpt <robert@mioco.at>: autowhitelisted for 72:00:00
Jul 14 07:24:23 mail sendmail[29889]: k6E5OMYR029889: from=<hugo@hugo.de>, size=467, class=0, nrcpts=1, msgid=<7647.10001152852862.mail.mioco.at>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Jul 14 07:24:23 mail sendmail[29889]: k6E5OMYR029889: Milter add: header: X-Greylist: Delayed for 00:30:00 by milter-greylist-2.1.5 (mail.mioco.at [127.0.0.1]); Fri, 14 Jul 2006 07:24:23 +0200 (CEST)
Jul 14 07:24:23 mail sendmail-client[27196]: k6E4q6FD029837: to=robert@mioco.at, delay=00:32:15, xdelay=00:00:01, mailer=relay, pri=120238, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k6E5OMYR029889 Message accepted for delivery)
Jul 14 07:24:23 mail sendmail[29894]: k6E5OMYR029889: to=<robert@mioco.at>, delay=00:00:00, xdelay=00:00:00, mailer=scalix, pri=120467, relay=mail, dsn=2.0.0, stat=Sent (Ok)
Jul 14 07:27:10 mail milter-greylist: dumping 2 modifications
Jul 14 07:27:10 mail milter-greylist: dumping 3 records in 0.000818s

Greylisting don´t accecpt the first email. This is OK. But Greylisting think this email come from localhost. So sendmail on the scalixhost give this email in his queue and try this email in 5 minutes again. And in 5 minutes Greylisting say, that´s OK and allow this email. The sender server, don´t noticed that a receiver server have greylisting although the sender server this email must give in the queue.

Have everyone a idea?

thank you

robert

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Jul 14, 2006 7:08 am

This is because sendmail is not listening on the external IP. You need to receive on the external IP with sendmail and then greylisting should work ok. To change this, set the port for Scalix to 587 in smtpd.cfg:

LISTEN_PORT=587

omoff -d0 smtpd
service sendmail stop
omon smtpd
service sendmail start

lsof -i tcp:25

Cheers,

Sascha.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron