Hello,
I think I missed some info in the last mail.
We have got a setup here in which we are running fetchmail-5.9.0 and forwarding
to QMAIL.
We have -forcecr option and -mimedecode option on. We are using POP3 to
download mail.
Recently we got following mail:
............................................................
............................................................
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-UIDL: @)f!!d<M!!^=W"!k4#"!
Status: RO
Hi,=0D=0A=0D=0ACan you please look at the detail behind the following batch=
es/payments. When trying to post we keep receiving the error that record al=
ready exists.=0D=0A=0D=0ABatch Type K =0D=0ABatch # 9664=0D=0APmt # 6128=0D=
=0A=0D=0APlease let me know if you have questions.=0D=0A=0D=0A=0D=0AThanks=
=0D=0A=0D=0ASubu =0A.
...................................................................
As you can see, the mail is ending with a Line feed(0A).
Since mimedecode option is on, this mail is decoded and sent to SMTP(QMAIL).
On seeing a LineFeed, it returns a 451 error code and doesn't process it which
is perfectly valid
according to the documentaion.
We would like to know the following:
i) Is this mail a valid mail
ii) If yes, then can we modify the fetchmail code to check for CR (or to
implement -forcecr) after decoding the mail.
Thanks in advance for any help
Regards
Rohit