Reject emails to nonexistent addresses?

Fractal IT Dept. itdept at FRACTALWEB.COM
Mon Jan 17 20:15:25 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Rick Gutlon wrote:

>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 ...
>
>
Rick,

That is a really interesting option. I haven't been able to find
anything in the sendmail documentation that gives "TO:" as an option,
although there is a ton of documentation and perhaps I missed it. Do I
need to rebuild the map file after doing this? Can you provide a web
link that will give further details, as I googled unsuccessfully because
one cannot use "to" as a seach word.

Thanks,
Chris

------------------------ 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