Thanks Martin and happy new year,

> Well, if I understand the problem correctly (your PGP program is creating
> a message with bare LFs), then you should be able to solve the problem by
> piping the output of your PGP signing/encryption process to /usr/bin/addcr
> before it's sent to your SMTP server.  (addcr is included in the ucspi
> package).  For kicks, try running the PGP program by itself on a text
> file, and do an "od -c ${FILENAME}" to see whether or not you have the
> required \r\n.  If not, you can add them with addcr.
> 
> -Martin

probably this is the point, but how can I tell a MUA to use pgp with
addcr? Is it possible to tell the sendmail replacement
/var/qmail/bin/sendmail to do this? Perhaps by replacing the sendmail
by a perl-script, that pipes the output and the options to the sendmail
with adding a \r\n to the output? This would require, that the qmail
sendmail receives the input via stdin, wouldn't it? On the other hand
could this mean, that in all cases without pgp a \r\n too much is
appended, or is this not critical?

-Eugen ([EMAIL PROTECTED])

Reply via email to