Corrupted links in emails

User avatar
dadamail
Site Admin
Posts: 67
Joined: Fri Nov 29, 2019 10:47 pm
Contact:

Re: Corrupted links in emails

Post by dadamail » Thu Oct 01, 2020 6:20 pm

sendmail is a command line utility to... send mail. How it works is sort of a black box, but it could inject a message straight into the mail queue, which would be sent out by the mail server (via SMTP), or something similar. It generally doesn't do any encoding or such.

This sounds like an issue with your mail server, and not Dada Mail then, unless the manipulation of the message is happening before being passed to the mail server, which I'm not feeling it is? If the manipulation is happening before messages are being passed to the mail server, I'll look at things. You can set Dada Mail to send just to a file with this config:

Code: Select all

$MAILPROG 			= '/path/to/a/test/file.txt; 
$MAIL_SETTINGS      = ">$MAILPROG";
$MASS_MAIL_SETTINGS = ">$MAILPROG";
I'd really would need the entire SOURCE of the email message you send out (a simple as you can make it) and the entire email message SOURCE you receive.

If you're sending a message with lines measured in the thousands, you're sending a message without any proper encoding. Can't comment on the php mail() command - Dada Mail is written in Perl, so wouldn't be using that.
Justin J
Creator, Dada Mail

SIVC
Posts: 16
Joined: Thu May 14, 2020 11:06 am

Re: Corrupted links in emails

Post by SIVC » Fri Oct 02, 2020 8:36 am

As suggested I captured as a file the output dadamail would have sent to sendmail (emailed file direct to Justin)
The data has been split into lines of 75 characters from submitted code followed by an "=" (I guess this is Quoted-Printable format).
Significantly I can see that when the 1st character of a line is a "." corresponds exactly to the errors I previously saw in received emails.

I've done a bit of googling and now realise the problem I've been having is not unknown.
e.g. https://stackoverflow.com/questions/298 ... n-new-line.

It seems SMTP servers delete a single leading dot, so if this is intended the dot needs to be doubled up.
What I'm not clear about is whether this should happen in dadamail or in the sendmail implementation used by my hosting provider, Ionos.

SIVC
Posts: 16
Joined: Thu May 14, 2020 11:06 am

Re: Corrupted links in emails

Post by SIVC » Fri Oct 02, 2020 11:15 am

Found another conversation about "smtp-dot-stuffing-when-and-where-to-do-it" on stackoverflow
https://stackoverflow.com/questions/152 ... 1#16033781

There is suggestion that all SMTP servers do not behave the same, but that a solution is:-
"The practical answer: If you're using quoted printable format then always translate a dot to =2E. You can't rely on all smtp servers doing the dot removal correctly."

User avatar
dadamail
Site Admin
Posts: 67
Joined: Fri Nov 29, 2019 10:47 pm
Contact:

Re: Corrupted links in emails

Post by dadamail » Fri Oct 02, 2020 9:31 pm

If sending via SMTP, Dada Mail (or the Net::SMTP module that Dada Mail uses to send via SMTP) replaces a lone dot on a line with,

Code: Select all

=2E
.

For example,

Code: Select all

Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
MIME-Version: 1.0
Subject: Test


