Reject emails to nonexistent addresses?

Rick Gutlon rgutlon at YAHOO.COM
Mon Jan 17 17:25:21 GMT 2005


Chris:

If you are dealing with a manageable and fairly stable
list of users another option is to control this via
sendmail's access.db file. Works great for us smaller
guys :)

The following convention was suggested by someone on
this list awhile back which we implemented quite
successfully:

TO:username1 at yourdomain.com     RELAY
TO:username2 at yourdomain.com     RELAY
TO:yourdomain.com               ERROR:5.1.1:550 User
unknown

The above will accept mail for valid users and reject
all unknowns before the mail is passed to MailScanner.
This cut back on a huge amount of overhead for us. The
last line could be changed from ERROR to DISCARD if
you wanted the unknowns to hit the bit bucket.

One caveat ... if you use the above you have to
account for all aliases access file including misc.
items such as postmaster, abuse, etc.

Just some food for thought ...

--- "Fractal IT Dept." <itdept at FRACTALWEB.COM> wrote:

> Is there an easy way of somehow rejecting emails
destined to nonexistent addresses before they are
processed by MailScanner?



__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list