View previous topic :: View next topic |
Author |
Message |
-leliel- Apprentice
Joined: 03 May 2003 Posts: 294 Location: Germany
|
Posted: Fri Jul 11, 2003 9:54 pm Post subject: procmail problems (urgent) |
|
|
Hi,
I've downloaded my mails with fetchmail, but there was an error in the procmail config, so all mails are in the inbox folder ... But I like them sorted into various mailfolders...
is it possible to rerun procmail across the downloaded mails to sort them belated?
thanks |
|
Back to top |
|
|
ben Apprentice
Joined: 10 Jun 2002 Posts: 285 Location: Switzerland
|
Posted: Sat Jul 12, 2003 7:22 am Post subject: sorting emails |
|
|
hi,
Although there is surely a procmail way, I would simply use mutt for that.
In mutt I would use T for tagging all messages that match a pattern, then ;s newmailbox for moving them to the new mail box.
With something like 10 procmail rule, you will need less than 5 minutes to complete this task.
Have fun
Ben |
|
Back to top |
|
|
-leliel- Apprentice
Joined: 03 May 2003 Posts: 294 Location: Germany
|
Posted: Sun Jul 13, 2003 9:48 am Post subject: |
|
|
ok, I'll try it, thanks.
Is there a way to ensure procmail is running correctly? |
|
Back to top |
|
|
ben Apprentice
Joined: 10 Jun 2002 Posts: 285 Location: Switzerland
|
Posted: Sun Jul 13, 2003 10:11 am Post subject: |
|
|
In your .procmailrc there should be a line with:
LOGFILE=/some/where/promail.log
Then, just have a look at it and see what happened
Ben |
|
Back to top |
|
|
-leliel- Apprentice
Joined: 03 May 2003 Posts: 294 Location: Germany
|
Posted: Fri Jul 18, 2003 5:57 pm Post subject: |
|
|
hmm, how do this work?
I've startet mutt, pressed 't' and input the following string:
Code: | * ^From:.*gentoo\.org |
but what's next? there's no movement in mutt ...
thanks |
|
Back to top |
|
|
ben Apprentice
Joined: 10 Jun 2002 Posts: 285 Location: Switzerland
|
Posted: Fri Jul 18, 2003 7:25 pm Post subject: |
|
|
Well, assuming that you see all your mail,
When you press T (big T) you are asked for a pattern
to match every thing with gento.org in it just enter gentoo.org
For more detailed pattern matching see man mutt, you www.mutt.org
After you entered the pattern (nothing to cancel) press enter, every email that matches is marked with an *
Then you can enter ;s and you are asked for a mailbox where to save them. If this mailbox doesn't exist then it will be created (you can navigate by entering ? instead of a mailbox name)
That should be it
Ben |
|
Back to top |
|
|
|