Reject emails to nonexistent addresses?
Chris Conn
cconn at ABACOM.COM
Fri Jan 28 14:54:15 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. ]
Holger Banko wrote:
> I have one quetion to that:
>
>
>>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
>
>
> I tried to add all valid users to accessdb but I have two entries in
> mailertabe. All mails incoming from our mailscanner are redirected to our DMZ
> lotus notes server.
>
> # send all email for a special host to another host or to a specific IP:
> ourdomain.com smtp:[212.95.121.212]
> ourdomain.de smtp:[212.95.121.212]
>
> It seems that this neutralises the accessdb. But when I remove them in
> mailertable, no mails are forwarded anymore.
>
> Dord anybody know where I have to configure this correctly?
>
> Holger
>
Configure your inbound server(s) to be primary MX for your domain. Set
your local domain in the "local-host-names" file, and in your sendmail.mc:
define(`MAIL_HUB', `your.inside.server.com.')
This will allow you to use the access database, yet have local delivery
on another machine.
And your access file, instead of RELAY, change it to OK, as follows
aaa at yourdomain.com OK
bbb at yourdomain.com OK
ccc at yourdomamain.com OK
...
zzz at yourdomain.com OK
To:yourdomain.com ERROR:"550 no such user here"
------------------------ 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