Try the following:
Revert everything back to it's original form, then proceed with the following.
This is the SMTP-AUTH clear text method:
Postfix needs to know how to behave as a SASL client. Add the following lines anywhere you'd like in your /etc/postfix/main.cf
relayhost = smtp.ameritech.yahoo.com
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpw
smtp_sasl_security_options =
If you already have those lines, then you're set, if not, add them. Make sure you don't have any duplicates.
Create a file called /etc/postfix/saslpw and add the following, using the syntax provided:
host id

w
The host portion above must match what you used in the "relayhost" line in main.cf. Something as follows:
smtp.ameritech.yahoo.com myid:mypw (your userid and password)
Save the file.
Hash the file.
[root@linux.com] postmap /etc/postfix/saslpw
Restart postfix
[root@linux.com] /etc/init.d/postfix restart
Once you restart Postfix, send a test message through it, and you should see a line in /var/log/mail log similar to:
to=<
jsmith@example.com >, relay=smtp.ameritech.yahoo.com[1.2.3.4], delay=1, status=sent (250 ok 1234567891 qp 12345)
Recent comments
20 hours 33 min ago
1 day 6 hours ago
1 day 6 hours ago
1 day 10 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 3 hours ago
2 days 8 hours ago
2 days 9 hours ago