Current time: 07-03-2024, 05:22 PM Hello There, Guest! (LoginRegister)


Post Reply 
maildir delivery failed
Author Message
_lunix_ Offline
Newbie
*

Posts: 8
Joined: Aug 2008
Reputation: 0
Post: #5
RE: maildir delivery failed
_lunix_ Wrote:I am getting the same problem on CentOS 5.2
It is a procmail problem.
If I change postfix to use its own local delivery agent instead of procmail then the mail is delivered fine.
I will now try to work this out.
Any one already solved this issue ?

Just one thing first.
I am using local delivery for local mail. ie: mail for an actual system user and not a virtual domain.
When the first ever email arrives for a local (/etc/passwd) user it tries to deliver it to
Code:
/var/mail/$user
but gets a 'permission denied' error.
When I change postfix to use its own delivery agent instead of procmail it works fine as postfix is delivering to
Code:
/var/spool/mail/$user
Once the maildir is already there then procmail delivery works fine.
How can I get procmail to use
Code:
/var/spool/mail/$user ??
I have put the following into /etc/procmailrc
Code:
# .procmailrc
# routes incoming mail to appropriate mailboxes
PATH=/usr/bin:/usr/local/bin
MAILDIR=/var/spool/mail
LOGFILE=/var/log/procmail.log
LOGABSTRACT=yes
SHELL=/bin/bash

cat /var/log/procmail.log
Code:
From test@xxxxx.xxx  Thu Sep 11 15:04:28 2008
  Folder: /var/mail/lunix                                                   550

Is procmail actually a dependency of ispCP or can I just use postfix local delivery agent ?

Mick
09-11-2008 03:37 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
maildir delivery failed - Cercetasu - 07-09-2008, 02:50 AM
RE: maildir delivery failed - kilburn - 07-09-2008, 07:37 PM
RE: maildir delivery failed - Cercetasu - 07-09-2008, 09:02 PM
RE: maildir delivery failed - _lunix_ - 09-11-2008, 02:43 PM
RE: maildir delivery failed - _lunix_ - 09-11-2008 03:37 PM
RE: maildir delivery failed - gagi2 - 09-11-2008, 11:06 PM
RE: maildir delivery failed - joximu - 09-12-2008, 04:36 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)