multipart message with pdf file gets truncated

Mike Eggleston mikeegg1 at mac.com
Thu Apr 7 16:53:12 EDT 2011


On Thu, 07 Apr 2011, Julien Vehent might have said:

>  Hi list,

Afternoon.

My setup is:

cloud mail -> DMZ sendmail <- internal sendmail -> cyrus

Mail comes from the outside to the DMZ sendmail for spam and virus
checking. The mail is held until the internal sendmail server pulls
the mail (a script I wrote), then the internal hands the email to the
internal cyrus for delivery.

My truncation problem was happening when the internal server pulled
the mail, then injected the mail into the internal sendmail. At the
reinjection time there were a few messages that had a dot (.) in column
one. Per the RFC a dot (.) in column one is the signal to end the SMTP
input session (the data command).

I needed to look for a dot (.) in column one and adjust the message
before reinjection.

HTH

Mike


More information about the Info-cyrus mailing list