Operating System - Linux
1831466 Members
3391 Online
110025 Solutions
New Discussion

Re: Problem after SMTP AUTH

 
Amod
Occasional Advisor

Problem after SMTP AUTH

Hello All,

We have recently introduced SMTP AUTH on our smtp server. But everything is not working as we expected them to work.

After the AUTH was enabled mails from the smtp server (root@smtp.xxx.co.in) are getting blocked due to Authentication failure.

I have attached the sendmail.cf file with this message.

Can someone throw some light ?

Cheers,
Amod.
If you can't change it, enjoy it !!
6 REPLIES 6
Patrick Van Humbeeck
Valued Contributor

Re: Problem after SMTP AUTH

does it help if you add the smtp server's FQDN in /etc/mail/relay-domains ?
Amod
Occasional Advisor

Re: Problem after SMTP AUTH

Yeh Patrick I tried that but no help. My SMTP still asks for Authentication even for local users like root, majordomo etc

Amod.
If you can't change it, enjoy it !!
Patrick Van Humbeeck
Valued Contributor

Re: Problem after SMTP AUTH

and how about adding all needed IP addresses in your access database file ?
it should work if you put entries like
127.0.0.1 RELAY
...

(don't forget to regenerate the db file afterwards, dont remember the syntax on top of my head but it's something like makemap -hash < textfile >/etc/mail/access )

also when you say local mail does not get thru, is that mail sent using the sendmail command locally or by speaking to localhost on the smtp port ?
Amod
Occasional Advisor

Re: Problem after SMTP AUTH

Patrick,

I already have follwoing entries in the /etc/mail/access

localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY

Is there anything wrong in my sendmail.cf ? I have attached it to my original message.

Amod.
If you can't change it, enjoy it !!
Patrick Van Humbeeck
Valued Contributor

Re: Problem after SMTP AUTH

well, I cannot compare it with mine as I cannot connect to my server from here but I got SMTP auth working fine on sendmail (took me a while too :) so if you still cannot get it working I'll compare our config files later when I get a chance.

As for the access file, you did the makemap thing, right ?

what are the error messages you get when a mail bounces, just 'Authentication required' ? I guess you tried increasing the log level already ..
Balaji N
Honored Contributor

Re: Problem after SMTP AUTH

http://www.sendmail.org/~ca/email/auth.html#AUTH

did u read this?
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.