[wplug-bsd] new install: postfix
Brandon Kuczenski
brandon at 301south.net
Tue Jul 20 22:34:13 EDT 2004
> > What does postqueue -p tell you? If the queue is empty, then your mail
> > is going _somewhere_. It's possible that local delivery is not set up
> > as you expect, and your mail programs are looking in a different location
> > than Posfix is? (I'm kind of grasping at straws ...)
>
> Well, I discovered something. /var/log/maillog tells me that everything
> was "sent" through "|/usr/local/bin/procmail" which is exactly what I
> wanted. The queue is empty. All the mail has gone into /var/mail/nobody
> for some reason. I suppose it could be a procmail configuration issue.
> Anyone here use procmail? I've been using it (with no setup except a
> .procmailrc in my home directory) on Linux without problems (other users
> do not have .procmailrc files and they also get their mail).
One more problem solved. From postfix's main.cf:
# The mailbox_command parameter specifies the optional external
# command to use instead of mailbox delivery. The command is run as
# the recipient with proper HOME, SHELL and LOGNAME environment settings.
# Exception: delivery for root is done as $default_user.
...snip...
#
# IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN
# ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER.
#
mailbox_command = /usr/local/bin/procmail
-brandon
More information about the wplug-bsd
mailing list