Re: [exim] Does the catchall work?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Heiko Schlittermann
Datum:  
To: exim-users
Betreff: Re: [exim] Does the catchall work?
chrille112 <chrille@???> (Do 25 Jun 2009 07:41:35 CEST):
>
> I'm trying to completely remove all e-mails that are not addressed to a valid
> local user. I get a whole lot of spam to my domain, and as it is configured
> now - all emails are bounced back to spammer.


If you are talking about bounces as bounce messages generated by your
system, it's a sub-optimal solution ;-)

>
> I have added a catchall of /dev/null in vexim, and exim main log looks like
> this:
> 2009-06-25 07:31:23 1MJhYN-0006Ct-DH => /dev/null <blah@???>
> R=virtual_domains_catchall T=**bypassed**


The message is dumped to /dev/null, thus lost. If this is, what you
want, then it worked. (But the message passed through the wire into your
system.)

> When I send mail to domain I don't get a bounce. Does that mean that my
> solution worked?


Better solution would be to *reject* mails to unknown users at SMTP time
already. This does not generate bounces in your system, and if the
sender just mistyped your address, there is some good chance, that the
senders system generates a bounce to the sender, informing him/her bout
the mistake. (And the side effect is, that the message gets rejected
already at "RCPT TO", thus not passing any DATA to your system.)

Make sure, that your (local user) router generates an error for unknown
users and that your recipient ACL has a 'require verify = recipient' or
something similar.

    Best regards from Dresden/Germany
    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 -