Yet another "disable outgoing scan" question

Julian Field MailScanner at
Mon Feb 22 16:22:31 GMT 2010

You can now use "" and other such fun things 
in your ruleset lines, so you don't have to specify raw numeric IP 
addresses any more. Take a look at the docs in 
/etc/MailScanner/rules/README some time :-)


On 17/02/2010 15:25, Michael Masse wrote:
> Assuming your Mailscanner is outside of your internal smart host, just use the ip(s) of the smart host instead of the domain name.  This won't stop spam from coming within your organization, but you should have other tools available to watch for that.
>>>> On 2/16/2010 at 2:41 PM, in message
> <2c6cf52a1002161241o445cbf14we8bb4df71477a626 at>, Mauricio Tavares
> <raubvogel at>  wrote:
>> As the subject states, I would like to disable outgoing scan.
>> Now, from what I saw in mailscanner.conf and was explained in the irc
>> channel, I should set Scan Messages = my ruleset file and then have
>> something like
>> From: no
>> FromOrTo: default           yes
>> in the file. Question I have is would the first line cause emails
>> pretending to be coming from my domain not to be scanned? If so, how
>> would I make sure only the emails that truly originate from my domain
>> not be scanned?


Julian Field MEng CITP CEng
Buy the MailScanner book at

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at and

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list