how to block all email sent to outside email account?

Martin Hepworth maxsec at gmail.com
Fri Nov 14 10:48:43 GMT 2008


2008/11/14 Jorge Luis Costinha <jlcostinha at halla.pt>:
> 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
> ________________________________
> This message has been scanned for viruses and dangerous content by HCC
> MailScanner, and is believed to be clean.
> Server: mx.halla.pt (mailbox)
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>

HI

if you're scanning outgoing email with MailScanner shouldn't be a
problem. Also means you can put in the annoying corporate footer, use
watermarking for anti-joe jobbing etc.


-- 
Martin Hepworth
Oxford, UK


More information about the MailScanner mailing list