Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Procmail and .maildir
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
JohnnyGTO
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2002
Posts: 91

PostPosted: Tue Feb 25, 2003 8:42 pm    Post subject: Procmail and .maildir Reply with quote

I am trying to learn how procmail and .maildir work together.

Currently I am running a older machine with Fetchmail -> Postfix -> Procmail ->Spamassassin -> UW-Imap. It orks ok but not great and the machine is running and older copy of Mandrake.

I want to upgrade to a newer machine and Gentoo (of course). What I would like to use is Getmail ->(?) Postfix -> Procmail ->Spamassassin-> Courier-Imap and this is where I'm having trouble.I have a number of procmail scripts that work with UW-Imap but not Courier-Imap. One creates directories based on the month and catagory others are straight forward but I can't get procmail to process them.

MONTHFOLDER= `date +%y-%m`

:0 Wic
* ? test ! -d brightnoise/$MONTHFOLDER
| mkdir brightnoise/$MONTHFOLDER

:0
* ^FROM.@brightnoise.com
{
:0c
brightnoise/${MONTHFOLDER}/Brightnoise

:0c
ToDay
}

What changes do I need to make in referring to directories and should I use maildirmake rather then mkdir to create the various directories on the fly?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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