Help answer threads with 0 replies.
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 02-10-2009, 04:37 AM   #1
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Rep: Reputation: 51
Smart_host ???

I have setup a sendmail server which is running RHEL AS 4 Update 6.I have added as relay thorugh SMART_HOST Entry on that server.Whenever I am sending a mail it is relayed through relay server.

All I can see through:
#sendmail -bv < mailid >

And it displays relay (192.168..140).

How Can I know on relay machine logs if it is transfered through relay or not?
Old 02-10-2009, 09:09 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
Do you mean how can you tell if the relay accepted the email? If so, have a look in /var/log/maillog for something like this:
Feb  9 05:14:33 myhostname sm-mta[30543]: n18JEVEK030540: to=<>, ctladdr=<> (1016/132), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=120437, [203.x.x.x], dsn=2.0.0, stat=Sent (ok:  Message 451228879 accepted)
The status of stat=Sent (ok: Message 451228879 accepted) tells you that the smart host has received the email from your SMTP server.

Do you mean how do you tell that the email has been delivered to the final recipient? If so, you either need to request a receipt notification with your email client (not reliable) or get access to the smart host's logs. I'm told you can also request the DSN information but I haven't had to do that myself.
Old 02-10-2009, 10:08 PM   #3
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51
When a mail is sent to recipient, it travels from mailserver to relay machine and finally to the Recipient Right? Now What I need is I want to check if it has really passed through relay or not.For that I need evidence from ONLY RELAY MACHINE...any logs defining the same as proof.

I understand that:
sendmail -bt <emailid>
can prove it but its only we run at mailserver side.
What about Relay?


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 SMART_HOST auth..... :( nekkutta Slackware 1 04-12-2008 03:35 AM
Sendmail Problems (using smart_host) c00kie Linux - Server 3 01-03-2008 08:55 PM
Sendmail, SMART_HOST, and website ScooterB Linux - Server 1 01-10-2007 04:38 AM
sendmail SMART_HOST configuration henrycoffin Linux - Enterprise 0 12-18-2006 08:59 AM
smart_host configuration in sln Linux - General 5 12-02-2003 03:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:22 PM.

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