Maximum Message Size / Attachments.
richard at fastnet.co.uk
Mon Oct 24 13:58:19 IST 2011
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Jan
Sent: 24 October 2011 13:23
To: MailScanner discussion
Subject: SV: Maximum Message Size / Attachments.
>To: *@mydomain.co.uk<mailto:*@mydomain.co.uk> 5M
>Again the email just comes through nicely, but not what I want!
I have not used this setting, but the doc says "size in bytes". That _may_ be one problem.
Also, aren't rules evaluated on a "first hit" basis? You probably want to move your "default" line to the end of the rule-set.
That doesn't seem to make any difference in my setup. I did already try with the bytes thing, I checked previous posts and could see some people using the 'M' in the size part of the ruleset, so I assumed it would work. No one actually coming back and saying they got it working, though... Anyone?
I changed it to;
To: mydomain.com 5242880
I then moved the default rule down to the bottom and reloaded mailscanner (I don't think this would matter though, I have other rulesets with default at the top). I re-sent the email and I got it through again. The logs show the same result.
Does anyone have this working?
Also, if this does work, can you configure the bounce message with a custom message?
Sendmail can only do this globally, as far as I can see. I don't really want to install another milter, if mailscanner can do this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MailScanner