Yes postfix delivers to /var/spool/mail/user and imap moves it to
/home/user/mbox:

See: 

/etc/postfix/main.cf:
**********************
# The home_mailbox parameter specifies the optional pathname of a
# mailbox file relative to a user's home directory. The default
# mailbox file is /var/spool/mail/user or /var/mail/user.....


/usr/doc/imap/FAQ:
******************
A: This is probably caused by the mbox driver.  If the file "mbox" exists on
    the user's home directory and is in UNIX mailbox format, then when INBOX
    is opened this file will be selected as INBOX instead of the mail spool
    file.  Messages will be automatically transferred from the mail spool file
    into the mbox file.

regarding the symlink /var/spool/mail/user to /home/user/mbox: 
I got an errormessage in the maillog: procmail: Renmamed bogus
"/var/spool/mail/user" into /var/spool/mail/BOGUS.user.VgM. So that doesn't work
either.

Dirk


 



Vincent Danen wrote:
> 
> On Sat Nov 11, 2000 at 10:29:43PM +0500, [EMAIL PROTECTED] wrote:
> 
> > The old imap server (4.7) used an existing mbox in the users home
> > direcetory as inbox, mail was automatically moved from
> > /var/spool/mail/user to /home/user/mbox by imap.
> >
> > The imap-2000 also seems to move the mail from /var/spool/mail/user to
> > /home/user/mbox. But it displays /var/spool/mail/user as the inbox which
> > always is empty since the mail was moved to /home/user/mbox. Is there a
> > configuration problem on my side? Anyone else having this problem?
> 
> Are you sure it delivers to /var/spool/mail/user then moves it to
> /home/user/mbox?  What happens if you  symlink /var/spool/mail/user
> to /home/user/mbox?
> 
> --
> [EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
> 1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD
>  - Danen Consulting Services    www.danen.net, www.freezer-burn.org
>  - MandrakeSoft, Inc.           www.linux-mandrake.com
> 
> Current Linux uptime: 4 days 13 hours 46 minutes.

Reply via email to