I gave you the settings for the incoming kmail.
The outgoing settings are
Encryption: TLS
Authentication Method: CRAM-MD5
It will work with either port 25 or port 587.
Below is the tcpdump log for a kmail send. Note the line with the statement "Authentication succeeded". The postfix log did not have that statement or one that said the authentication failed. So my guess is that postfix is not sending an authentication.
23:32:31.316946 IP 192.168.0.9.39086 > smtpauth6.earthlink.net.smtp: S 4194009802:4194009802(0) win 5840 <mss 1460,sackOK,timestamp 37665657 0,nop,wscale 5>
E..<9.@.@..C... .E...................'.........
.>.y........
23:32:31.420810 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: S 4267044336:4267044336(0) ack 4194009803 win 5792 <mss 1412,sackOK,timestamp 946007883 37665657,nop,wscale 0>
E..<..@.1....E..... .....U.....................
8b.K.>.y....
23:32:31.421007 IP 192.168.0.9.39086 > smtpauth6.earthlink.net.smtp: . ack 1 win 183 <nop,nop,timestamp 37665761 946007883>
E..49.@.@..J... .E...........U......@......
.>..8b.K
23:32:31.526441 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: P 1:244(243) ack 1 win 5792 <nop,nop,timestamp 946007894 37665761>
E..'..@.1..d.E..... .....U..........%......
8b.V.>..220-elasmtp-spurfowl.atl.sa.earthlink.net ESMTP Exim 4.67 #1 Sat, 28 Jun 2008 02:35:01 -0400
220-NO UCE. EarthLink does not authorize the use of its computers or network
220 equipment to accept, transmit, or distribute unsolicited e-mail.
23:32:31.526599 IP 192.168.0.9.39086 > smtpauth6.earthlink.net.smtp: . ack 244 win 216 <nop,nop,timestamp 37665867 946007894>
E..49.@.@..I... .E...........U......?......
.>.K8b.V
23:32:31.565783 IP 192.168.0.9.39086 > smtpauth6.earthlink.net.smtp: P 1:21(20) ack 244 win 216 <nop,nop,timestamp 37665906 946007894>
E..H9.@.@..4... .E...........U......N......
.>.r8b.VEHLO [192.168.0.9]
23:32:31.669932 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: . ack 21 win 5792 <nop,nop,timestamp 946007908 37665906>
E..4..@.1..V.E..... .....U..........)......
8b.d.>.r
23:32:31.670955 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: P 244:414(170) ack 21 win 5792 <nop,nop,timestamp 946007908 37665906>
E.....@.1....E..... .....U..........8......
8b.d.>.r250-elasmtp-spurfowl.atl.sa.earthlink.net Hello [192.168.0.9] [96.238.217.131]
250-SIZE 14680064
250-PIPELINING
250-AUTH PLAIN LOGIN CRAM-MD5
250-STARTTLS
250 HELP
23:32:31.673933 IP 192.168.0.9.39086 > smtpauth6.earthlink.net.smtp: P 21:36(15) ack 414 win 250 <nop,nop,timestamp 37666014 946007908>
E..C9.@.@..8... .E...........U......M......
.>..8b.dAUTH CRAM-MD5
23:32:31.778400 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: P 414:496(82) ack 36 win 5792 <nop,nop,timestamp 946007919 37666014>
E.....@.1....E..... .....U...........>.....
8b.o.>..334 PDcwMbmV0Pg==
23:32:31.779209 IP 192.168.0.9.39086 > smtpauth6.earthlink.net.smtp: P 36:118(82) ack 496 win 250 <nop,nop,timestamp 37666120 946007919>
E...9.@.@...... .E...........U......N>.....
.>.H8b.ob2ZDQw
23:32:31.887609 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: P 496:526(30) ack 118 win 5792 <nop,nop,timestamp 946007930 37666120>
E..R..@.1..5.E..... .....U.....@.....B.....
8b.z.>.H235 Authentication succeeded
23:32:31.919330 IP 192.168.0.9.39086 > smtpauth6.earthlink.net.smtp: P 118:203(85) ack 526 win 250 <nop,nop,timestamp 37666260 946007930>
E...9.@.@...... .E.........@.U......NA.....
.>..8b.zMAIL FROM:<XXXXXXXXXXX@mindspring.com> SIZE=349
RCPT TO:<XXX@mindspring.com>
DATA
23:32:32.027713 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: P 526:604(78) ack 203 win 5792 <nop,nop,timestamp 946007944 37666260>
E.....@.1....E..... .....U...........9.....
8b...>..250 OK
250 Accepted
354 Enter message, ending with "." on a line by itself
23:32:32.031142 IP 192.168.0.9.39086 > smtpauth6.earthlink.net.smtp: P 203:551(348) ack 604 win 250 <nop,nop,timestamp 37666372 946007944>
E...9.@.@...... .E...........U.L....OH.....
.>.D8b..From: XXX <XXXXXXXXXXX/mindspring.com>
To:
XXX@mindspring.com
Subject: test
Date: Fri, 27 Jun 2008 23:32:28 -0700
User-Agent: KMail/1.9.9
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200806272332.28734.XXXXXXXXXXX@mindspring.com>
test 48
.
23:32:32.173047 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: . ack 551 win 6432 <nop,nop,timestamp 946007959 37666372>
E..4..@.1..Q.E..... .....U.L....... !......
8b...>.D
23:32:32.216373 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: P 604:632(28) ack 551 win 6432 <nop,nop,timestamp 946007963 37666372>
E..P..@.1..4.E..... .....U.L....... .-.....
8b...>.D250 OK id=1KCU1W-0001pD-6g
23:32:32.224839 IP 192.168.0.9.39086 > smtpauth6.earthlink.net.smtp: P 551:557(6) ack 632 win 250 <nop,nop,timestamp 37666565 946007963>
E..:9.@.@..=... .E...........U.h....M......
.>..8b..QUIT
23:32:32.328732 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: . ack 557 win 6432 <nop,nop,timestamp 946007974 37666565>
E..4..@.1..O.E..... .....U.h....... ......
8b...>..
23:32:32.329183 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: P 632:694(62) ack 557 win 6432 <nop,nop,timestamp 946007974 37666565>
E..r..@.1....E..... .....U.h....... [......
8b...>..221 elasmtp-spurfowl.atl.sa.earthlink.net closing connection
23:32:32.329638 IP 192.168.0.9.39086 > smtpauth6.earthlink.net.smtp: F 557:557(0) ack 694 win 250 <nop,nop,timestamp 37666670 946007974>
E..49.@.@..B... .E...........U......7......
.>.n8b..
23:32:32.329942 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: F 694:694(0) ack 557 win 6432 <nop,nop,timestamp 946007974 37666565>
E..4..@.1..M.E..... .....U......... .......
8b...>..
23:32:32.329994 IP 192.168.0.9.39086 > smtpauth6.earthlink.net.smtp: . ack 695 win 250 <nop,nop,timestamp 37666670 946007974>
E..49.@.@..A... .E...........U......7......
.>.n8b..
23:32:32.432940 IP smtpauth6.earthlink.net.smtp > 192.168.0.9.39086: . ack 558 win 6432 <nop,nop,timestamp 946007984 37666670>
E..4..@.1..L.E..... .....U......... .^.....
8b...>.n