On Mar 4, 2010, at 7:13 PM, Sam Varshavchik <[email protected]> wrote:

> Greg Earle writes:
> 
>>> grep elizabeth.r syslog | grep size= | grep earle | head -1
>> Mar  4 16:42:51 XXXX courierlocal: [ID 702911 mail.info] 
>> id=000377CA.4B90538B.00001F84,from=<[email protected]>,addr=<[email protected]>,size=709,success:
>>  Message delivered.
>> You can see the "size=709", matching the size of the file without the 
>> Return-Path and Delivered-To.
>> Given that Courier hands off the message to my preline/procmail back-end for 
>> actual delivery, doesn't this imply that the message is, in fact, already 
>> empty when Courier is finished processing it, given the "size=709"?
> 
> Yes. In the log files, the message size is the size of the file in the 
> internal mail queue that contains the message.

OK.  So basically, now I know that the message is getting mangled on its way 
through Courier somehow.

I have this sickening feeling that I know where this is headed.

A long time ago I made the "manual override" change of commenting out the 
section in courier/submit.C (at ~ line 1405) that returns the "534 Message 
header size, or recipient list, exceeds policy limit." error message.

I had no choice.  People were complaining that they were not receiving 
important e-mails, and it didn't matter to them that they were from dumb 
secretaries that sent out e-mails with 200 people in the "To: " field or not. 
They just knew that other colleagues were getting them and they weren't.

My fear here is that what I am seeing with my "empty messages" are, in fact, 
messages that would've normally would've triggered this 534 error, but instead 
are getting further along into the Courier code, with the remainder of the 
message elided after hitting the too-large "To: " field.  Am I likely to be 
correct?

If I am, is there some way I can re-enable that code and manually override the 
hardcoded limit (was it 100 recipients, or an overall header byte count, or 
both?) elsewhere?

Just in case, if it's not this I've created "etc/batchsize" with "1000" in it 
and added "maxrcpts 1000" to "etc/bofh".  If neither of these cures the problem 
then I really have to do manual override.

I really can't emphasize enough that I *have* to support this capability.  If 
users don't get e-mails or get them mangled, my mail server goes bye-bye and 
people will be forced to migrate to the Institutional Microsoft Exchange server 
- including me.  Obviously I don't want this to happen.

        - Greg


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to