LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-10-2009, 05:37 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Smart_host ???


I have setup a sendmail server 192.168.1.137 which is running RHEL AS 4 Update 6.I have added 192.168.1.140 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, 10:09 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
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:
Code:
Feb  9 05:14:33 myhostname sm-mta[30543]: n18JEVEK030540: to=<recipient@some.domain.au>, ctladdr=<me@myhostname.mydomainname.au> (1016/132), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=120437, relay=smart.host.address.au. [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, 11:08 PM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
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:
Code:
sendmail -bt <emailid>
can prove it but its only we run at mailserver side.
What about Relay?
 
  


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


All times are GMT -5. The time now is 06:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration