emails that attempt to kill mailscanner

Jonathan Horne jonathanmhorne at outlook.com
Wed Aug 14 14:35:10 IST 2013


I tried the -U in /usr/sbin/MailScanner.  like this:

 

[jhorne at dlp-centos64 ~]$ head /usr/sbin/MailScanner
#!/usr/bin/perl -I/usr/lib/MailScanner -U
#
#   MailScanner - SMTP E-Mail Virus Scanner
#   Copyright (C) 2002  Julian Field
#
#   $Id: mailscanner.sbin 5120 2013-06-17 13:49:45Z sysjkf $
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2 of the License, or

 

i didnt get time to inspect the entire process operation, but i have it configured to not append the "mailscaner checked this email for virus and believed to be clean" at the bottom of emails.  after i added the -U, this started appearing.  for fear that other settings that i specified might also be ignored, i removed the -U until i can get a better handle on what it is doing.

 

i dont see offhand in the man page what exactly the -U does... can someone point me to where i can read about this switch?

 

thanks,

jonathan
 



Date: Tue, 13 Aug 2013 19:41:20 +0100
Subject: RE: emails that attempt to kill mailscanner
From: Jason at theedes.co.uk
To: mailscanner at lists.mailscanner.info

At the top of the file called MailScanner normally in /usr/sbin on rh based systems.

Jonathan Horne <jonathanmhorne at outlook.com> wrote:


hmmm, its only some emails, not all of them (and its always emails that i would never accept anyway, high scoring spam).  
 
taking a look at hte mailscanner.conf file, i dont see offhand where to add a -U.  any tips?
 
jonathan
 



Date: Tue, 13 Aug 2013 17:06:50 +0100
Subject: Re: emails that attempt to kill mailscanner
From: maxsec at gmail.com
To: mailscanner at lists.mailscanner.info


this problem is normally caused by config issues, like not having the -U switch set in the main MailScanner executable.


-- 
Martin Hepworth, CISSP
Oxford, UK


On 13 August 2013 16:28, Jonathan Horne <jonathanmhorne at outlook.com> wrote:



i didnt try it yet... but if i set the number of attempts to 0 what will happen? i would like to just delete these emails immeidately, i dont see a need to retry it after 5 minutes.
 
if 0 is not the right way to accomplish this, what is the correct way to dump emails that attempt to kill the process?
 
thanks,
jonathan

--
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!



-- 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!
-- 
This message has been scanned for viruses and 
dangerous content and is believed to be clean. 
-- 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! 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20130814/ceb2b10b/attachment.html 


More information about the MailScanner mailing list