[milters] Archive

Lists Index Date Thread Search

Article: 1854
From: Willi Burmeister
Date: 2008-04-15 08:28:40 -0400
Subject: milter-sender greylists unknown local users

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

Hi,

I'm on my way to reorganise my mailsystem a bit. Due to this I have a
much closer look on the logs and on the cached entries from milter-sender.

So I was surprised to find unknown local users greylisted:

----------------------------------------------------------------------
# strings -a sender.db | egrep ',jose@'
grey,91.77.186.58,dwskippackridgem@skippackridge.com,jose@cs.uni-kiel.de
grey,85.192.147.175,dwshelbycountytrusteem@shelbycountytrustee.com,jose@cs.uni-kiel.de
grey,90.162.132.61,mkelland@van-lammeren.com,jose@cs.uni-kiel.de
grey,212.248.125.6,adrianawolf@pervalidus.net,jose@cs.uni-kiel.de
grey,90.162.132.61,mkelland@van-lammeren.com,jose@cs.uni-kiel.de
grey,194.67.131.146,dwporshim@porshi.com,jose@cs.uni-kiel.de
...
grey,209.90.142.186,annihilationqj1@bellabikinis.com,jose@cs.uni-kiel.de
grey,89.16.106.145,pmlundmark@dragomano.com,jose@cs.uni-kiel.de
grey,91.77.186.58,dwskippackridgem@skippackridge.com,jose@cs.uni-kiel.de
grey,213.131.33.62,dwplyformsm@plyforms.com,jose@cs.uni-kiel.de
grey,62.162.100.162,ferenczy@hainal-konyi.com,jose@cs.uni-kiel.de
----------------------------------------------------------------------

I enabled full logging for milter-sender to find out what happend

----------------------------------------------------------------------
Apr 15 12:11:50 eden milter-sender[7381]: 00004 m3FABZOj007433:
recipient=<jose@cs.uni-kiel.de> access=? skipConnection=0 skipRecipient=0
Apr 15 12:11:50 eden milter-sender[7381]: 00004 m3FABZOj007433: enter mxCallAhead(11ed28)
rcpt={jose, , local}
Apr 15 12:11:50 eden milter-sender[7381]: 00004 m3FABZOj007433: cache get key={jose}
value={0, -1, 0} rc=-1
Apr 15 12:11:50 eden milter-sender[7381]: 00004 m3FABZOj007433: local recipient, skipping
call-ahead
Apr 15 12:11:50 eden milter-sender[7381]: 00004 m3FABZOj007433: exit  mxCallAhead(11ed28)
rcpt={jose, , local} rc=0
Apr 15 12:11:50 eden milter-sender[7381]: cache get
key={grey,62.162.100.162,ferenczy@hainal-konyi.com,jose@cs.uni-kiel.de} value={0 -1 0}
rc=-1
Apr 15 12:11:50 eden milter-sender[7381]: no grey listing for
{grey,62.162.100.162,ferenczy@hainal-konyi.com,jose@cs.uni-kiel.de}
Apr 15 12:11:50 eden milter-sender[7381]: cache put
key={grey,62.162.100.162,ferenczy@hainal-konyi.com,jose@cs.uni-kiel.de} value={48047f66 -3
0} rc=0
Apr 15 12:11:50 eden milter-sender[7381]: 00004 m3FABZOj007433: reply 450 4.7.1 from
<ferenczy@hainal-konyi.com> via [62.162.100.162] to <jose@cs.uni-kiel.de>
denied for 300 seconds
----------------------------------------------------------------------

milter-sender knows it's a local recipient but is not checking whether
this user really exists.

How can I ensure these check for local accounts? 

How about first checking for existing users and only do callback if
this didn't fail?

Maybe I'm missing something here


Any help is appreciated

Willi

P.S. I'm using milter-sender/1.16.916 and LibSnert/1.66.951


Lists Index Date Thread Search