Simone Marx wrote:
Hi,
I've installed amavisd-new with dual-sendmail configuration
( configured with the support of the documentation found on the amavisd-new
site. )
Now, my problem is: how can I configure sendmail-rx to reject mails
with unknown recipients ?
By now, sendmail-rx accepts all addresses; if a user does not exists,
a bounce will be produced in sendmail-tx... this is a bad behaviour for
my system because I receive an impressive quantity of emails with
dictionary-based recipients, and by now, for all these mails, my system
checks for spam and viruses....
Thank you in advance,
Simone Marx.
Simone,
It's easy, after each entry in the virtualusertable, add the following:
@domain error:5.7.1:550 USER-UNKNOWN
example:
[EMAIL PROTECTED] localusersmith
[EMAIL PROTECTED] localuserbob
@domain.com error:5.7.1:550 USER UNKNOWN
This will reject email during the smtp handshake, resulting in no
bounces. Make sure that the @domain.com, which will match any user not
already defined, is the last entry for that domain.
Cheers,
-Matt
--
-----------------------------------------------------|
Matthew D. Sill : Developer/Analyst
ph# (907) 456-5581 : fax# (907) 456-3111
Engineering & Environmental Internet Solutions, LLC
530 7th Ave. Suite #1 : Fairbanks, AK 99701
-----------------------------------------------------|
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/