On Mon, 07 Sep 2009, Alessandro wrote: > 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?
RTFM. From sendmail(1): -i When reading a message from standard input, don't treat a line with only a . character as the end of input. -- Sahil Tandon <sa...@tandon.net>