LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to get incoming e-mails to go to IMAP inbox? (https://www.linuxquestions.org/questions/linux-networking-3/how-to-get-incoming-e-mails-to-go-to-imap-inbox-391580/)

capitalista 12-11-2005 01:42 PM

How to get incoming e-mails to go to IMAP inbox?
 
i have installed the courier IMAP server. it works great when i send e-mails, it puts them in my imap folders, etc, however when i receive emails, they just go to /var/mail. how can i get them to go to my imap inbox?

zeos 12-11-2005 09:50 PM

Assuming your using procmail with your MDA and maildir format, simply edit /etc/procmailrc and add:

Code:

MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR

obviously, replace Maildir with the actual maildir name in the users home directory (if that isn't it).

ETA, if the mail dir doesn't exist yet, run maildirmake Maildir with the user (ie, not as root)


All times are GMT -5. The time now is 07:16 AM.