...........................................................................=
...........................................................................=
..................................................
...........................................................................=
...........................................................................=
.................................................
...........................................................................=
...........................................................................=
................................................
...........................................................................=
...........................................................................=
...............................................
...........................................................................=
...........................................................................=
..............................................
...........................................................................=
...........................................................................=
.............................................
...........................................................................=
...........................................................................=
............................................
...........................................................................=
...........................................................................=
...........................................
...........................................................................=
...........................................................................=
..........................................
...........................................................................=
...........................................................................=
.........................................
...........................................................................=
...........................................................................=
........................................
...........................................................................=
...........................................................................=
.......................................
...........................................................................=
...........................................................................=
......................................
...........................................................................=
...........................................................................=
.....................................
...........................................................................=
...........................................................................=
....................................
...........................................................................=
...........................................................................=
...................................
...........................................................................=
...........................................................................=
..................................
...........................................................................=
...........................................................................=
.................................
...........................................................................=
...........................................................................=
................................
...........................................................................=
...........................................................................=
...............................
...........................................................................=
...........................................................................=
..............................
...........................................................................=
...........................................................................=
.............................
...........................................................................=
...........................................................................=
............................
...........................................................................=
...........................................................................=
...........................
...........................................................................=
...........................................................................=
..........................
...........................................................................=
...........................................................................=
.........................
...........................................................................=
...........................................................................=
........................
...........................................................................=
...........................................................................=
.......................
...........................................................................=
...........................................................................=
......................
...........................................................................=
...........................................................................=
.....................
...........................................................................=
...........................................................................=
....................
...........................................................................=
...........................................................................=
...................
...........................................................................=
...........................................................................=
..................
...........................................................................=
...........................................................................=
.................
...........................................................................=
...........................................................................=
................
...........................................................................=
...........................................................................=
...............
...........................................................................=
...........................................................................=
..............
...........................................................................=
...........................................................................=
.............
...........................................................................=
...........................................................................=
............
...........................................................................=
...........................................................................=
...........
...........................................................................=
...........................................................................=
..........
...........................................................................=
...........................................................................=
.........
...........................................................................=
...........................................................................=
........
...........................................................................=
...........................................................................=
.......
...........................................................................=
...........................................................................=
......
...........................................................................=
...........................................................................=
.....
...........................................................................=
...........................................................................=
....
...........................................................................=
...........................................................................=
...
...........................................................................=
...........................................................................=
..
...........................................................................=
............................................................................
...........................................................................=
...........................................................................
...........................................................................=
..........................................................................
...........................................................................=
.........................................................................
...........................................................................=
........................................................................
...........................................................................=
.......................................................................
...........................................................................=
......................................................................
...........................................................................=
.....................................................................
...........................................................................=
....................................................................
...........................................................................=
...................................................................
...........................................................................=
..................................................................
...........................................................................=
.................................................................
...........................................................................=
................................................................
...........................................................................=
...............................................................
...........................................................................=
..............................................................
...........................................................................=
.............................................................
...........................................................................=
............................................................
...........................................................................=
...........................................................
...........................................................................=
..........................................................
...........................................................................=
.........................................................
...........................................................................=
........................................................
...........................................................................=
.......................................................
...........................................................................=
......................................................
...........................................................................=
.....................................................
...........................................................................=
....................................................
...........................................................................=
...................................................
...........................................................................=
..................................................
...........................................................................=
.................................................
...........................................................................=
................................................
...........................................................................=
...............................................
...........................................................................=
..............................................
...........................................................................=
.............................................
...........................................................................=
............................................
...........................................................................=
...........................................
...........................................................................=
..........................................
...........................................................................=
.........................................
...........................................................................=
........................................
...........................................................................=
.......................................
...........................................................................=
......................................
...........................................................................=
.....................................
...........................................................................=
....................................
...........................................................................=
...................................
...........................................................................=
..................................
...........................................................................=
.................................
...........................................................................=
................................
...........................................................................=
...............................
...........................................................................=
..............................
...........................................................................=
.............................
...........................................................................=
............................
...........................................................................=
...........................
...........................................................................=
..........................
...........................................................................=
.........................
...........................................................................=
........................
...........................................................................=
.......................
...........................................................................=
......................
...........................................................................=
.....................
...........................................................................=
....................
...........................................................................=
...................
...........................................................................=
..................
...........................................................................=
.................
...........................................................................=
................
...........................................................................=
...............
...........................................................................=
..............
...........................................................................=
.............
...........................................................................=
............
...........................................................................=
...........
...........................................................................=
..........
...........................................................................=
.........
...........................................................................=
........
...........................................................................=
.......
...........................................................................=
......
...........................................................................=
.....
...........................................................................=
....
...........................................................................=
...
...........................................................................=
..
............................................................................
...........................................................................
..........................................................................
.........................................................................
........................................................................
.......................................................................
......................................................................
.....................................................................
....................................................................
...................................................................
..................................................................
.................................................................
................................................................
...............................................................
..............................................................
.............................................................
............................................................
...........................................................
..........................................................
.........................................................
........................................................
.......................................................
......................................................
.....................................................
....................................................
...................................................
..................................................
.................................................
................................................
...............................................
..............................................
.............................................
............................................
...........................................
..........................................
.........................................
........................................
.......................................
......................................
.....................................
....................................
...................................
..................................
.................................
................................
...............................
..............................
.............................
............................
...........................
..........................
.........................
........................
.......................
......................
.....................
....................
...................
..................
.................
................
...............
..............
.............
............
...........
..........
.........
........
.......
......
.....
....
...
..
=2E

=2E
..
...
....
.....
......
.......
........
.........
..........
...........
............
.............
..............
...............
................
.................
..................
...................
....................
.....................
......................
.......................
........................
.........................
..........................
...........................
............................
.............................
..............................
...............................
................................
.................................
..................................
...................................
....................................
.....................................
......................................
.......................................
........................................
.........................................
..........................................
...........................................
............................................
.............................................
..............................................
...............................................
................................................
.................................................
..................................................
...................................................
....................................................
.....................................................
......................................................
.......................................................
........................................................
.........................................................
..........................................................
...........................................................
............................................................
.............................................................
..............................................................
...............................................................
................................................................
.................................................................
..................................................................
...................................................................
....................................................................
.....................................................................
......................................................................
.......................................................................
........................................................................
.........................................................................
..........................................................................
...........................................................................
............................................................................
...........................................................................=
..
...........................................................................=
...
...........................................................................=
....
...........................................................................=
.....
...........................................................................=
......
...........................................................................=
.......
...........................................................................=
........
...........................................................................=
.........
...........................................................................=
..........
...........................................................................=
...........
...........................................................................=
............
...........................................................................=
.............
...........................................................................=
..............
...........................................................................=
...............
...........................................................................=
................
...........................................................................=
.................
...........................................................................=
..................
...........................................................................=
...................
...........................................................................=
....................
...........................................................................=
.....................
...........................................................................=
......................
...........................................................................=
.......................
...........................................................................=
........................
...........................................................................=
.........................
...........................................................................=
..........................
...........................................................................=
...........................
...........................................................................=
............................
...........................................................................=
.............................
...........................................................................=
..............................
...........................................................................=
...............................
...........................................................................=
................................
...........................................................................=
.................................
...........................................................................=
..................................
...........................................................................=
...................................
...........................................................................=
....................................
...........................................................................=
.....................................
...........................................................................=
......................................
...........................................................................=
.......................................
...........................................................................=
........................................
...........................................................................=
.........................................
...........................................................................=
..........................................
...........................................................................=
...........................................
...........................................................................=
............................................
...........................................................................=
.............................................
...........................................................................=
..............................................
...........................................................................=
...............................................
...........................................................................=
................................................
...........................................................................=
.................................................
...........................................................................=
..................................................
...........................................................................=
...................................................
...........................................................................=
....................................................
...........................................................................=
.....................................................
...........................................................................=
......................................................
...........................................................................=
.......................................................
...........................................................................=
........................................................
...........................................................................=
.........................................................
...........................................................................=
..........................................................
...........................................................................=
...........................................................
...........................................................................=
............................................................
...........................................................................=
.............................................................
...........................................................................=
..............................................................
...........................................................................=
...............................................................
...........................................................................=
................................................................
...........................................................................=
.................................................................
...........................................................................=
..................................................................
...........................................................................=
...................................................................
...........................................................................=
....................................................................
...........................................................................=
.....................................................................
...........................................................................=
......................................................................
...........................................................................=
.......................................................................
...........................................................................=
........................................................................
...........................................................................=
.........................................................................
...........................................................................=
..........................................................................
...........................................................................=
...........................................................................
...........................................................................=
............................................................................
...........................................................................=
...........................................................................=
..
...........................................................................=
...........................................................................=
...
...........................................................................=
...........................................................................=
....
...........................................................................=
...........................................................................=
.....
...........................................................................=
...........................................................................=
......
...........................................................................=
...........................................................................=
.......
...........................................................................=
...........................................................................=
........
...........................................................................=
...........................................................................=
.........
...........................................................................=
...........................................................................=
..........
...........................................................................=
...........................................................................=
...........
...........................................................................=
...........................................................................=
............
...........................................................................=
...........................................................................=
.............
...........................................................................=
...........................................................................=
..............
...........................................................................=
...........................................................................=
...............
...........................................................................=
...........................................................................=
................
...........................................................................=
...........................................................................=
.................
...........................................................................=
...........................................................................=
..................
...........................................................................=
...........................................................................=
...................
...........................................................................=
...........................................................................=
....................
...........................................................................=
...........................................................................=
.....................
...........................................................................=
...........................................................................=
......................
...........................................................................=
...........................................................................=
.......................
...........................................................................=
...........................................................................=
........................
...........................................................................=
...........................................................................=
.........................
...........................................................................=
...........................................................................=
..........................
...........................................................................=
...........................................................................=
...........................
...........................................................................=
...........................................................................=
............................
...........................................................................=
...........................................................................=
.............................
...........................................................................=
...........................................................................=
..............................
...........................................................................=
...........................................................................=
...............................
...........................................................................=
...........................................................................=
................................
...........................................................................=
...........................................................................=
.................................
...........................................................................=
...........................................................................=
..................................
...........................................................................=
...........................................................................=
...................................
...........................................................................=
...........................................................................=
....................................
...........................................................................=
...........................................................................=
.....................................
...........................................................................=
...........................................................................=
......................................
...........................................................................=
...........................................................................=
.......................................
...........................................................................=
...........................................................................=
........................................
...........................................................................=
...........................................................................=
.........................................
...........................................................................=
...........................................................................=
..........................................
...........................................................................=
...........................................................................=
...........................................
...........................................................................=
...........................................................................=
............................................
...........................................................................=
...........................................................................=
.............................................
...........................................................................=
...........................................................................=
..............................................
...........................................................................=
...........................................................................=
...............................................
...........................................................................=
...........................................................................=
................................................
...........................................................................=
...........................................................................=
.................................................
Justin J
Creator, Dada Mail

User avatar
dadamail
Site Admin
Posts: 67
Joined: Fri Nov 29, 2019 10:47 pm
Contact:

Re: Corrupted links in emails

Post by dadamail » Fri Oct 02, 2020 9:34 pm

Decoded:

Code: Select all

........................................................................................................................................................................................................
.......................................................................................................................................................................................................
......................................................................................................................................................................................................
.....................................................................................................................................................................................................
....................................................................................................................................................................................................
...................................................................................................................................................................................................
..................................................................................................................................................................................................
.................................................................................................................................................................................................
................................................................................................................................................................................................
...............................................................................................................................................................................................
..............................................................................................................................................................................................
.............................................................................................................................................................................................
............................................................................................................................................................................................
...........................................................................................................................................................................................
..........................................................................................................................................................................................
.........................................................................................................................................................................................
........................................................................................................................................................................................
.......................................................................................................................................................................................
......................................................................................................................................................................................
.....................................................................................................................................................................................
....................................................................................................................................................................................
...................................................................................................................................................................................
..................................................................................................................................................................................
.................................................................................................................................................................................
................................................................................................................................................................................
...............................................................................................................................................................................
..............................................................................................................................................................................
.............................................................................................................................................................................
............................................................................................................................................................................
...........................................................................................................................................................................
..........................................................................................................................................................................
.........................................................................................................................................................................
........................................................................................................................................................................
.......................................................................................................................................................................
......................................................................................................................................................................
.....................................................................................................................................................................
....................................................................................................................................................................
...................................................................................................................................................................
..................................................................................................................................................................
.................................................................................................................................................................
................................................................................................................................................................
...............................................................................................................................................................
..............................................................................................................................................................
.............................................................................................................................................................
............................................................................................................................................................
...........................................................................................................................................................
..........................................................................................................................................................
.........................................................................................................................................................
........................................................................................................................................................
.......................................................................................................................................................
......................................................................................................................................................
.....................................................................................................................................................
....................................................................................................................................................
...................................................................................................................................................
..................................................................................................................................................
.................................................................................................................................................
................................................................................................................................................
...............................................................................................................................................
..............................................................................................................................................
.............................................................................................................................................
............................................................................................................................................
...........................................................................................................................................
..........................................................................................................................................
.........................................................................................................................................
........................................................................................................................................
.......................................................................................................................................
......................................................................................................................................
.....................................................................................................................................
....................................................................................................................................
...................................................................................................................................
..................................................................................................................................
.................................................................................................................................
................................................................................................................................
...............................................................................................................................
..............................................................................................................................
.............................................................................................................................
............................................................................................................................
...........................................................................................................................
..........................................................................................................................
.........................................................................................................................
........................................................................................................................
.......................................................................................................................
......................................................................................................................
.....................................................................................................................
....................................................................................................................
...................................................................................................................
..................................................................................................................
.................................................................................................................
................................................................................................................
...............................................................................................................
..............................................................................................................
.............................................................................................................
............................................................................................................
...........................................................................................................
..........................................................................................................
.........................................................................................................
........................................................................................................
.......................................................................................................
......................................................................................................
.....................................................................................................
....................................................................................................
...................................................................................................
..................................................................................................
.................................................................................................
................................................................................................
...............................................................................................
..............................................................................................
.............................................................................................
............................................................................................
...........................................................................................
..........................................................................................
.........................................................................................
........................................................................................
.......................................................................................
......................................................................................
.....................................................................................
....................................................................................
...................................................................................
..................................................................................
.................................................................................
................................................................................
...............................................................................
..............................................................................
.............................................................................
............................................................................
...........................................................................
..........................................................................
.........................................................................
........................................................................
.......................................................................
......................................................................
.....................................................................
....................................................................
...................................................................
..................................................................
.................................................................
................................................................
...............................................................
..............................................................
.............................................................
............................................................
...........................................................
..........................................................
.........................................................
........................................................
.......................................................
......................................................
.....................................................
....................................................
...................................................
..................................................
.................................................
................................................
...............................................
..............................................
.............................................
............................................
...........................................
..........................................
.........................................
........................................
.......................................
......................................
.....................................
....................................
...................................
..................................
.................................
................................
...............................
..............................
.............................
............................
...........................
..........................
.........................
........................
.......................
......................
.....................
....................
...................
..................
.................
................
...............
..............
.............
............
...........
..........
.........
........
.......
......
.....
....
...
..
.

