Re: [exim] Rejecting on Connect

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Stephen Gran
Date:  
À: exim-users
Sujet: Re: [exim] Rejecting on Connect
On Sat, Feb 26, 2005 at 07:43:05AM -0800, Marc Perkel said:
> Looking for more safe ways to reject on connect. Here's what I'm doing now:
>
> connect ...............


recpient and helo values are not available during the connect acl, but
you must know that, since you have the FUSSP and all.

Also:
> # Deny if too many failed recipients
>
> drop message = REJECTED - Too many failed recipients - count = 
> $rcpt_fail_count
>        log_message = REJECTED - Too many failed recipients - count = 
>        $rcpt_fail_count
>        condition = ${if > {${eval:$rcpt_fail_count}}{3}{yes}{no}}
>        condition = ${run{/etc/exim/scripts/log-file 
>        /var/spool/spam/host-spam.txt $sender_host_address}{yes}{yes}}
>        !verify = recipient/callout=2m,defer_ok,use_sender


I guess you don't believe in mailing lists.
--
--------------------------------------------------------------------------
|  Stephen Gran                  | You are not dead yet.  But watch for    |
|  steve@???             | further reports.                        |
|  http://www.lobefin.net/~steve |                                         |

--------------------------------------------------------------------------