Hi, I've hit a bad hiccup in changing ISP. BT uses Yahoo as mail
provider, and yahoo require authorization before an email can be sent.
Which is new to me, although I've had sendmail running for some years.
Following info from the web, I've changed my sendmail config to include:
define(`SMART_HOST',`
mail.btinternet.com')dnl
FEATURE(`authinfo', `hash /etc/mail/authinfo')dnl
while the authinfo source file looks like
AuthInfo:
mail.btinternet.com "U:root" "I:my-username" "P:my-password"
(I know the username and password are correct as I can use them from eg
claws to connect and send mail directly. I don't understand sendmail's
distinction in the ops guide:
U user (authorization) id
I authentication id)
Unfortunately, sendmail doesn't seem to try to send any authorization.
The smtp transaction is just
220
smtp816.mail.ird.yahoo.com ESMTP
EHLO
scottsonline.org.uk
250-smtp816.mail.ird.yahoo.com
250-AUTH LOGIN PLAIN XYMCOOKIE
250-PIPELINING
250-SIZE 41697280
250 8BITMIME
MAIL From:<m...@my.domain> SIZE=399
530 authentication required - Your email could not be sent. To fix this
you must make a simple change to your email (known as SMTP
authentication). For advice visit
www.btyahoo.com/smtp
QUIT
221 Service Closing transmission
I notice the server greets with the "wrong" name, but even adding that
to the authinfo file doesn't help. I'd hope sendmail would look up the
'smarthost' name in the database?
I assume I'm doing something wrong, but can't spot it. Any ideas please?
I can't get my home network running properly till this is fixed !!
(sendmail 8.14.4 on freebsd 8.2 btw)
--
Mike Scott (unet2 <at> [deletethis]
scottsonline.org.uk)
Harlow Essex England