Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
procmail problems (urgent)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
-leliel-
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 294
Location: Germany

PostPosted: Fri Jul 11, 2003 9:54 pm    Post subject: procmail problems (urgent) Reply with quote

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
View user's profile Send private message
ben
Apprentice
Apprentice


Joined: 10 Jun 2002
Posts: 285
Location: Switzerland

PostPosted: Sat Jul 12, 2003 7:22 am    Post subject: sorting emails Reply with quote

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
View user's profile Send private message
-leliel-
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 294
Location: Germany

PostPosted: Sun Jul 13, 2003 9:48 am    Post subject: Reply with quote

ok, I'll try it, thanks.

Is there a way to ensure procmail is running correctly?
Back to top
View user's profile Send private message
ben
Apprentice
Apprentice


Joined: 10 Jun 2002
Posts: 285
Location: Switzerland

PostPosted: Sun Jul 13, 2003 10:11 am    Post subject: Reply with quote

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
View user's profile Send private message
-leliel-
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 294
Location: Germany

PostPosted: Fri Jul 18, 2003 5:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
ben
Apprentice
Apprentice


Joined: 10 Jun 2002
Posts: 285
Location: Switzerland

PostPosted: Fri Jul 18, 2003 7:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum