Hi all,
I'm using getmail to fetch mails from our provider.
I use the "MDA_external" option in order to use /usr/sbin/sendmail as delivery agent, but I have problem with email with a single "." (dot) in a line.

For example sendmail doesn't tranfer this text (it truncate the mail at the ".")
"""
test
.
"""


An email has the following line:
"""
delle oscillazioni sulla superhat è perché c’era poco gas.
"""

Getmail fetch two line from the provider (it split a single long line into two ones):
"""
delle oscillazioni sulla superhat =C3=A8 perch=C3=A9 c=E2=80=99era poco gas=
.
"""

and so, passing this text to sendmail, all the other part of the mail (with attachments!) is deleted..


As far as I know the single dot is used by smtp/pop protocol to terminate the message, so It should -I think- transparently replace a single dot with a double dot during the


Another example: the file mail.txt contains the following test:
"""
From: "myaddress" <myadr...@test.it>
To: myem...@atwork.com
Subject:

first row.
.
second rows
.
"""

If I use "cat mail.txt |sendmail -t " I get only the first row.

I how can I send a single dot line with sendmail?

Thanks
Alessandro

PS: I'm using sendmail of postfix 2.5.5 package

Reply via email to