LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   sendmail can't send to my smtp-server (https://www.linuxquestions.org/questions/linux-server-73/sendmail-can%27t-send-to-my-smtp-server-581635/)

boggiTBU 09-02-2007 07:50 AM

sendmail can't send to my smtp-server
 
Hello

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

Quote:

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 [127.0.0.1]
Sep 2 12:20:56 mail sendmail[3723]: 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[3723]: l82AKnZ4003695: AUTH=client, available mechanisms do not fulfill requirements
Sep 2 12:20:56 mail sendmail[3723]: AUTH=client, relay=mailout.chapati-design.de., temporary failure, connection abort
Sep 2 12:20:56 mail sendmail[3723]: l82AKnZ4003695: to=<micha@bogdoll.de>, delay=00:00:05, xdelay=00:00:05, mailer=relay, pri=121626, relay=mailout.chapati-design.de. [217.115.142.77], dsn=4.0.0, stat=Deferred: Temporary AUTH failure


and no mail is send.

what can i do?

vedang 09-03-2007 05: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/sendmail.mc 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: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.

#cd /etc/mail

#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 07:49 AM.