Problems host name lookup failure sendmail


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Problems host name lookup failure sendmail
# 1  
Old 09-05-2019
Problems host name lookup failure sendmail

Hi
I have a problem in sendmail Freebsd when sending emails to yahoo as an example, I get:
Code:
 
Sep  5 10:05:43 local50 sm-mta[43926]: STARTTLS=client, error: connect failed=-1, SSL_error=1, errno=0, retry=-1
Sep  5 10:05:43 local50 sm-mta[43926]: STARTTLS=client: 43926:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:596:
Sep  5 10:05:43 local50 sm-mta[43926]: ruleset=tls_server, arg1=SOFTWARE, relay=mta6.am0.yahoodns.net, reject=403 4.7.0 TLS handshake failed

Any solution?

Last edited by rbatte1; 09-05-2019 at 12:38 PM..
# 2  
Old 09-05-2019
How is your server trying to connect to the relay mta6.am0.yahoodns.net? You might try to check if you can get a response from telnet mta6.am0.yahoodns.net 25

Maybe you could also post us the output/errors (wrapped in CODE tags) from something like sendmail -v target.email.address@target.domain < <(printf "Subject: Test email to diagnose\nHere is a line of content\n)

The output/trace might be returned as an email to your local user account, so check there if it just says Mail Delivery Status Report will be mailed to local.username



Robin
# 3  
Old 09-05-2019
It seems to be an SSL problem. I think the current version of Openssl is 1.0.2. What version do you have?

openssl version will tell you. Please tell us what you find, as well as your Linux distro and version. That way we can help
# 4  
Old 09-05-2019
By taking that test I get:
#telnet mta6.am0.yahoodns.net 25
Trying 67.195.204.77...
Connected to mta6.am0.yahoodns.net.
Escape character is '^]'.
220 mtaproxy106.free.mail.bf1.yahoo.com ESMTP ready
ehlo localhost
250-mtaproxy106.free.mail.bf1.yahoo.com
250-PIPELINING
250-SIZE 41943040
250-8BITMIME
250 STARTTLS

--- Post updated at 05:20 PM ---

The version I have is OpenSSL 0.9.8k 25 Mar 2009
This inconvenience is happening now, a few days ago it did not happen, is there any way to sendmail skips TLS in some domains?

--- Post updated at 05:38 PM ---

By taking that test I get:
#telnet mta6.am0.yahoodns.net 25
Trying 67.195.204.77...
Connected to mta6.am0.yahoodns.net.
Escape character is '^]'.
220 mtaproxy106.free.mail.bf1.yahoo.com ESMTP ready
ehlo localhost
250-mtaproxy106.free.mail.bf1.yahoo.com
250-PIPELINING
250-SIZE 41943040
250-8BITMIME
250 STARTTLS

--- Post updated at 05:39 PM ---

The version I have is OpenSSL 0.9.8k 25 Mar 2009
This inconvenience is happening now, a few days ago it did not happen, is there any way to sendmail skips TLS in some domains?

--- Post updated at 05:41 PM ---

The message that returns is this ----- Transcript of session follows ----- <ricardoacostait@yahoo.com>... Deferred: Name server: mta7.am0.yahoodns.net.: host name lookup failure
Warning: message still undelivered after 4 hours Will keep trying until message is 5 days old
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Host name Lookup Failure

Dear All , I am able to resolve my server using its ipaddress from other machines. But not from the same machine. But I have updated the DNS entry in /etc/resolv.conf. Even SSH login from other server shows Hostname Lookup Failure. Please help me on this. Rj (5 Replies)
Discussion started by: jegaraman
5 Replies

2. Solaris

DNS Lookup failure:

I am facing typical problem with apache as proxy. my solaris box was running with apache1.3, due to security issue i have updated to apache 2.2. I don't have any DNS set up onmy network. I was able to connect to internet apache 1.3 working as proxy server. http and https are working fine. when... (3 Replies)
Discussion started by: sns_sns
3 Replies

3. Shell Programming and Scripting

SendMail Function Failure

Hi All, Background: We use SendMail function (given below) to send emails to users. The email address are obtained as ouptut of a stored procedure in sybase. We have defined a SendMail function as below in a .pm file and it is used in a .pl script. Code Snippet: sub SendMail { ... (1 Reply)
Discussion started by: vigdmab
1 Replies

4. Solaris

Mail issue solution query- host map: lookup (domain): deferred

Hi all I had a mail issue earlier today where I was not receiving any emails from the servers of one of our clients. The mail queue just showed this: -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- o8S7eSpp020274* 5858 Tue Sep 28 10:42... (0 Replies)
Discussion started by: notreallyhere
0 Replies

5. Solaris

Host name lookup failure.

Hi Gurus I am getting the following message continuosly in my /var/adm/messages file: Aug 3 13:31:21 mumux102 sendmail: n6UHxxTm019703: to=postmaster, delay=3+14:00:01, xdelay=00:00:00, mailer=relay, pri=30730707, relay=fisbomrelay.fnfis.com, dsn=4.0.0, stat=Deferred: Name server:... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies

6. Shell Programming and Scripting

Problems using join for simple database lookup

I am trying to get a script working that will perform a simple database lookup using the join command. Here are the two files that I am trying to join: % cat lookup1.txt Number_1 Other_data_a Number_5 Other_data_b Number_8 Other_data_c Number_10 Other_data_d % cat... (2 Replies)
Discussion started by: JasonHamm
2 Replies

7. AIX

prevent sendmail do DNS lookup

Hello! How do I prevent AIX sendmail from doing a DNS lookup prior sending the mail? (we still need to have the DNS resolving on AIX level). We are running AIX 6.1 and 5.3. //sap4ever (1 Reply)
Discussion started by: sap4ever
1 Replies

8. UNIX for Advanced & Expert Users

Capturing sendmail success/failure?

I am working on a project that will use sendmail to send reports form a shell script. Since these reports are very important and go out at all times of the day, I need to be able to capture if sendmail is unsuccessful or errors out. The emails may have multiple recipients with multiple attachments.... (2 Replies)
Discussion started by: ssracer
2 Replies

9. UNIX for Dummies Questions & Answers

add route gives target: Host name lookup failure

We need to add our remote office to our linux routing table. Our internal office ip addresses are all in the range of 198.9.200.x with an subnet mask of 255.255.255.0 the remote office has ip addresses in the range of 192.168.0.0 and also a subnet mask of 255.255.255.0 when i use the... (3 Replies)
Discussion started by: progressdll
3 Replies

10. UNIX for Advanced & Expert Users

sendmail : 550 host unknown

Hi I try to configure snedmail as smtp for my solaris box. if the useres are local there's no problem everything's working fine, but is it outside, sendmail says it could find the host. why?! all other tools find diffrent host? Could anyone tell me how I set up an easy mx ? So I test it with... (29 Replies)
Discussion started by: mrsaint
29 Replies
Login or Register to Ask a Question