LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2010, 12:51 PM   #1
ciroesposito13@gmail.com
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Rep: Reputation: 0
problems with sendmail


Hi.

Thank you in advance for any hint on the following problem.

I have Scientific Linux 5.3 (Red Hat 5.1)

Application fails to send mail.

/var/log/mailog is as follows:

Jul 11 19:05:25 localhost sendmail[4871]: o6BH3hHq004871: from=ciroesposito13@gmail.com, size=25, class=0, nrcpts=1, msgid=<201007111704.o6BH3hHq004871@localhost.localdomain>, proto=SMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]

Jul 11 19:07:29 localhost sendmail[4875]: o6BH3hHq004871: to=ciroesposito13@libero.it, delay=00:02:39, xdelay=00:02:04, mailer=esmtp, pri=120025, relay=mxlibero3.libero.it. [212.52.84.165], dsn=4.0.0, stat=Deferred: Connection timed out with mxlibero3.libero.it.


using telnet to port 25 instead:

elnet localhost 25

Trying 127.0.0.1...

Connected to localhost.localdomain (127.0.0.1).

Escape character is '^]'.

220 localhost.localdomain ESMTP Sendmail 8.13.8/8.13.8; Sun, 11 Jul 2010 19:03:43 +0200

helo gmail.com

250 localhost.localdomain Hello localhost.localdomain [127.0.0.1], pleased to meet you

MAIL FROM:ciroesposito13@gmail.com

250 2.1.0 ciroesposito13@gmail.com... Sender ok

RCPT TO: ciroesposito13@libero.it

250 2.1.5 ciroesposito13@libero.it... Recipient ok

DATA

354 Enter mail, end with "." on a line by itself

Subect: prova invio

ciao

.

250 2.0.0 o6BH3hHq004871 Message accepted for delivery

quit

221 2.0.0 localhost.localdomain closing connection

Connection closed by foreign host.


Ciro
 
Old 07-11-2010, 03:58 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
The problem is at the other end. The mailserver you are sending to is, deliberately or otherwise, not responding within a reasonable time. Sometimes they do that if you don't have reverse ip mapping set up for your domain or host.

I take it that the command line example went through ok ?
 
Old 07-12-2010, 12:57 PM   #3
ciroesposito13@gmail.com
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Hi.
Thanks for the reply.
How do I set reverse ip for my host?
Reading online, unless I misunderstood, I should set the BIND named.conf file but my default distro installs only "bind-libs-9.3.6-4.P1el5_4.2.i386" and "bind-utils-9.3 .6-4. P1el5_4.2.i386.
I tried to install bind-9.3.6-4.P1el5_4.2.i386 but the named daemon is stopped:
rndc: connect failed: 127.0.0.1 # 953: connection refused
Named interrupted.
Thank you.
Ciro
 
Old 07-12-2010, 01:35 PM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Do you have a fixed ip address ? How is your server connected to the internet ?
If you are using a home connection with dynamic ip then it's not worth trying as it will change. Either way, whoever supplies your ip address will have to do the reverse mapping to your host.
And as it appears that your command line attempt succeeded, there seems to be no need.
 
Old 07-13-2010, 02:37 AM   #5
ciroesposito13@gmail.com
LQ Newbie
 
Registered: Jul 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Hi.
I'm testing my server with a connection to home.
Unfortunately, the mail does not arrive.
Thank you.
Ciro
 
  


Reply



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
Fetchmail/Sendmail problems - some domains don't resolve (and other problems) Nylex Linux - Software 3 10-13-2006 11:56 AM
Sendmail problems bennethos Linux - Software 1 03-30-2006 02:14 PM
Problems with Sendmail.. daleo *BSD 0 02-17-2006 09:26 AM
sendmail problems bdoster Linux - Networking 2 10-29-2004 01:24 PM
Sendmail problems ascii2k Linux - Networking 9 05-19-2001 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration