debugging mailscanner

Julian Field MailScanner at
Thu Feb 11 10:11:16 GMT 2010

MailScanner --lint
will test out most of it and will show you what the virus scanners are 
picking up. Also, check your maillog as all the virus scanner output is 
logged in there.

Beyond that, dig into the code :-)

If you need any help, that's what we are here for!


On 10/02/2010 07:31, Supun Rathnayake wrote:
> Hi ,
> It would be great if someone could show me how to debug mailscanner
> I wanted to troubleshoot some virus scanning part, but when I run 
> MailScanner in the debugging mode as follows ( with --debug flag )
> it only gives a very few line  lines which is not sufficient to get 
> into the actual problem.
> # MailScanner --debug
> In Debugging mode, not forking...
> Trying to setlogsock(unix)
> Building a message batch to scan...
> Have a batch of 1 message.
> Stopping now as you are debugging me.


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