very close on email
Im working on a Postfix-Procmail-Fetchmail-Courier IMAP server.... Outgoing mail works fine.
But incoming mail is not being going to my squirrelmail inbox. Although I can check this via evolution. It looks like mail is being delivered to /usr/bin/procmail via this file in the logs: Oct 19 20:04:08 www postfix/local[16005]: F398A4EED1: to=<username@domain.com>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail) My postfix main.cf file has these two lines mailbox_command = /usr/bin/procmail home_mailbox = Maildir/ So I guess my question is... hmm what the hell is my question?... Is IMAP receiving my emails? Why are they being sent into /usr/bin/procmail and not Maildir/ ? How can I get these emails sent into my ~/Maildir? thnx. |
I believe the mailbox_command is what you use when you have procmail deliver mail to the appropriate folder within your Maildir. The procmail portion is setup in a .procmailrc (IIRC) in each users homedir. If you don't have this file, or have not setup procmail at all yet, then either read up on it quickly and institute it accordingly, OR comment out the line for mailbox_command and restart postfix. From there, your IMAP server, courier, should be setup to deliver the mail into your Maildir.
Check your /etc/courier-imap/imapd file to ensure your have: MAILDIR=Maildir setup correctly. Again, restart courier-imap afterwards. Cool |
A follow up:
Procmail is an excellent powerful tool for mail sorting. Should you need this, and your client side filters aren't sufficient, certainly read up on the usage of procmail. Cool |
exactly right I didnt have the procmailrc setup.
Thank you so much. |
All times are GMT -5. The time now is 08:03 PM. |