sendmail can't send to my smtp-server
I have problems to send mail to one of my SMTP-Servers outside my Domain
i have configured my sendmail with smtp-auth. And when i test it with an Strato-Smtp-Mailserver all mails going to the receipient.
But when i used anouther smtp-Mailserver (Hosteurope) i become the following log output from sendmail
Sep 2 12:20:51 mail sendmail: l82AKnZ4003695: from=<Betti@mail.chapati>, size=1626, class=0, nrcpts=1, msgid=<L3B0E0A6CD50249c7B294A6CED2222F46.1188735599.mail@MHS>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Sep 2 12:20:56 mail sendmail: STARTTLS=client, relay=mailout.chapati-design.de., version=TLSv1/SSLv3, verify=FAIL, cipher=DES-CBC3-SHA, bits=168/168
Sep 2 12:20:56 mail sendmail: l82AKnZ4003695: AUTH=client, available mechanisms do not fulfill requirements
Sep 2 12:20:56 mail sendmail: AUTH=client, relay=mailout.chapati-design.de., temporary failure, connection abort
Sep 2 12:20:56 mail sendmail: l82AKnZ4003695: to=<firstname.lastname@example.org>, delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=121626, relay=mailout.chapati-design.de. [220.127.116.11], dsn=4.0.0, stat=Deferred: Temporary AUTH failure
and no mail is send.
what can i do?
SMTP Authentication Problem.
from your description it seems that your sendmail server can send mails to that server which doesn't need authentication.
The one which which denies to give service requires authentication.
I suggest following methods to solve this problem.
edit your /etc/mail/sendmail.mc file aas following.
add following line
FEATURE(`authinfo',`hash -o /etc/mail/authinfo.db')dnl
after this line.
save changed and exit.
cd to /etc/mail
create a file as
AuthInfo:10.2.56.47 "U:user" "P:password" "M:PLAIN"
( change IP address of your SMTP server, change user with real user on that SMTP server and change password with real password of that user.)
save and exit.
now execute following commands.
#makemap hash authinfo < authinfo
#m4 sendmail.mc > sendmail.cf
now restart the sendmail service.
#service sendmail restart
Now try sending mails through this SMTP server. It should work.
Please let me know the result.
|All times are GMT -5. The time now is 04:25 AM.|