how to block all email sent to outside email account?

Jorge Luis Costinha jlcostinha at
Fri Nov 14 10:33:01 GMT 2008

Hello all,

              i wish to prevent outgoing email to a specific outside 
world account.  I try to use the blacklist feature on MailScanner, but 
only works from incoming email  to be delivery on internal accounts... i 
also try to catch outgoing emails with procmail, without success...

here's what i try to do:

on /etc/procmailrc added:

* To()emailaccount at domain\.com

again this only works with incoming email... not outgoing email.. just 
like mailscanner blacklists...

any ideia on how can i do this? perhaps on MTA level, how?

my system specs:

CentOS 5.2
MailScanner 4.65.3
Sendmail 8.14.1

Thanks in Advance.


-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list