Top of the morning to all of you qmail-ers,
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
--
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]
On Thu, 23 Dec 1999, Eugen Lamers wrote:
:Hello qmail users and admins,
:
:my problem is the following: When I compose a message and encrypt it
:with PGP (or just sign it with PGP), then attempts to send the mail end
:in the following error message:
:
:451 See http://pobox.com/~djb/docs/smtplf.html
:
:This URL obviously has moved (to where?), but I found a discussion
:about this error message. Bare linefeeds seem to be the problem, that
:causes the message, but I do not find a context to PGP.
:Ok, when I do not encrypt or sign with PGP, sending works fine. I
:think, since PGP produces a binary file (or can at least do so), there
:occur bytes in the message that shouldn't.
:
:But I can tell PGP (with the -a flag) to encrypt the text in ASCII
:format, so it is human readable, but it doesn't solve the problem.
:Next I can tell PGP (with the -t flag) to alter line endings for UNIX.
:Didn't work either.
:
:Additional Info about my environment: I use postilion as MUA which
:handles PGP, and with sendmail (a friend tried it successfully) no such
:errors occur.
:
:Has anyone ideas, what I possibly forgot to tell qmail or pgp or
:whatever? Thanks in advance.
: