Kyle Wheeler wrote:

On Friday, November 5 at 12:30 AM, quoth RYAN vAN GINNEKEN:


MAILDIR=$HOME/IMAPdir/



Procmail will think this is an mbox - Maildir's must end in a / to indicate that it's a Maildir and not an mbox. If BincIMAP is set up to use IMAPdir, though, $HOME/IMAPdir will not be a Maildir, but will instead just be a folder containing a bunch of Maildir's.




BINC is set up to use IMAPdir is this why i am having problems what do you mean by the above statement. just a bunch of Maildir's



Read up on what the different kind of Depot's are:

http://lifewithbincimap.org/index.php/Main/WhatIsADepot

That will explain what IMAPdir's are for you.

Essentially, and IMAPdir is not a pure Maildir, but it's a way of allowing Binc to use a conglomeration of things in a more flexible layout.

But regardless of binc's configuration, procmail needs to be told how to store the email that it is delivering. The general way of doing that is by using a slash at the end of the mailbox name (in other words, a trailing slash)---if there's a trailing slash, then procmail presumes that the thing you're delivering the message to is a Maildir. If there is no trailing slash, then it assumes that the thing you're delivering the message to is an mbox. (The mh silliness comes because if there is no trailing slash at the end of the folder name, but the thing you name is a directory, procmail assumes it's delivering to an mh folder.)



I set

MAILDIR=$HOME/IMAPdir

now i get this in my pmlog note the "//" but i still get my mail is this correct??


The // is no problem---in Unix path names, you can have as many /'s in a row as you like, and it's equivalent to a single slash.




v22.computerking.ca > ~ $tail -f Procmail/pmlog
procmail: No match on "^Subject:.*cron"
procmail: No match on "^Subject:.*daily run output"
procmail: No match on "^Subject:.*weekly run output"
procmail: No match on "^Subject:.*monthly run output"
procmail: No match on "^Subject:.*MAILER-DAEMON"
procmail: Assigning "LASTFOLDER=/home/rmvg/IMAPdir//INBOX/new/1099639225.23178_0.v22.computerking.ca"
procmail: Notified comsat: "[EMAIL PROTECTED]:/home/rmvg/IMAPdir//INBOX/new/1099639225.23178_0.v22.computerking.ca"
From [EMAIL PROTECTED] Fri Nov 5 00:20:25 2004
Subject: test procmail 100
Folder: /home/rmvg/IMAPdir//INBOX/new/1099639225.23178_0.v22.compute 798



That looks exactly right.

~Kyle


I seem to have it working with only one slash but will leave the // just to make sure. However i am having troubles with subdirectoriers now example i want mail from binc to go into a forlder name IN-LISTS/binc

Have things set up like this

.procmialrc

SHELL=/bin/sh
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
PMDIR=$HOME/Procmail
LOGFILE=$PMDIR/pmlog
LOG="
"
VERBOSE=yes

MAILDIR=$HOME/IMAPdir/ DEFAULT=$MAILDIR/INBOX/

#INCLUDERC=$PMDIR/rc.servers
INCLUDERC=$PMDIR/rc.subscriptions


rc.subscriptions

:0
* [EMAIL PROTECTED]
IN-LISTS.BINC/

:0
* ^TO_([EMAIL PROTECTED]|[EMAIL PROTECTED]|
IN-LISTS.Squirrel_Mail/


When mail comes in it seems to get put in the right place however i cannot access it from my Mozzila mail client it has a folder called IN_LISTS but it is in a wierd font and has no subfolders. Do you have any ideas as to what might be happening.

Also as a side note the squirrelmail rule above is meant to filter mail from the 4 addresses into one folder can i do this with on rule?

Here is some of my pmlog for you to gander like i said procmail seems to be delivering correctly but my mail client cannot seem to read the subfolders.

procmail: [25454] Fri Nov 5 13:07:58 2004
procmail: Assigning "MAILDIR=/home/maillist/IMAPdir/"
procmail: Assigning "DEFAULT=/home/maillist/IMAPdir//INBOX/"
procmail: Assigning "INCLUDERC=/home/maillist/Procmail/rc.subscriptions"
procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(
procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(
procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(
procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(
procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(
procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(
procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(
procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(
procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(
procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(
procmail: Match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Re
procmail: Assigning "LASTFOLDER=IN-LISTS.Postfix/new/1099685278.25454_0.v22.compute
procmail: Notified comsat: "[EMAIL PROTECTED]:/home/maillist/IMAPdir//IN-LISTS.Postfix/new
From [EMAIL PROTECTED] Fri Nov 5 13:07:58 2004
Subject: Re: upgrade postfix from 2.0.6 to 2.1.5 problems
Folder: IN-LISTS.Postfix/new/1099685278.25454_0.v22.computerking.ca 7417





Reply via email to