Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-13-2009, 12:06 PM   #1
LQ Newbie
Registered: Apr 2007
Posts: 16

Rep: Reputation: 0
procmail mailboxes ... some work, some don't

'ello all.

I had several accounts up and working, now half of them do not deliver email to the users home directory.

I have the following .procmailrc in each users home directory

Using this .procmailrc I can receive mail, but some other users mail is still being delivered to /var/mail/$USER

ls -al /home/
drwxrwxr-x  5 awyrick    mail 4096 Jan 13 09:35 awyrick
drwxrwxr-x  6 bounces    mail 4096 Jan 13 09:37 bounces
drwxrwxr-x  6 spam       mail 4096 Jan 13 09:39 spam
drwxrwxr-x  2 fsdss      mail 4096 Nov  7 12:42 fsdss
drwxrwxr-x  5 abc        mail 4096 Jan 13 10:51 abc
drwxrwxr-x  6 dfsd       mail 4096 Jan 13 09:55 dfsd
abc, spam and bounces all work. The others get delivered to /var/mail/$USER

Anyone have any ideas? I am at a loss here. All users home directories are owned by $USER:mail
Old 01-13-2009, 01:23 PM   #2
LQ Newbie
Registered: Apr 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Holy crap ...

I had to change the groups for all users to users, change the owner of /home to root:users and chmod -R 755 /home/* and chgrp -R /home/* users
I used
cat /var/mail/mailbox | formail -s sendmail -t ""
to get all of the email delivered to the right boxes.


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 Does Procmail Work w/ MTA? carlosinfl Linux - Server 4 01-31-2008 09:28 PM
Auto reply with postfix and procmail . my setting dosnt's work.? combilli Linux - Software 1 11-03-2006 10:16 AM
qmail work with procmail sizzlingdesi Linux - Software 0 11-02-2006 07:44 PM
Procmail Vs. Mailboxes hzs202 Linux - Software 2 08-07-2005 06:53 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 08:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration