Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-29-2009, 11:08 AM   #1
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Rep: Reputation: 51
Sendmail Issue ?

I have a dial-up connection and my Laptop is running Sendmail.I performed the following step:

DAEMON_OPTIONS ('Port=smtp,Addr=,Name=MTA')dnl
Ran m4 and restarted the sendmail service.

When I am attempting the send mail to my Gmail account:
It shows:

[root@localhost mail]# m4  >
[root@localhost mail]# service sendmail restart
Shutting down sm-client:                                   [  OK  ]
Shutting down sendmail:                                    [  OK  ]
Starting sendmail:                                         [  OK  ]
Starting sm-client:                                        [  OK  ]
[root@localhost mail]# echo "hello" | mail -v -s "hi" Connecting to [] via relay...
220 localhost.localdomain ESMTP Sendmail 8.14.3/8.14.3; Fri, 30 Oct 2009 02:00:31 +0530
>>> EHLO localhost.localdomain
250-localhost.localdomain Hello localhost [], pleased to meet you
250 HELP
>>> MAIL From:<root@localhost.localdomain> SIZE=215 AUTH=root@localhost.localdomain
250 2.1.0 <root@localhost.localdomain>... Sender ok
>>> RCPT To:<>
>>> DATA
250 2.1.5 <>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 n9TKUVJJ003191 Message accepted for delivery Sent (n9TKUVJJ003191 Message accepted for delivery)
Closing connection to []
>>> QUIT
221 2.0.0 localhost.localdomain closing connection
1:54:05 localhost sm-msp-queue[3114]: starting daemon (8.14.3): queueing@01:00:00
Oct 30 02:00:16 localhost sendmail[3176]: starting daemon (8.14.3): SMTP+queueing@01:00:00
Oct 30 02:00:16 localhost sm-msp-queue[3185]: starting daemon (8.14.3): queueing@01:00:00
Oct 30 02:00:31 localhost sendmail[3190]: n9TKUVT4003190: from=root, size=215, class=0, nrcpts=1, msgid=<200910292030.n9TKUVT4003190@localhost.localdomain>, relay=root@localhost
Oct 30 02:00:31 localhost sendmail[3191]: n9TKUVJJ003191: from=<root@localhost.localdomain>, size=477, class=0, nrcpts=1, msgid=<200910292030.n9TKUVT4003190@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost []
Oct 30 02:00:31 localhost sendmail[3190]: n9TKUVT4003190:, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30215, relay=[] [], dsn=2.0.0, stat=Sent (n9TKUVJJ003191 Message accepted for delivery)
The Command mailq says:
[root@localhost mail]# mailq
		/var/spool/mqueue (1 request)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
n9TKUVJJ003191        6 Fri Oct 30 02:00 <root@localhost.localdomain>
                 (Deferred: 421-4.7.0 [] Our system has detecte)
		Total requests: 1
[root@localhost mail]#
Any idea how can i make it work?
Old 10-29-2009, 11:28 AM   #2
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Nmap output says:

[root@localhost ~]# nmap -vv localhost

Starting Nmap 5.00 ( ) at 2009-10-30 02:28 IST
NSE: Loaded 0 scripts for scanning.
Warning: Hostname localhost resolves to 2 IPs. Using
Initiating SYN Stealth Scan at 02:28
Scanning localhost ( [1000 ports]
Discovered open port 111/tcp on
Discovered open port 25/tcp on
Discovered open port 22/tcp on
Discovered open port 631/tcp on
Discovered open port 10000/tcp on
Completed SYN Stealth Scan at 02:28, 0.07s elapsed (1000 total ports)
Host localhost ( is up (0.000018s latency).
Scanned at 2009-10-30 02:28:12 IST for 0s
Interesting ports on localhost (
Not shown: 995 closed ports
22/tcp    open  ssh
25/tcp    open  smtp
111/tcp   open  rpcbind
631/tcp   open  ipp
10000/tcp open  snet-sensor-mgmt

Read data files from: /usr/share/nmap
Nmap done: 1 IP address (1 host up) scanned in 0.14 seconds
           Raw packets sent: 1000 (44.000KB) | Rcvd: 2005 (84.220KB)
[root@localhost ~]#


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
Sendmail Issue? your_shadow03 Linux - Server 16 12-17-2008 10:31 AM
Sendmail issue (did not issue MAIL/EXPNVRFY/ETRN ...) Blackout_08 Linux - Server 0 08-08-2007 02:10 PM
Sendmail issue jaga_thiru Linux - Enterprise 2 05-29-2007 08:42 PM
sendmail issue kartthikr Linux - Software 3 11-18-2006 08:12 AM
sendmail issue archangel Linux - Networking 1 11-13-2002 06:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 AM.

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