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 01-16-2012, 12:13 PM   #1
jbinmt01
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Rep: Reputation: Disabled
Sendmail not receiving email for one user


I apologize if I have missed a thread that describes this, but I have been looking for hours for a solution.

I have recently set up a sendmail server for my company. I have about 30 users on it and it has been working fine for a week with all users on it. It also worked correctly for over a month with a small number of test users on it.

This weekend I enabled SMTP_Auth. Every user except one has not seen any problems. It was (for them) a flawless upgrade. This one user account is one of 4 that a single person here uses. The other 3 accounts this user accesses are working correctly. It is only this one account that does not seem to receive email. When I look at maillog I see that the message was received for delivery, but it never gets into the mailbox. I have logged into the server directly as this account and used the mail command to verify there is no mail in the mailbox. It is like Sendmail just doesn't try to process the mail after acceptance.

Any ideas on this would be greatly appreciated.

Thank you.
 
Old 01-16-2012, 12:35 PM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Have you tried deleting and re-creating the user from scratch?
 
Old 01-16-2012, 12:43 PM   #3
jbinmt01
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Yes I have.

Also I have been watching maillog. This is what was just posted about a test email I just sent to the account:

Jan 16 11:35:59 mail sendmail[24413]: q0GIZsQ8024413:
from=<tech@livent.net>, size=2356, class=0, nrcpts=1, msgid=<005f01ccd47d$b3787c00$1a697400$@net>, proto=ESMTP, daemon=MTA, relay=[10.1.4.1] Jan 16 11:35:59 mail spamd[16317]: spamd: connection from localhost.localdomain [127.0.0.1] at port 46037

Jan 16 11:35:59 mail spamd[16317]: spamd: setuid to root succeeded

Jan 16 11:35:59 mail spamd[16317]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody

Jan 16 11:35:59 mail spamd[16317]: spamd: processing message <005f01ccd47d$b3787c00$1a697400$@net> for root:99 Jan 16 11:35:59 mail spamd[16317]: plugin: eval failed: bayes: (in
learn) locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/bayes.lock.mail.yctest.info.16317
for /root/.spamassassin/bayes.lock: Permission denied

Jan 16 11:35:59 mail spamd[16317]: spamd: clean message (-1.0/5.0) for root:99 in 0.3 seconds, 2620 bytes.

Jan 16 11:35:59 mail spamd[16317]: spamd: result: . 0 - ALL_TRUSTED,HTML_MESSAGE,MIME_HTML_MOSTLY
scantime=0.3,size=2620,user=root,uid=99,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0 .1,rport=46037,mid=<005f01ccd47d$b3787c00$1a697400$@net>,autolearn=unavailable

Jan 16 11:35:59 mail sendmail[24414]: q0GIZsQ8024413: to=root, ctladdr=<tech@livent.net> (508/508), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32571, dsn=2.0.0, stat=Sent

I see by this that it now appears that it is sending the emails to root...

Previously there was nothing showing it was delivered at all.
 
Old 01-16-2012, 03:22 PM   #4
jbinmt01
LQ Newbie
 
Registered: Jan 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Never mind. I found it. The email in question was News@.... and in the aliases db there was a default alias pointing to root. I missed this the first time through, and because we implemented that a week ago and the email didn't start screwing up (that we knew of) till today, it wasn't where I looked first.

Thanks for your help anyway. It's nice to know someone's got my back.
 
  


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
Not receiving mails from only root user(receiving from others) in RHEL 4.5 narunice Linux - General 1 11-18-2010 08:20 AM
[SOLVED] Sendmail - Need to block email to root from outside, but keep receiving from inside bbainter Linux - Server 2 05-05-2010 12:35 PM
How to enable/disable user's access to email (sendmail) jcrapps Linux - Enterprise 9 09-05-2009 02:25 AM
Sendmail block email to particular user on same domain CEdstrom Slackware 4 10-16-2008 11:27 AM
sendmail not sending or receiving email kaplan71 Linux - Software 1 12-20-2005 08:26 AM

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

All times are GMT -5. The time now is 03:30 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