Feature request: logical AND in rulesets
Martin.Hepworth
martinh at solidstatelogic.com
Tue Jul 8 15:11:37 IST 2008
Paul
Or use the ip-address for the From part.
--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
> Of shuttlebox
> Sent: 08 July 2008 15:06
> To: MailScanner discussion
> Subject: Re: Feature request: logical AND in rulesets
>
> On Tue, Jul 8, 2008 at 3:37 PM, Julian Field
> <MailScanner at ecs.soton.ac.uk> wrote:
> > shuttlebox wrote:
> >>
> >> On Tue, Jul 8, 2008 at 1:21 PM, Julian Field
> >> <MailScanner at ecs.soton.ac.uk> wrote:
> >>
> >>>>
> >>>> What would be perfect would be if I could do something like :-
> >>>> From: 127.0.0.1 AND root at myserver.mydomain.com no
> >>>>
> >>>>
> >>>
> >>> You just missed a "From" after the "AND". But otherwise
> you got it right.
> >>>
> >>
> >> So "from AND from" is legal? I have never tried it, I
> have just used
> >> "from AND to".
> >>
> >
> > Yes, from and from is quite legal, as they are testing for
> different
> > things (the IP address and the sender's email address).
>
> Excellent! I have use for it where I had to exclude mail from
> an internal (Microsoft) server from all scanning since its
> MIME can't be unpacked. It felt risky to exclude an address
> from scanning since it can be faked so easily but now I can
> add the relay it should come from. :-)
>
> --
> Paul Lynde - "I sang in the choir for years, even though my
> family belonged to another church."
> --
> 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!
>
**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the
addressee only and may be confidential. If they come to you in error
you must take no action based on them, nor must you copy or show them
to anyone. Please advise the sender by replying to this e-mail
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of
the author and unless specifically stated to the contrary, are not
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure
communications medium and can be subject to data corruption. We advise
that you consider this fact when e-mailing us.
Viruses : We have taken steps to ensure that this e-mail and any
attachments are free from known viruses but in keeping with good
computing practice, you should ensure that they are virus free.
Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU,
United Kingdom
**********************************************************************
More information about the MailScanner
mailing list