Hi,

I am running postfix 2.6.6 on CentOS 6.2.
I set up postfix to use virtual mailbox referring to this
(http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox)

When the server starts, it can't deliver mail to virtual mailbox
(mails are stuck in the queue).
I see this in the maillog:

~~~~~~
Jun  2 20:35:43 localhost postfix/virtual[2122]: fatal: open lock file
pid/unix.virtual: cannot open file: Permission denied
Jun  2 20:35:44 localhost postfix/master[1784]: warning: process
/usr/libexec/postfix/virtual pid 2122 exit status 1
Jun  2 20:35:44 localhost postfix/master[1784]: warning:
/usr/libexec/postfix/virtual: bad command startup -- throttling
~~~~~~

However, when I execute `postfix stop; postfix start` in shell,
postfix starts delivering mail to virtual mailbox and the message
didn't appear again.
But then when the machine is restarted (both warm reboot and cold
reboot), the problem appears again. The only fix I know is to execute
`postfix stop; postfix start` manually.

The file: `/var/spool/postfix/pid/unix.virtual` is owned by root and
has permission 0600 (rw for root only). It was set with `postfix
set-permissions`.

This is quite strange because when the server boots and start postfix
automatically, it is supposed to do the same as `postfix start`.
Anyone have any idea?

Thanks,
Alvin Wong

Reply via email to