Tuesday, September 09, 2008

AT&T Yahoo Email Address Verification and Sendmail

In my last post, I described how to send mail from an Unix server with AT&T Yahoo! DSL line because SMTP ports are blocked and you have to send emails through Yahoo's secure SMTP server. Now AT&T added another restriction. I received the following email from AT&T:

Dear AT&T Internet Services Member,

We have received questions regarding the following error message which is received by customers when they send e-mail using a non-verified e-mail address:

“Unable to send the message. Please verify the e-mail address in your account properties. The server responded: 553 From: address not verified.”


Ah, it requires that the sender's address to be verified. The hostname of my FreeBSD server is not in public DNS server so it can't really receive emails so there is no way to verify the email address. Fortunately, Sendmail allows you to masquerade sender's address easily. You just need to add the following three lines into your sendmail.mc (Don't forget to apply the patch to the result sendmail.cf if you want to use sendmail with stunnel on localhost, as described in my last post)

FEATURE(masquerade_envelope)
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN(your_domain_name)

Replace your_domain_name with the email domain that your Unix server uses. Then you need to modify /etc/mail/genericstable file. The syntax is pretty simple:

user1 verified_address

The verified_address doesn't have to be from yahoo.com. Any email address that you own and verified with Yahoo will do. The genericstable file basically says that for those users at the generic domains (defined by GENERICS_DOMAIN) the sender address should be replaced with the verified_address. Make a hash out of the new genericstable file,

makemap hash genericstable.db < genericstable

Now restart sendmail and you are all set.

4 comments:

Unknown said...

Hello, I've tried this process and I'm getting the following in /var/log/maillog. Any help would be greatly appreciated...

Oct 23 14:17:47 blue sendmail[5341]: m9NIHlEn005340: to=mstarling@epathlearning.com, ctladdr=root@blue.maizenblue.com (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30569, relay=[127.0.0.1] [127.0.0.1], dsn=5.0.0, stat=Service unavailable
Oct 23 14:17:47 blue sendmail[5341]: m9NIHlEn005340: alias root@blue.maizenblue.com => mstarling@epathlearning.com
Oct 23 14:17:47 blue sendmail[5341]: m9NIHlEn005340: m9NIHlEn005341: DSN: Service unavailable
Oct 23 14:17:47 blue sendmail[5341]: m9NIHlEn005341: to=mstarling@epathlearning.com, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31593, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection reset by [127.0.0.1]
Oct 23 14:17:47 blue sendmail[5341]: m9NIHlEn005340: done; delay=00:00:00, ntries=1

Qiao said...

You doesn't seem to have stunnel running on the localhost correctly.

anna taylor said...

If Aol Mail is not showing images to mail recipients then to get that fixed, it is advisable to open the mail settings and from there the user will have to get HTML enabled, if needed then for further information the user should get connected with the certified Aol UK Helpline Toll Free Service experts. The lines are open for users all the time.

AOL Desktop Gold said...

This is great information...
Thanks for Sharing...
There can be many factors that could additionally purpose this problem. But, you don’t need to panic in this kind of scenario. As smart men say, precaution is generally higher than therapy. So, in case you cope with a few vital factors throughout the ATT. Internet Yahoo Mail Login, you may avoid getting in problem.