AW: [Exim] Whitelist to

Top Pagina
Delete this message
Reply to this message
Auteur: Matthias Lewandowski
Datum:  
Aan: 'Alan J. Flavell'
CC: 'exim-users@exim.org'
Onderwerp: AW: [Exim] Whitelist to
or you split the mail up for every recipient
with an extra router/transport:

split_router:
driver = accept
transport = split_transport
condition = "${if and { {!eq {$received_protocol}{splitted}} {!eq
{$received_protocol}{local-bsmtp}}}{1}{0}}"

as first router


split_transport:
    driver = pipe
    command = /usr/bin/exim -oMr splitted  -bS
    use_bsmtp = true


or something like that...but I don't know how it could be
combined with your other stuff (SA, exiscan...)

Mit freundlichen Grüßen
Matthias Lewandowski
Systemtechnik Internet


Telefon +49 (30) 59 00 69-00
Telefax +49 (30) 59 00 69-99
CBXNET combox internet service gmbh
Potsdamer Strasse 96 - D-10785 Berlin
Amtsgericht Berlin-Charlottenburg - HRB 71171
Geschäftsführer: Lutz Treutler

<http://www.cbxnet.de> - <mailto:support@cbxnet.de>




> -----Ursprüngliche Nachricht-----
> Von: Alan J. Flavell [mailto:a.flavell@physics.gla.ac.uk]
> Gesendet: Freitag, 12. Dezember 2003 18:34
> An: Exim-Users (E-mail)
> Betreff: Re: [Exim] Whitelist to
>
>
> On Fri, 12 Dec 2003, Chris Edwards wrote:
>
> > | I know lots of you use exim, spamassassin and exiscan so
> maybe one of
> > | you could answer this question. If I decide to tell
> exiscan to reject
> > | any message with a spam score over 20 what happens if one of the
> > | addressees is in the "whitelist_to" part of local.cf in
> spamassassin.
> > | Would that user still get a copy even if the spam score
> was over 20, and
> > | if so would it also go to all the other recipients in the envelope
> > | header ?
> >
> > Scanning at SMTP-time its all or nothing.
>
> By the time it's reached SA, indeed it is.
>
> One way to handle spam rating for different kinds of addressee, is to
> classify the recipients at RCPT time. (This has been discussed on the
> list before). If the first recipient is a spam-lover, then you only
> accept the mail for other spam-lovers, and issue a defer for any
> spam-haters; the offering MTA is supposed to retry later for the ones
> which you have deferred.
>
> That way, you can apply different rejection and spam-rating rules to
> two kinds of recipient (or even more, if you want to!). A flag set
> e.g in an additional header can be tested in SA, since SA doesn't have
> access to the envelope addresses.
>
> Conversely, when the first recipient is a spam-hater you can defer all
> the spam-lovers. This doesn't quite work as advertised - since some
> spammers won't bother to retry after a defer, but it's good enough for
> most practical purposes, I'd say.
>
> --
>
> ## List details at

http://www.exim.org/mailman/listinfo/exim-users Exim details at
http://www.exim.org/ ##