LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-27-2005, 02:42 PM   #1
MoveZig
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 3 and 4
Posts: 7

Rep: Reputation: 0
New user can't get mail


I have a mail server that uses fetchmail to take mail from our ISP's POP3 server. It stores it locally so we can use IMAP. I'm using sendmail + procmail to receive the mail and I use dovecot to let our users access it. I'm running on Fedora Core 3.

It has been working perfectly for a long time. Today I added a new user with /usr/sbin/useradd. Any mail sent to this user (locally using sendmail from the command line) is put in /var/mail/newuser instead of homedir/.Maildir/. As far as I can tell there are no differences between this user and the other ones. /etc/procmailrc just has one line: DEFAULT=$HOME/.Maildir/

/home/newuser/.Maildir does exist and has the same permissions as everyone else's .Maildir directory. It is owned by newuser:mail.

Also, when I try to log into dovecot with the newuser account, thunderbird just spins around and doesn't log in. /var/log/maillog says

Sep 27 15:21:01 amun dovecot: chdir(/home/newuser) failed with uid 513: Permission denied
Sep 27 15:21:01 amun imap-login: Login: newuser [::ffff:192.168.6.110]
Sep 27 15:21:01 amun dovecot: child 4553 (imap) returned error 89
Sep 27 15:30:56 amun dovecot: chdir(/home/newuser) failed with uid 513: Permission denied
Sep 27 15:30:56 amun imap-login: Login: newuser [::ffff:192.168.6.110]
Sep 27 15:30:56 amun dovecot: child 4557 (imap) returned error 89


I thought it might be an SELinux issue, but that is disabled. I've restarted sendmail and dovecot, and then I restarted the whole computer. Still no luck.
 
Old 09-28-2005, 09:38 AM   #2
MoveZig
LQ Newbie
 
Registered: May 2004
Distribution: Fedora Core 3 and 4
Posts: 7

Original Poster
Rep: Reputation: 0
I need to turn in my nerd membership card. /home/newuser had permission 600 but of course needed 700. So the user couldn't read from it or write to it or any subdirectories.
 
  


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
Mail going to /var/spool/mail/user and not to Thunderbird pracslipkerm Linux - Newbie 4 06-21-2005 05:58 AM
Qmail problem: ISP mail and virtual mail, "sorry no mailbox, here by that user" barryw Linux - Networking 7 05-28-2005 12:43 PM
why do I keep have a new mail on the user ashley75 Linux - General 4 03-08-2004 06:40 PM
Deactivating Mail User ryancoolest Linux - Newbie 2 01-29-2004 08:59 PM
/var/mail/$USER katana Linux - General 1 08-03-2001 06:54 AM

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

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