Re: [exim] *sigh* luser issues..

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Stephen Gran
Datum:  
To: Exim-Users (E-mail)
Neue Treads: Selective spam rejetion, was Re: [exim] *sigh* luser issues.., [exim] SSL Certificates and EXIM
Betreff: Re: [exim] *sigh* luser issues..
On Wed, Oct 06, 2004 at 01:57:04PM +0100, Ron McKeating said:
> On Wed, 2004-10-06 at 13:45, Eric Kuzniar wrote:
> > No need to do this in exim, just set em up in your local.cf config file 
> > for SpamAssassin.
> > whitelist_to    guywhowantsspam@???

> >
> This is nice if you don't mind delivering it to everybody else who it is
> addressed to who dosn't want the spam. AFAIK whitelist_to works on the
> email itself and if one of the recipients is whitelisted, then all
> recipients get it.
>
> I don't know if it is different with SA 3


/dev/null the rest, or write an autoresponder style router/transport
that saves the copy for those who don't want the spam to a special
folder and lets them know spam has been stopped and is available for
review if they would like it.

Or (maybe best) write a rcpt acl that only allows mail for spamlover@ to
come in by itself.

set acl_m0 = spamlover if $local_part in /etc/exim/spamlovers
set acl_m1 = spamlover if $local_part in /etc/exim/spamlovers

defer if $rcpt_count > 1 && acl_m1 = spamlover && acl_m0 = spamlover

(.. do some stuff .. )

set acl_m0 = normal

That way (I think) the single rcpt to for spamlover@??? gets
deferred, and everybody else gets their email as usual. You have acl_m1
available for the life of the transaction if you want to do anything
else with it, and acl_m0 contains the value of the last recipient's
preference for working with.

You'll have to do the hard work of writing the acl's though :)
--
--------------------------------------------------------------------------
|  Stephen Gran                  | I suppose that in a few hours I will    |
|  steve@???             | sober up. That's such a sad thought. I  |
|  http://www.lobefin.net/~steve | think I'll have a few more drinks to    |
|                       | prepare myself.                         |

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