Re: [Exim] <> sender rejection on multiple recipients

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Pete Naylor
Date:  
À: Philip Hazel
CC: Dave C., exim-users
Sujet: Re: [Exim] <> sender rejection on multiple recipients
Philip Hazel wrote...

> On Wed, 24 May 2000, Dave C. wrote:
>
> > Anyway, what I think would work is at SMTP-time, if the sender is <>,
> > and there are more than a configurable number of recipients, then
> > reject the message after the DATA section, with an appropriate log
> > entry - "Rejected - Too many recipients (x) for error message"
> >
> > Is this something that someone is already doing?
>
> No, but it is a plausible idea which I will consider when I get back to
> doing development work.


I like the idea of rejection during the SMTP session too. In the meantime
though, I've found that this snippet from a system filter works well...

if error_message and "${if match {$recipients}{.*,.*}{true}{false}}" is "true"
then
    seen finish
endif


--
Pete Naylor