On Fri, May 22, 2009 at 12:36 PM, Victor Duchovni <victor.ducho...@morganstanley.com> wrote: > On Fri, May 22, 2009 at 12:33:22PM -0700, tom lee wrote: > >> > >> > Please show actual evidence that mail is delivered to the mailspool >> > directory while home_mailbox is set in main.cf: >> > >> > 1) Command output from "postconf -n home_mailbox". >> >> $ postconf -n home_mailbox >> home_mailbox = Maildir/ >> >> > 2) Logging that shows delivery to system mailbox. >> >> procmail: Error while writing to "/Users/username/Maildir/" >> From x...@xxxx.com Tue May 21 11:18:25 2009 >> Subject: test >> Folder: /var/mail/username > > When mail is delivered to procmail (mailbox_command, .forward, ...) > naturally it is up to procmail, not Postfix to select the final mailbox.
my procmail setting is very simple: VERBOSE=yes LOGFILE=/var/log/procmail.log USERINBOX="$HOME/Maildir/" :0 $USERINBOX so, if $USERINBOX is not writable, procmail delivered the mail to /var/mail, not the postfix. (I may change USERINBOX to the external storage eventually) . not sure if there is a way to let procmail to stop the delivery to /var/mail? maybe I need to check procmail mailing lis. Thanks. Tom