.
..
...
....
.....
......
.......
........
.........
..........
...........
............
.............
..............
...............
................
.................
..................
...................
....................
.....................
......................
.......................
........................
.........................
..........................
...........................
............................
.............................
..............................
...............................
................................
.................................
..................................
...................................
....................................
.....................................
......................................
.......................................
........................................
.........................................
..........................................
...........................................
............................................
.............................................
..............................................
...............................................
................................................
.................................................
..................................................
...................................................
....................................................
.....................................................
......................................................
.......................................................
........................................................
.........................................................
..........................................................
...........................................................
............................................................
.............................................................
..............................................................
...............................................................
................................................................
.................................................................
..................................................................
...................................................................
....................................................................
.....................................................................
......................................................................
.......................................................................
........................................................................
.........................................................................
..........................................................................
...........................................................................
............................................................................
.............................................................................
..............................................................................
...............................................................................
................................................................................
.................................................................................
..................................................................................
...................................................................................
....................................................................................
.....................................................................................
......................................................................................
.......................................................................................
........................................................................................
.........................................................................................
..........................................................................................
...........................................................................................
............................................................................................
.............................................................................................
..............................................................................................
...............................................................................................
................................................................................................
.................................................................................................
..................................................................................................
...................................................................................................
....................................................................................................
.....................................................................................................
......................................................................................................
.......................................................................................................
........................................................................................................
.........................................................................................................
..........................................................................................................
...........................................................................................................
............................................................................................................
.............................................................................................................
..............................................................................................................
...............................................................................................................
................................................................................................................
.................................................................................................................
..................................................................................................................
...................................................................................................................
....................................................................................................................
.....................................................................................................................
......................................................................................................................
.......................................................................................................................
........................................................................................................................
.........................................................................................................................
..........................................................................................................................
...........................................................................................................................
............................................................................................................................
.............................................................................................................................
..............................................................................................................................
...............................................................................................................................
................................................................................................................................
.................................................................................................................................
..................................................................................................................................
...................................................................................................................................
....................................................................................................................................
.....................................................................................................................................
......................................................................................................................................
.......................................................................................................................................
........................................................................................................................................
.........................................................................................................................................
..........................................................................................................................................
...........................................................................................................................................
............................................................................................................................................
.............................................................................................................................................
..............................................................................................................................................
...............................................................................................................................................
................................................................................................................................................
.................................................................................................................................................
..................................................................................................................................................
...................................................................................................................................................
....................................................................................................................................................
.....................................................................................................................................................
......................................................................................................................................................
.......................................................................................................................................................
........................................................................................................................................................
.........................................................................................................................................................
..........................................................................................................................................................
...........................................................................................................................................................
............................................................................................................................................................
.............................................................................................................................................................
..............................................................................................................................................................
...............................................................................................................................................................
................................................................................................................................................................
.................................................................................................................................................................
..................................................................................................................................................................
...................................................................................................................................................................
....................................................................................................................................................................
.....................................................................................................................................................................
......................................................................................................................................................................
.......................................................................................................................................................................
........................................................................................................................................................................
.........................................................................................................................................................................
..........................................................................................................................................................................
...........................................................................................................................................................................
............................................................................................................................................................................
.............................................................................................................................................................................
..............................................................................................................................................................................
...............................................................................................................................................................................
................................................................................................................................................................................
.................................................................................................................................................................................
..................................................................................................................................................................................
...................................................................................................................................................................................
....................................................................................................................................................................................
.....................................................................................................................................................................................
......................................................................................................................................................................................
.......................................................................................................................................................................................
........................................................................................................................................................................................
.........................................................................................................................................................................................
..........................................................................................................................................................................................
...........................................................................................................................................................................................
............................................................................................................................................................................................
.............................................................................................................................................................................................
..............................................................................................................................................................................................
...............................................................................................................................................................................................
................................................................................................................................................................................................
.................................................................................................................................................................................................
..................................................................................................................................................................................................
...................................................................................................................................................................................................
....................................................................................................................................................................................................
.....................................................................................................................................................................................................
......................................................................................................................................................................................................
.......................................................................................................................................................................................................
Justin J
Creator, Dada Mail

