Solved Sendmail masquerading with yahoo

Hi.

I do have a mail account at yahoo (foobar@yahoo.com). I do want to send mail as me@mycompany.com. I'm using mutt & sendmail and configured them to send/masquerade as mycompany.com. I can send email this way but it still is delivered as foobar@yahoo.com.

Below some config files:

/etc/mail/genericstable
Code:
johnd foobar@yahoo.com

/etc/mail/auth/client-info
Code:
AuthInfo:smtp.mail.yahoo.com "I:foobar" "P:mysecret"

/etc/mail/sendmail.mc
Code:
define(`SMART_HOST', `smtp.mail.yahoo.com')dnl
FEATURE(`genericstable', `hash /etc/mail/genericstable')dnl
FEATURE(`authinfo', `hash /etc/mail/auth/client-info')dnl
GENERICS_DOMAIN(`vm1.mybox.local')dnl
MASQUERADE_AS(`mycompany.com')dnl
EXPOSED_USER(`root')dnl
FEATURE(`masquerade_envelope')dnl

~/.muttrc
Code:
set use_from="yes"
set from="me@mycompany.com"


However, if I replace the yahoo related content in sendmail.mc, genericstable and client-info with credentials from a different provider, where I have an account, everything works as expected. Sadly not with yahoo.

Any ideas?
 
Back
Top