Maximum Message Size / Attachments.
Richard Mealing
richard at fastnet.co.uk
Mon Oct 24 15:36:05 IST 2011
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Peter Bonivart
Sent: 24 October 2011 15:22
To: MailScanner discussion
Subject: Re: Maximum Message Size / Attachments.
2011/10/24 Denis Beauchemin <Denis.Beauchemin at usherbrooke.ca>:
> I'm pretty sure this is not true. The default clause can appear anywhere in the rules file. I have 2 rules files with default clauses right at the top and they work flawlessly.
I vaguely remember Julian answering this some time ago. The lines are processed like a firewall with a first-match-wins but the default line is the exception, it can appear anywhere.
/peter
-------------------------------
Thanks. I'm quite sure it doesn't matter where you put it in the file, all mine are at the top and they work fine for me.
I guess I can eliminate this one from being the problem.
Any other ideas?
This is what I see -
Oct 24 15:24:23 mailfilterv2 sm-mta-in[15050]: p9OEOK9M015050: from=<richard at mydomain.co.uk>, size=16057126, class=0, nrcpts=1, msgid=<1251B5423222C446A299CABAA7B46FF42A7620 at myexchangeserver.local>, proto=ESMTP, daemon=IPv4, relay=mysmarthost.uk [8.*.*.*]
Oct 24 15:24:23 mailfilterv2 sm-mta-in[15050]: p9OEOK9M015050: to=<test at mydomain.co.uk>, delay=00:00:03, mailer=esmtp, pri=16087126, stat=queued
Oct 24 15:27:03 mailfilterv2 MailScanner[14249]: Message p9OEOK9M015050 from 8.*.*.* (richard at mydomain.co.uk) to mydomain.co.uk is too big for spam checks (16057686 > 200000 bytes)
Oct 24 15:27:05 mailfilterv2 MailScanner[14249]: Logging message p9OEOK9M015050 to SQL
Oct 24 15:27:06 mailfilterv2 MailScanner[14734]: p9OEOK9M015050: Logged to MailWatch SQL
Oct 24 15:27:08 mailfilterv2 sendmail[15140]: p9OEOK9M015050: to=<test at mydomain.co.uk>, delay=00:02:48, xdelay=00:00:02, mailer=esmtp, pri=16177126, relay=mail.mydomain.co.uk. [8.*.*.*], dsn=2.0.0, stat=Sent (p9OER304084090 Message accepted for delivery)
Rich.
--
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!
More information about the MailScanner
mailing list