SIVC
Posts: 16
Joined: Thu May 14, 2020 11:06 am

Re: Corrupted links in emails

Post by SIVC » Fri Oct 02, 2020 10:47 pm

Thanks for reply - nice demo.
So if single dot is already being replaced by =2E in SMTP method, that would explain why I don't see missing dots with that method.
Please could single dot to =2E also be applied to sendmail method - I expect that would cure the problem I'm seeing?

User avatar
dadamail
Site Admin
Posts: 67
Joined: Fri Nov 29, 2019 10:47 pm
Contact:

Re: Corrupted links in emails

Post by dadamail » Sat Oct 03, 2020 3:59 am

It'll be this for ALL methods. Dada Mail uses the MIME::Entity module to create all the email messages it creates. Here's a one-liner that shows that a single dot and newline will create the correct encoding:

Code: Select all

perl -MMIME::Entity -e 'print MIME::Entity->build(Encoding => "quoted-printable", Data     => ".\n")->as_string;'
Prints,

Code: Select all

Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)

=2E
Justin J
Creator, Dada Mail

SIVC
Posts: 16
Joined: Thu May 14, 2020 11:06 am

Re: Corrupted links in emails

Post by SIVC » Sat Oct 03, 2020 10:10 pm

The test case for the errors I've seen would be something like Data => "\n.abc"
i.e. a line starting with a single dot followed by other characters.
Does the dot in this case also get converted to "=2E"?

SIVC
Posts: 16
Joined: Thu May 14, 2020 11:06 am

Re: Corrupted links in emails

Post by SIVC » Sat Oct 03, 2020 10:35 pm

Just worked out how to run a perl snippet on command line (I admit to knowing very little about perl) and tried myself - unfortunately it looks like it doesn't convert a dot at beginning line followed by other character to =2E, so I don't think it will solve the problem I'm seeing.

~$ perl -MMIME::Entity -e 'print MIME::Entity->build(Encoding => "quoted-printable", Data => "xyz\n.abc\n.\n")->as_string;'
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)

xyz
.abc
=2E
~$

~$

SIVC
Posts: 16
Joined: Thu May 14, 2020 11:06 am

Re: Corrupted links in emails

Post by SIVC » Sun Oct 04, 2020 4:24 pm

Now I have a file of the Dadamail output which would normally go to sendmail, I've used command-line to submit it to sendmail (to prove I could, and that the errors were still present by this method), then I modified this Dadamail output file using a text editor to replace '\n.' with '\n=2E' (4 replacements). I then used command line to submit to sendmail and this time the errors in received email had disappeared.

(uiserver):u7777777:~/richard$ /usr/sbin/sendmail xxyyy@live.com <file_from_sendmail_33_fix.txt

I've also tried passing my synthesised_testcase file through MIME::Entity using same command-line as in my previous post (but with much larger string) and shown that this alone will not solve the problem we've been seeing - some lines could still start with a dot followed by other characters.

Post Reply