[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail ........ (again)



Phillip Neumann wrote:
> Hello,
> 
> 
> Ok, i still cannot use procmail.
> 
> firt i get mails runnung fetchmail..., after it finish getting all the mails, i run elm to see the mails and there are not any! in ~/Mail/* there is not any file either. Where did all the mails go?
> 
> 
> This are my config files:
> 
> .procmailrc
> `````````````````````````````````````````````````````
> MAILDIR=/home/filsin/Mail
> 
> 
> :0:
> * ^TO:.*debian-user@lists.debian.org
> debian-english
> :0:
> * ^TO:.*debian-user-spanish@lists.debian.org
> debian-spanish
> ``````````````````````````````````````````````````````"a
> 
> .forward
> ````````````````````````
> |exec /usr/bin/procmail
> ``````````````````````````
> 

 When playing with procmail for the first time, it is good to make a
 'Safety Net' to prevent you from losing emails.  Add the following to
 the beginning of your .procmailrc

 # Safety Net
 :0 c
 backup

 :0 ic
 | cd backup && rm -f dummy `ls -t msg.* |sed -e 1,32d`


 This will keep of copy of recent messages in 'backup' that will be their
 no matter where you proc other mail to go.

 I don't have much more helpful to add except that it looks like you
 wanted 'From' where you have 'TO' in your above example.  Here is a
 snippet from my .procmailrc

 ######### .procmailrc #############

 :0:
 * ^From.*debian-user
 debian-user

 :0:
 * ^From.*debian-devel
 debian-devel

 #### end snippet ###############

 -Mitch

Attachment: pgpZVm1Su9Uqj.pgp
Description: PGP signature


Reply to: