著者: Ian Eiloart 日付: To: Dan_Mitton, exim-users 題目: Re: [exim] Looking for Mail::SPF (2.002) Exim acl example
--On 9 January 2007 14:07:38 -0800 Dan_Mitton@??? wrote:
> The older Mail::SPF::Query perl module also included a simple Exim acl
> example, the newer Mail::SPF does not. Does someone have an example acl
> that might include checking at the HELO, MAIL commands in addition to
> RCPT and DATA commands.
>
> I'd also like some options - 'deny' or 'drop'? If a message fails SPF
> checking at the HELO or MAIL level, why should I not just 'drop' the
> connection rather then 'deny' the message?
If the spf failure is due to a configuration error made by someone that you
do want to communicate, then dropping the connection ensures that the
sender will think that the problem is with your server. If you return a 5xx
error with a helpful message, then they'll be able to resolve the problem
quicker.
> Thanks,
>
> Dan Mitton