Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 30949 - Sendmail doesn't log From: in most cases
Sendmail doesn't log From: in most cases
Product: Red Hat Linux
Classification: Retired
Component: sysklogd (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2001-03-07 10:38 EST by Fran Boon
Modified: 2014-03-16 22:19 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-01-27 13:33:51 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Fran Boon 2001-03-07 10:38:55 EST
Although the To: part is logged fine when mail is delivered, the From: 
line is virtually never logged as mail is accepted.
I have been unable to work out why it was on the rare occasion when it was.
Comment 1 Need Real Name 2002-02-20 12:03:58 EST
I am also seeing this problem with different version of Sendmail and RH.  I 
have seen it with RH7.0 and Sendmail 8.9.3 and 8.12.2.

If I stop Sendmail and stop syslog and then start syslog and then start 
sendmail it will then log correctly again -- with the "from" line.

The sendmail people say it is a bug in syslog (from sendmail newsgroup): the 
likely cause is a broken syslog() function in the C library. Restarting the 
sendmail daemon should "fix" it until next time you restart the syslog
Comment 2 Oliver Schulze L. 2002-10-05 12:09:35 EDT
If you see a from=<> line in your /var/log/maillog, thats normal.
It is not imperative that sendmail shows the from= email in maillog.
Sometimes the smtp server that sends the email to sendmail, does not include
that line. It can be omited.

Note You need to log in before you can comment on or make changes to this bug.