Block outgoing mail w/ bad addressing
Mike Kercher
mike at vesol.com
Wed Oct 18 20:08:07 IST 2006
________________________________
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Ed
Wallig
Sent: Wednesday, October 18, 2006 1:55 PM
To: mailscanner at lists.mailscanner.info
Subject: Block outgoing mail w/ bad addressing
Hi,
I have a number of users that seem to get amnesia when trying to
send email to other employees at work. Specifically, they forget what
the email domain extension is assigned to our email system and end up
sending messages that should be going to our domain to another domain
that is not associated w/ our company. Of course, they're getting
bounced but I would like to stop the messages from exiting the system
and bouncing off of this poor admin's email system.
Is there a way to write a rule in MailScanner that would
basically do this:
* Check to see if the message is for a valid user (in
terms of username) for our domain
* Check to see if the message has been addressed with an
improper email domain (username at maildomain .com instead of
maildomain.net, etc)
* If both previous checks are yes, bounce the message
prior to it leaving the MTA
Is this something that can be done w/ MS or should it be
addressed by the MTA (Postfix)?
Thanks,
- Ed
_________________________________
I think this would be a job for the MTA. A simple solution would be to
make your server think that mail destined for domain.NET is for local
delivery as well as domain.COM (or whatever the incorrect TLD is).
Mike
More information about the MailScanner
mailing list