how to block all email sent to outside email account?

Jorge Luis Costinha jlcostinha at halla.pt
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:

:0
* To()emailaccount at domain\.com
\dev\nul

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.

Jorge


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20081114/ba32f3fb/attachment.html


More information about the MailScanner mailing list