Share your knowledge at the LQ Wiki.
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 08-15-2002, 02:35 AM   #1
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Procmail and file permissions

I alternatively use procmail as mailer beside the default mailer Mail.
I found that procmail only delivers mails if the user's mailbox is not empty, i.e. it fails to create the mailbox file (reporting a lock failure). Because of this, many mails have been lost ever since.

The system is FreeBSD + Sendmail + Procmail called via a .forward file.

The users' mailboxes are in /var/mail, which directory has the following permissions:
drwxrwxr-x 3 root mail

The only solution I see is to make /var/mail word-writeable, when mails are actually delivered, but I think this represents a very high security risk.

Is there a better workaround for this problem?


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
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 12:00 PM
procmail auto-reply for non-wanted attachment file types make Linux - Software 1 09-26-2005 02:52 AM
.forwards file with procmail problem kzar Linux - General 1 06-09-2004 11:17 AM
locking a usage policy file/ftp file permissions gbow Linux - Newbie 0 02-16-2004 05:35 AM
Changing file permissions on a SAMBA file share apenney Linux - Software 0 02-11-2002 04:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:23 AM.

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