Allow mail unscanned from localhost.

Steen, Glenn Glenn.Steen at AP1.SE
Wed Mar 16 15:34:10 GMT 2005


> -----Original Message-----
> From: MailScanner mailing list 
> [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Martin Hepworth
> Sent: den 16 mars 2005 16:17
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Allow mail unscanned from localhost.
> 
> 
> Rabie
> 
> in MailScanner.conf make sure the following rule file is 
> defined for the
> Spam Checks option.
> 
> Spam Checks = %rules-dir%/spam.rules
> 
> in the spam.rules file place the following..
> 
> 
> From:        127.0.0.1                no
> FromOrTo:    default                 yes
> 
Well, that covers spam... Do the same for

Virus Scanning = %rules-dir%/virus.rules

and have virus.rules look the same as the above... restart MS and
you're done. Mind you, that would turn off all scanning for mails
originating from localhost...

-- Glenn
> 
> --
> Martin Hepworth
> Snr Systems Administrator
> Solid State Logic
> Tel: +44 (0)1865 842300
> 
> 
> Rabie van der Merwe wrote:
> > I did a quick check throught the archives and couldn't find 
> anything persay,
> > so if there is something (please don't shoot:) ) then just 
> point me in the
> > right direction.
> >
> > I have MailScanner with sendmail, and have got MailWatch 
> going as well,
> > however
> > I want to release stuff from the quarantine (anything 
> files, spam etc etc
> > etc)
> > and the way MailWatch is doing it currently is by making a 
> smtp connection
> > to
> > the local smtp server, so MailScanner then scans the mail again.
> >
> > I there somewere in MailScanner that I can set a rule that 
> if from 127.0.0.1
> > do not scan this message in any way shape or form?
> >
> > I have found in their archives some suggestions, but it 
> somehow breaks
> > MailScanner,
> > and it allows ALL files through the scanner. (They 
> suggested a filetype and
> > filename
> > rule based on the From email address that pointed to a 
> modified filename and
> > type
> > rule file that allowed everything, and then a default which 
> points to normal
> > filetype
> > and name rules)
> >
> > Regards
> > Rabie
> >
> > ------------------------ MailScanner list ------------------------
> > To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> > 'leave mailscanner' in the body of the email.
> > Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> > the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> >
> > Support MailScanner development - buy the book off the website!
> 
> **********************************************************************
> 
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote confirms that this email message has been swept
> for the presence of computer viruses and is believed to be clean.
> 
> **********************************************************************
> 
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> 
> Support MailScanner development - buy the book off the website!
> 

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list