by
scott » Tue May 08, 2018 4:28 pm
Hi folks,
We really need a wiki page to describe this better, but I posted how to do this last wednesday:
viewtopic.php?f=13&t=5350&start=192
Here is my response:
warriorz wrote:Thanks Scott,
One last clarification. I want to forward mail to the IMAP folders. What path do they appear under ?
Hi, sorry for my late reply -- had to make sure I knew how to do this properly first.
Basically, you set things up like this:
Code: Select all
LOGFILE=/home/s/scott/procmailrc.logfile
MAILDIR=/var/spool/mail/12/22/scott
:0
* proctest
.PROCTEST/
This will put mail with "proctest" in the header in the IMAP folder "PROCTEST". If the folder's spool directory doesn't exist, it will be created.
Note that you still need to subscribe to the folder with your IMAP client.
To find out the value for "MAILDIR", use the command "wheresthemail.pl" on either shell server, and remove the trailing slash from the path name.
I can see that this should be added to the wiki, and we'll do that.
Hope that helps.
-Scott