Quote:
1 - I want to configure procmail to forward all the mail with the To header from emacs@mailserver.com to /home/user/Mail/INBOX/emacs/ directory. How can i do that?
|
I have a .procmailrc within my home directory. I am not sure that you have this file in your home directory.
At the top of which I have
Code:
MAILDIR=$HOME/mail/
The $HOME is short for my home directory i.e /home/username.
Perhaps if your procmailrc is system wide it would read
Code:
MAILDIR=/home/user/mail/
And within .procmailrc I would try:-
Code:
:0
* ^TO_emacs@mailserver.com
inbox/emacs
Quote:
3 - Is is possible to have, for each mail be in a unique file, instead of all the mail in one INBOX file? How can i do that?
|
Code:
:0
* ^TO_emacs@mailserver.com
inbox/emacs
The important part is 'inbox/emacs' just needs to be changed to whatever you want. i.e. anotherBox/here.
Quote:
4 - How can i set different email accounts to different files?
|
Code:
#Accept everything addressed to me
:0
* ^TO_slack@123four.fsnet.co.uk
inbox/
Just have code like this for every account you have - changing the email address for each.
That may do it. Good luck.