Pat Riehecky wrote:
[smtp] accept = 127.0.0.1:25 connect = mailserver.mydomain.tld:587 ;connect = mailserver.mydomain.tld:465 ;connect = mailserver.mydomain.tld:25 protocol = smtp
As you're connecting your mailserver running on a separate port you're probably *not* using STARTTLS extension as described in RFC 2487: http://www.ietf.org/rfc/rfc2487.txt
Just delete (or comment-out) "protocol = smtp" line.
Best regards, Mike