LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-02-2007, 07:50 AM   #1
boggiTBU
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Question 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?
 
Old 09-03-2007, 05:22 AM   #2
vedang
Member
 
Registered: May 2006
Posts: 89

Rep: Reputation: 15
Smile 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" "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.

Last edited by vedang; 09-03-2007 at 05:23 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setup an smtp server to send email everywhere mariogarcia Linux - Server 3 08-04-2007 09:10 PM
can I use sendmail for SMTP instead of my ISP's SMTP server? fcdev Linux - Networking 1 02-05-2007 01:27 AM
how to send emails through ISP's smtp server coontie Linux - Software 14 06-07-2006 02:20 PM
can't send email, smtp or sendmail dtra Linux - Software 1 11-19-2005 06:00 PM
SENDMAIL as an SMTP RELAY SERVER that can send email to internet. how? kublador Linux - Software 7 10-25-2003 08:43 AM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration