-   Linux - Server (
-   -   sendmail can't send to my smtp-server (

boggiTBU 09-02-2007 08:50 AM

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[3695]: l82AKnZ4003695: from=<Betti@mail.chapati>, size=1626, class=0, nrcpts=1, msgid=<L3B0E0A6CD50249c7B294A6CED2222F46.1188735599.mail@MHS>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain []
Sep 2 12:20:56 mail sendmail[3723]: STARTTLS=client,, version=TLSv1/SSLv3, verify=FAIL, cipher=DES-CBC3-SHA, bits=168/168
Sep 2 12:20:56 mail sendmail[3723]: l82AKnZ4003695: AUTH=client, available mechanisms do not fulfill requirements
Sep 2 12:20:56 mail sendmail[3723]: AUTH=client,, temporary failure, connection abort
Sep 2 12:20:56 mail sendmail[3723]: l82AKnZ4003695: to=<>, delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=121626, [], dsn=4.0.0, stat=Deferred: Temporary AUTH failure

and no mail is send.

what can i do?

vedang 09-03-2007 06:22 AM

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/ file aas following.

add following line

FEATURE(`authinfo',`hash -o /etc/mail/authinfo.db')dnl

after this line.

define(`confAUTH_OPTIONS', `A')dnl

save changed and exit.

cd to /etc/mail

create a file as

#vi /etc/mail/authinfo

AuthInfo: "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.

#cd /etc/mail

#makemap hash authinfo < authinfo

#m4 >

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 08:53 PM.