On 9/5/2014 7:39 PM, Sam Varshavchik wrote:
> Bowie Bailey writes:
>
>> For one of my users, I am cc-ing his email to a second Courier server.
>> For some reason, when I do this, the mail that arrives at the other
>> server has a blank line inserted between the original headers and the
>> headers added by the second server.  This does bad things to the email
>> as the old headers are now seen as part of the body.
>>
>> I am doing the forwarding using a maildrop recipe that simply looks like
>> this:
>>
>> cc "!u...@domain.com"
>>
>> How can I troubleshoot this?  It seems to have something to do with the
>> receiving server.  If I forward to an address that delivers on the local
>> server, the problem does not occur.
>>
>> Here is a minimally-munged example of the email as delivered by the
>> second server after the forward.
>>
>> http://pastebin.com/fMdVxb7Y
> The presence of the "From " header /after/ the blank line is a tell-tale
> sign that the message text was delivered to an mbox file, and then read back
> from it, before being sent again. The "From " line is typically written when
> a message gets delivered to an mbox file, at some point along the way.

That shouldn't be the case.  As I said, these messages are being 
forwarded by a 'cc' instruction in the user's .mailfilter file on the 
first server.  Besides, the server uses maildirs, not mbox files.

> The message headers also show an intermediate Received: header from some
> gizmoware called "SAVSMTP". That would be another likely culprit that's
> messing with the email.
>
> Googlesearch for SAVSMTP suggests its some Symantic antivirus gizmoware.

Right.  At this point, that is simply being used as a outbound mail 
relay and has been in place for years and has not been touched in quite 
a while.  And since it's header comes above the blank line in the 
headers, I wouldn't expect it to be related.

However, it does seem to be involved.  If I bypass the Symantec relay, 
the problem does not occur.  When sending directly to the other Courier 
server, the From line is silently removed from my test case.  I will 
probably be removing that relay since it is there for historical reasons 
and is not really needed now.

I was trying to diagnose exactly what is happening by watching the 
communication between the servers, but I can't seem to turn off TLS when 
talking to the other Courier server.  There used to be a /SECURITY=NONE 
switch in esmtproutes, but I don't see it in the man page now and it 
doesn't seem to do anything.  Was this removed?  How can I disable TLS 
between these servers so I can see the data stream?

-- 
Bowie

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to