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

Notices


Reply
  Search this Thread
Old 05-20-2007, 11:53 PM   #1
ABL
Member
 
Registered: Mar 2005
Location: NYC
Distribution: CentOS 5
Posts: 54

Rep: Reputation: 16
Broken Sendmail


yesterday morning, Yum updated my sendmail (yes, I know I probably shouldn't allow this, but I'm new to CentOS--Never had auto updates before), and now it won't work. CentOS 4.5, sendmail 8.13.1.

Basically, I can still send mail from my server, but inbound mail cycles through 26 times, and then gets rejected because of too many hops. The end of the logs look like this:

May 21 00:33:06 sendmail[29215]: l4L4X6mu029215: from=<alden@OUTSIDEDOMAIN>, size=9317, class=0, nrcpts=1, msgid=<001101c79b60$d429bfa0$5a01a8c0@Alden>, proto=ESMTP, daemon=MTA, relay=mysecondarydnsserver [IP ADDRESS]
May 21 00:33:06 sendmail[29215]: l4L4X6mu029215: to=<alden@SERVERDOMAIN>, delay=00:00:00, mailer=esmtp, pri=39317, stat=queued
May 21 00:33:06 sendmail[29213]: l4L4X1dd029201: to=<alden@SERVERDOMAIN>, delay=00:00:05, xdelay=00:00:00, mailer=esmtp, pri=128959, relay=engineno9inc.com. [209.62.15.67], dsn=2.0.0, stat=Sent (l4L4X6mu029215 Message accepted for delivery)
May 21 00:33:08 MailScanner[28794]: New Batch: Scanning 1 messages, 9904 bytes
May 21 00:33:08 MailScanner[28794]: SpamAssassin cache hit for message l4L4X6mu029215
May 21 00:33:08 MailScanner[28794]: Virus and Content Scanning: Starting
May 21 00:33:12 MailScanner[28794]: Uninfected: Delivered 1 messages
May 21 00:33:12 sendmail[29229]: l4L4XCFZ029229: from=<alden@OUTSIDEDOMAIN>, size=9675, class=0, nrcpts=1, msgid=<001101c79b60$d429bfa0$5a01a8c0@Alden>, proto=ESMTP, daemon=MTA, relay=mysecondarydnsserver [IPADDRESS]
May 21 00:33:12 sendmail[29229]: l4L4XCFZ029229: to=<alden@SERVERDOMAIN>, delay=00:00:00, mailer=esmtp, pri=39675, stat=queued
May 21 00:33:12 sendmail[29229]: l4L4XCFZ029229: SYSERR(root): Too many hops 26 (25 max): from <alden@nyc.rr.com> via mysecondarydnsserver, to <alden@SERVERDOMAIN>

Any help would be appreciated.

Thanks,
Alden
 
Old 05-21-2007, 12:59 AM   #2
slimm609
Member
 
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 430

Rep: Reputation: 67
try stopping spamassasin resending a test message. I have seen this problem before with a client of mine that was running centos. i dont rememeber what the exact problem was but i remember that it was a spamassasin problem
 
Old 05-21-2007, 03:51 AM   #3
ABL
Member
 
Registered: Mar 2005
Location: NYC
Distribution: CentOS 5
Posts: 54

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by slimm609
try stopping spamassasin resending a test message. I have seen this problem before with a client of mine that was running centos. i dont rememeber what the exact problem was but i remember that it was a spamassasin problem
Actually, all I had to do was stop MailScanner (which starts sendmail on its own), service start sendmail, wait a few minutes, stop sendmail, then start MailScanner. Apparently, when I start sendmail manually, it does some extra stuff (e.g., rebuilding access.db).

In any event, it works now.

Thanks!
 
Old 05-21-2007, 04:14 AM   #4
slimm609
Member
 
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 430

Rep: Reputation: 67
cool im glad that worked.

CentOS does a few weird things in there distro.
 
  


Reply



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 config questions + Sendmail not reflecting changes to access db wbuik Linux - Networking 2 03-26-2009 05:02 AM
sendmail is not working & on $prompt the cmd sendmail hangs Pavan mahoorker Linux - Software 1 04-04-2006 03:57 PM
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 02:55 PM
RH9 sendmail smtp broken after Fedora 1 upgr r00tnuke Fedora 1 02-26-2004 09:35 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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