[Exim] [Delivery of Mail via Procmail]

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Soms
Data:  
Para: exim
Assunto: [Exim] [Delivery of Mail via Procmail]
Dear List



I have a remote server teamweb.com and i have virtual pop accounts.

i pull these virtual mails from single pop account using fetchmail and i use
procmail to distribute the mails based on ^To field to its indented
mailboxes.

pop account name is common_pop

home directory of common_pop is /home/common_pop

my procmailrc file under /home/common_pop is like below

ORGMAIL=/var/spool/mail/$LOGNAME
MAILDIR=$ORGMAIL
0:
* ^To info@???
info


after fetchmail pull the mail from remote server, procmail splits the mail
based on ^To field, but the mail box is created under /home/common_pop
directory under the the info.

I want the mail to be delivered under /var/spool/mail/info instead.

What changes should i do to make this to work.

Thanks in advance

Regards
Somu