Re: Email is cut off

Charles Cazabon <[email protected]> Mon, 10 Jan 2022 08:52:01 -0600
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Niklas Albers <[email protected]> wrote:
> 
> "The -i switch in the arguments line is important (thanks to Chris Moules
> for the hint):

Yes, sendmail by default uses the SMTP convention to signal end-of-message,
rather than reading to EOF.  That's for historical reasons, and probably can't
be changed for backwards-compatibility.

Anyone using a sendmail submission agent should probably be using the -i
option for *all* software; I would think all modern software would be fine
with read-to-EOF behaviour, but I could be wrong.

Note I still recommend strongly against re-injecting mail retrieved with
getmail into an MTA's queue.  It's pretty much never necessary, and unless
you're extremely careful, can cause problems for postmasters around the 'net,
possibly without you even being aware it's happening.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------