Re: [exim] Issues with greylisting

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Raymond Jette
日付:  
To: exim-users
題目: Re: [exim] Issues with greylisting
That helped. I'm not further that I was put I am still having issues.
Every connection is rejected even if the 5 minutes have passed. There is
not to much on the internet on this. The configuration seems to be
correct so im not sure why this is not working.

Thanks for any help you can provide.


The following output is from the exim -bh <ip> command:


>>> check condition = ${lookup sqlite {/var/spool/exim/db/greylist.db

SELECT host from resenders WHERE
helo='${quote_sqlite:$sender_helo_name}' AND
host='$sender_host_address';} {1}}
>>>                 =
>>> accept: condition test failed
>>> processing "warn"
>>> check set acl_m_greyident =

${hash{20}{62}{$sender_address$recipients$h_message-id:}}
>>>                           = FRoqdLbSTv7yEg0BgDd2
>>> warn: condition test succeeded
>>> processing "warn"
>>> check set acl_m_greyexpiry = ${lookup sqlite

{/var/spool/exim/db/greylist.db SELECT expire FROM greylist WHERE
id='${quote_sqlite:$acl_m_greyident}';}{$value}}
>>>                            =
>>> warn: condition test succeeded
>>> processing "warn"
>>> check condition = ${if eq {$acl_m_greyexpiry}{} {1}}
>>>                 = 1
>>> check set acl_m_dontcare = ${lookup sqlite

{/var/spool/exim/db/greylist.db INSERT INTO greylist VALUES (
'$acl_m_greyident', '${eval10:$tod_epoch+300}', '$sender_host_address',
'${quote_sqlite:$sender_helo_name}' );}}
>>>                          =
>>> warn: condition test succeeded
>>> processing "defer"
>>> check condition = ${if eq {$acl_m_greyexpiry}{} {1}}
>>>                 = 1
>>> check condition = ${lookup sqlite {/var/spool/exim/db/greylist.db

SELECT expire FROM greylist WHERE
id='${quote_sqlite:$acl_m_greyident}';} {1}}
>>>                 = 1
>>> defer: condition test succeeded
>>> require: condition test deferred

451-Your mail was considered suspicious for the following reason(s):
451-We greylist all mail
451-The mail has been greylisted for 5 minutes, after which it should be
451-accepted. We apologise for the inconvenience. Your mail system
should keep 451-the mail on its queue and retry. When that happens, your
system will be 451-added to the list genuine mail systems, and mail from
it should not be 451-greylisted any more. In the event of problems,
please contact
451 postmaster@???
LOG: 1NVnzX-0002AL-Ht H=mtsrv-ex004.mestekcorp.com (mestek.com)
[10.1.6.49] F=<rjette@???> temporarily rejected after DATA:
Greylisted <<E1NVnzX-0002AL-Ht@???>> from <rjette@???>
for offences: We greylist all mail, quit

-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org]
On Behalf Of Dave Evans
Sent: Monday, January 11, 2010 2:39 PM
To: exim-users@???
Subject: Re: [exim] Issues with greylisting

On Mon, Jan 11, 2010 at 01:52:58PM -0500, Raymond Jette wrote:
> Good afternoon,
> I can't seem to get greylisting setup.


That greylisting implementation works in the DATA phase, not RCPT.

Move "require acl = greylist_mail" into your acl_smtp_data.

--
Dave Evans
http://djce.org.uk/
http://djce.org.uk/pgpkey