Re: [exim] feature request: new local scan return value

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Renaud Allard
Ημερομηνία:  
Προς: Eduardo Diaz Comellas
Υ/ο: exim-users
Αντικείμενο: Re: [exim] feature request: new local scan return value


Eduardo Diaz Comellas wrote:
> Hi!
>
> I would find very useful to be able to reject and close a connection
> depending on the result of a local scan action. I my setup this would
> be used to close a connection after a high score spam is received, not
> allowing the sender to push more messages though that connection.
>
> To achieve this, it would be necessary to add a new return value to the
> local scan function, something like
>
> LOCAL_SCAN_REJECT_CLOSE
>
> or
>
> LOCAL_SCAN_CLOSE
>
> which has the effect of closing the connection, posibly after rejecting
> the message.
>
> Regards.
>


Can't you just use the verb drop on your ACL?

http://www.exim.org/exim-html-current/doc/html/spec_html/ch40.html#SECID200

drop: This verb behaves like deny, except that an SMTP connection is
forcibly closed after the 5xx error message has been sent.


--
010100100110010101101110011000010111010101100100
010000010110110001101100011000010111001001100100