Smooth upgrade to 4.21-9

Julian Field mailscanner at ecs.soton.ac.uk
Sun Jun 8 14:50:52 IST 2003


Sure.

At 19:38 06/06/2003, you wrote:
>Julian,
>
>But it would be OK if I used domain names (without being bulletproof)?
>
>Denis
>Le ven 06/06/2003 à 14:21, Julian Field a écrit :
> > At 19:08 06/06/2003, you wrote:
> > > > >
> > > > >I noticed new messages in my maillog:
> > > > >Jun  6 11:28:32 smtp3 MailScanner[27147]: Spam Checks: Found 1 spam
> > > messages
> > > > >Jun  6 11:28:32 smtp3 MailScanner[27147]: Cannot match against
> > > destination
> > > > >IP address when resolving configuration option "spamactions"
> > > > >Jun  6 11:28:32 smtp3 MailScanner[27147]: Spam Actions: message
> > > > >h56FSUX31319 actions are xxx at usherbrooke.ca,forward,deliver
> > > > >
> > > > >Can I do anything about the destination IP unresolved?  It used the
> > > > >default rule, which is what I expected.
> > > >
> > > > You don't know the destination IP address until *after* you have 
> actually
> > > > delivered the message. It all depends on what MX hosts are 
> available on
> > > the
> > > > destination site. So you cannot match against it.
> > >
> > >I'm not sure I understand what you said.  Is it that what I am trying to
> > >do is doomed to fail every time?
> > >
> > >This is what I use:
> > >Spam Actions = /etc/MailScanner/rules/spam.action.rules
> > >
> > >/etc/MailScanner/rules/spam.action.rules:
> > >To: 132.210.  attachment deliver forward xxx at usherbrooke.ca
> > >To: /^206\.167\.186\.[012346]\./   attachment deliver forward
> > >xxx at usherbrooke.ca
> > >To: 206.167.185.  attachment deliver forward xxx at usherbrooke.ca
> >
> > You fundamentally cannot do that. I don't know the MX host until the mail
> > is delivered (by the MTA), so I have absolutely no way of predicting 
> the IP
> > address of the best available MX.
> >
> > Even checking that *all* the MX hosts for this domain are within this 
> range
> > requires a hell of a lot of work on MailScanner's part. It would need to
> > "dig" for every MX host to get its IP address and then check every single
> > one against the spec you had allowed. And as you have specified the
> > "deliver" action, then every MX host of every domain of every recipient of
> > the message would have to be checked. That would take ages to do.
> >
> > Sorry, but mail delivery is very deliberately unrelated to IP address.
> >
> > >To: *@USherbrooke.ca  attachment deliver forward xxx at usherbrooke.ca
> > >FromOrTo: Default  deliver forward xxx at usherbrooke.ca
> > >
> > >Basically I just want to deliver spam as an attachment (with my custom
> > >explanation of how to forward the message to us if it was misidentified)
> > >if the destination is local.  I don't want external people to get my
> > >message about how to train SA.
> > >
> > >Thanks again!
> > >
> > >Denis
> > >--
> > >Denis Beauchemin, analyste
> > >Université de Sherbrooke, S.T.I.
> > >T: 819.821.8000x2252 F: 819.821.8045
>--
>Denis Beauchemin, analyste
>Université de Sherbrooke, S.T.I.
>T: 819.821.8000x2252 F: 819.821.8045

-- 
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support




More information about the MailScanner mailing list