Re: [exim] Is there any way to silently reject some recipien…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Heiko Schlittermann
Datum:  
To: exim-users
Betreff: Re: [exim] Is there any way to silently reject some recipients?
vitas1@??? <vitas1@???> (Di 10 Jun 2008 08:03:21 CEST):
>
> Hello.
>
> Suppose user1 sends e-mail to user2, user3, user4. I want the following
> conditions to be true:
>
>
> 1. SMTP session looks like completely successful for sender - no errors are
> generated.
>
> 2. user2 and user4 are *silently* dropped from recipients address list - as
> if there were no RCPT TO commands for them.
>
> So only user3 should actually receive this e-mail.
>
> 3. All SMTP headers are kept intact.
>
> I know that the best way to accomplish this task is to create mail rules at
> client side. But unfortunately I can't do this.
>
> So is there any way to do this at Exim's side? Thanks in advance,


I'd do it this way:

/etc/aliases

user1:    :blackhole:
user2:    :blackhole:
...



    Best regards from Dresden
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -