Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-20-2010, 10:58 PM   #1
LQ Newbie
Registered: Oct 2008
Posts: 18

Rep: Reputation: 0
Sendmail Error - Rejected after DATA: could not verify "From:" header address"

Hi all, I have spent three days on this and am at my end so help would be greatly appreciated. I have a server running CentOS 5.5 and Sendmail 8.13.8. All works fine except for emails from Logwatch. I see this in the maillog:

Jul 20 07:49:24 ifsboss sendmail[1027]: o6K5aIc0000515:, ctladdr=<> (0/0), delay=00:13:06, xdelay=00:00:45, mailer=relay, pri=210540, [], dsn=4.0.0, stat=Deferred: 451-Rejected after DATA: could not verify "From:" header address

No matter what i have done It still fails on this. To list what I have done is plenty so I thought I'd poll you experts for possible past experience that could either confirm I am on the right track, or point me to it.

If I try force the mail that is stalled in the mailq I see this:

Running /var/spool/mqueue/o6I22Exm009672 (sequence 1 of 1)
<>, Connecting to via relay...
220 ESMTP Exim 4.69 Tue, 20 Jul 2010 07:53:28 +0200
>>> EHLO Hello []
250-SIZE 104857600
250 HELP
>>> MAIL From:<> SIZE=126181
250 OK
>>> RCPT To:<>
250 Accepted
>>> RCPT To:<>
250 Accepted
>>> DATA
354 Enter message, ending with "." on a line by itself
>>> .
451-Rejected after DATA: could not verify "From:" header address could not connect to
451 []: Operation timed out
<>, Deferred: 451-Rejected after DATA: could not verify "From:" header address
Closing connection to
>>> QUIT
221 closing connection

Always that "could not verify "From:" header address". In this case the from address is:

>>> MAIL From:<>

Which is a accepted address as it is mapped: : Address is acceptable as all the users mail addresses are and they all work.

What am I missing?

Old 07-21-2010, 03:32 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,186
Blog Entries: 1

Rep: Reputation: 2047Reputation: 2047Reputation: 2047Reputation: 2047Reputation: 2047Reputation: 2047Reputation: 2047Reputation: 2047Reputation: 2047Reputation: 2047Reputation: 2047

I guess that the remote smtp does not like the sender address ( You see is different from
You can either use masquerade also for root, or if it's possible configure logwatch to use a valid sender address (like

Old 07-22-2010, 07:09 AM   #3
LQ Newbie
Registered: Oct 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for the reply bathory, it is appreciated. I have managed to get this resolved by editing the /etc/mail/ file to masquerade as the correct domain as follows:

dnl # Also accept email sent to "localhost.localdomain" as local email.
dnl #
dnl #
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from
dnl #
dnl #
dnl # masquerade not just the headers, but the envelope as well
dnl #


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
How to get the "data type" of an "unknown variable" in "C Language" ? Affair Programming 8 06-20-2009 12:30 PM
Areca 1220 drivers + FC6 = "Verify ELF error" generic_user Linux - Kernel 1 10-31-2006 05:14 PM
"mythtv-setup" giving "Session management error: Authentication Rejected" Mitchua Ubuntu 0 10-09-2005 04:32 PM
Error: "Tried to connect to session manager, Authentication Rejected, reason : None" randomx Linux - Software 0 01-24-2005 03:44 PM
Email Error - "Recipient address rejected: Relay access denied" ripcord Linux - Newbie 1 10-31-2002 03:00 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:28 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
Open Source Consulting | Domain Registration