OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
about dot stuffing and stripping

From: Aleksander (aleksanderkrediidiinfo.ee)
Date: Mon Oct 30 2006 - 08:03:20 CST


Hi,

I'm sorry for the possible offtopic, as this may not be a problem with
postfix, but rather the LDA.

My MTA Postfix (2.1.1 from SLES9) does local delivery via the transport
map to a LMTP service dspam, which in turn delivers via LMTP to dbmail.

After testing various setups I've come to the conclusion, that postfix
does not do dot-stripping, probably because it delivers via transport.

The situation:

Clients/partners send PDF files using MS Outlook, which encodes it as
Printer Quotable instead of Base64. Basically no problem. So their SMTP
server dot-stuff's the attachment and sends it to my server via SMTP. As
postfix uses transport, it does not do dot-stripping and the PDF is
received mangled.

The same happens when local users send mail to their co-workers. When
sending my postfix dot-stuffs, but when delivering via transport it
doesn't dot-strip. This again results in mangled mail.

This has also happened to text file attachments.

Am I right assuming the behavior is caused by transport? If so, is there
a way to force dot-stripping on transport? Any other solutions which
still use transport?

Or is dot-stuffing necessary for LMTP too? In that case, dbmail should
be the one dot-stripping as it is the last in the delivery chain using
LMTP? Is that the case?

Thankful for any hints,

        Alex