Quote:>For retrieving my mail from my POP server, I am using the following script
>from the ISP-HOWTO: ftp://ftp.sn.no/user/egilk/pop-script.tar.gz
>My problem is all my different pieces of e-mail come as one big e-mail.
>This problem exists when I read my mail in pine or just mail. Any ideas
>of what I need to do to read/reply to each mail separately?
popclient -3 -u <remote username> -p <remote password> -c <remote host>\
| /usr/local/bin/formail -s /usr/local/bin/procmail -d <local user>
(the \ is just because the line is too long to post...)
This script calls popclient, which gets all mails from the server and
deletes them there. Then it calls formail, which calls procmail exactly
once for every mail and delivers them to <local user>.
The only problem is that if there is no mail to retrieve from the server,
you will get "empty" mails, which will expand to messages send
.procmailrc (notice _old_ syntax, use the new one instead):
Stormweg 24 | listening to: Burning Desire (Funeral Oration)
24539 Neumuenster, Germany | Back With You/What Am I Supposed To Do (Buzzcocks)