[KLUG Members] postfix setup problem

Richard Harding members@kalamazoolinux.org
Sun, 25 Apr 2004 11:03:32 -0400


Richard Harding wrote:

> I am working on going through the book "Postfix the Definitive Guide" 
> using my debian server for testing. It is running testing, not woody.
>
> I have it installed and running, however I want to use the maildir 
> format for later imap use. The book says to add a line for 
> mail_spool_directory which I did like so:
> mail_spool_directory = /var/spool/mail/
> (/var/spool/mail was the original folder it was delivering too)
>
Ok, I found out that since I had installed procmail that it was actually 
handling the delivery of the mail. Because of that I needed to change 
the command to look like this in the main.cf file

mailbox_command = /usr/bin/procmail -a "$EXTENSION" 
DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir

Once I did that the user mail was stored in a maildir format.

My new question is that after sending a message from root to the user 
and I su to the user and run the mail command, it says no mail for 
username. However the message is in the new directory.

Any ideas?