<<< Date Index >>>     <<< Thread Index >>>

Re: A possible flea in mutt



Jan Merka <jm@xxxxx>:

> I have recently sent an EPS file as attachment but it arrived peculiarly 
> mangled. The command used to send the email was
> 
> mutt -a Fig4over98149_bw.eps addr -s subj
> 
> The recipient found that there was an extra dot added to the file:
> 
> diff Fig4over98149_bw.eps Fig4over98149_bw1_damaged.eps 
> 1229c1229
> < 40 setlinewidth 0.65 K 2133 10617 M 15 -6 R 43 3 R 44 -5 R 44 67 R
> ---
> > 40 setlinewidth 0..65 K 2133 10617 M 15 -6 R 43 3 R 44 -5 R 44 67 R
> 
> The file was transferred perfectly fine when the Kmail was used.

This may be caused by a bug in the SMTP server or the POP3 client used
by the recipient.

Both SMTP and POP3 specify that the sender must add '.' at the start
of every line that begins with '.', so there's the opportunity to get
it wrong.

If you want to investigate it further take message transfer out of the
circuit by examining the same mbox mail folder with the different mail
programs. If you want to send the mbox to another machine by e-mail,
compress it first. Look to see if '.' ends up at the start of a line
because of MIME encoding.