LinuxQuestions.org
Visit Jeremy's Blog.
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 02-15-2017, 08:38 PM   #1
cheerful
Member
 
Registered: Jul 2007
Posts: 43

Rep: Reputation: 15
Sendmail log: did it actually accepted the message?


Hi,

I'm running sendmail 8.14 on CentOS. Things work most of time. However, recently I started to get some complaint about not receiving some emails.

For example, I can find the following in the /var/log/maillog (I've removed actual school name but I verified that all hostname is resolvable by DNS)

Feb 15 16:06:23 server sendmail[26672]: v1FL6NRi026672: from=<xyz@eservices.school.edu>, size=36199, class=0, nrcpts=1, msgid=<8e97619b-27c7-79c2-c40d-51c69b88c9e5@eservices.school.edu>, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=school2.edu [128....]
Feb 15 16:06:24 xtl sendmail[26673]: v1FL6NRi026672: to=\\abc, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=96426, dsn=2.0.0, stat=Sent

However, abc can't find email from xyz in the inbox or spam folder around that time.

What does the above log mean? Does it mean the message is actually received, accepted and delivered to the inbox? If so, what could happen to the message?

Thanks
 
Old 02-16-2017, 05:14 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by cheerful View Post
Feb 15 16:06:24 ...stat=Sent
is unclear?
 
Old 02-16-2017, 06:19 AM   #3
cheerful
Member
 
Registered: Jul 2007
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Habitual View Post
is unclear?
So it's accepted into inbox, right?
 
Old 02-16-2017, 06:42 AM   #4
af7567
Member
 
Registered: Nov 2012
Posts: 213

Rep: Reputation: 78
It looks like it is delivered to the inbox, but it could be directed somewhere else if the mail is going through some other filters. Is your mail getting filtered by spamassassin or something and the log messages for that are being saved somewhere other than maillog?
 
Old 02-16-2017, 10:42 AM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by cheerful View Post
So it's accepted into inbox, right?
Accepted by the system, usually for processing, spamassassin, clamav...
 
Old 02-16-2017, 09:48 PM   #6
cheerful
Member
 
Registered: Jul 2007
Posts: 43

Original Poster
Rep: Reputation: 15
One more stupid question.

from=<xyz@eservices.school.edu>

This is the sender address, right?

My problem is I can't find the message anywhere in abc's account.
 
Old 02-17-2017, 06:27 AM   #7
af7567
Member
 
Registered: Nov 2012
Posts: 213

Rep: Reputation: 78
Do you have any spamassassin or clamav log files in /var/log ? If you do then look in them at the date of the missing mail to see if they rejected it.

If mail is working ok most of the time then it probably either got deleted by a filter or by the user.
 
Old 02-21-2017, 02:01 AM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,873

Rep: Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600
As per Habitual, 'Sent' means successfully delivered to the next system in line eg school2.edu, but to find out what that system did with it you will have to check the logs on that system ... and so on down the line.
Good luck
 
Old 02-21-2017, 04:22 AM   #9
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,604

Rep: Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604
the sender (I mean the server) cannot guarantee anything, it knows only if it was passed to the next relay. If you want to know if it was arrived/read you need to request return receipt from the "other", receiver side.
 
Old 02-21-2017, 04:26 AM   #10
af7567
Member
 
Registered: Nov 2012
Posts: 213

Rep: Reputation: 78
The log files posted by the OP show that the mail was send to a local mailbox, it wasn't getting sent to another server.
 
Old 02-21-2017, 05:12 AM   #11
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,865

Rep: Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872
Quote:
Originally Posted by af7567 View Post
The log files posted by the OP show that the mail was send to a local mailbox, it wasn't getting sent to another server.
And not only that.
The "to=\\abc" means that there is a .forward file in abc's home that apart from delivering mail locally to abc, it also forwards it to someone else.
 
2 members found this post helpful.
  


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
PHP mail returns true (Message accepted for delivery), but the message is not sent Sogeking Linux - Server 1 06-09-2013 10:30 PM
Password(s) accepted for login but not accepted for applications. JZL240I-U Ubuntu 29 02-14-2012 11:53 AM
Sendmail - relay only accepted with IP in etc/mai/access 60s TV Batman Linux - Server 1 06-17-2008 06:47 PM
neat command not working azx_get_response timeout message in /var/log/message ninadshaha Red Hat 1 02-19-2008 02:32 PM
Sendmail Log unknown relay address (cron message) leventis Linux - Security 2 05-31-2006 02:23 PM

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

All times are GMT -5. The time now is 12:07 PM.

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