procmail
[Top] [All Lists]

Re: procmail using HOME instead of MAILDIR

2006-08-12 18:21:38
Hi.

Thanks for your reply (-8


13Aug2006 @ 02:24 Ruud H.G. van Tol thusly spake
Luke Vanderfluit schreef:

I've just set up a new box and got my mail working.
My .procmailrc (part of it) looks like this:

  PATH     = /usr/bin:/bin:/usr/local/bin:.

I never have a PATH setting in a .procmailrc. Do you need it?



But that shouldn't break it right?


  MAILDIR  = /newStore/mail/   # Youd better make sure it exists

$MAILDIR shouldn't end in a slash.

Are you sure that the directory "/newStore/mail" exists, or did you mean
"$HOME/newStore/mail"?



Apparently, according to some sources, the trailing slash indicates maildir 
format. However that turns out to be rubbish, right?
I thought that was what I wanted. In addition, the previous setup I had worked 
with the trailing slash.
However, now I have changed that and the original, faulty, behavious is the 
same.

  DEFAULT  = $MAILDIR/Inbox
  LOGFILE  = $MAILDIR/logFile

Why the $LOGFILE inside $MAILDIR? Maybe something like "newStore/pmlog"
is better.

OK (-: but that shouldn't break it either.



  LOCKFILE = $HOME/.lockmail 

Why the rc-wide locking?


hmmm, can't remember, probably isn't necessary.

Yet the mail gets delivered to $HOME/<mailbox> instead of
/newStore/mail/<mailbox>

Did you check the logfile? For debugging, put

    VERBOSE     = ON
    LOGABSTRACT = ALL

OK, I'll try that:

OK, I sent a test email that should end up in the Inbox in /newStore/mail.
This is what gets written to the log:

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
procmail: No match on "^To:(_dot_)*dj(_at_)chipcity"
procmail: No match on "^To:(_dot_)*suzie(_at_)chipcity"
procmail: No match on "^Subject:.*\[spam\].*"
procmail: No match on "^Subject:.*MLUG.*"
procmail: No match on "^Subject:.*mlug.*"
procmail: No match on "^Subject:.*nylug-talk.*"
procmail: No match on "^Subject:.*Lilug.*"
procmail: No match on "^Subject:.*SLUGAMuSIG.*"
procmail: No match on "^Subject:.*SLUG.*"
procmail: No match on "^X-BeenThere:.*linuxsa.org.au.*"
procmail: No match on "^Subject:.*Cubase.*"
procmail: No match on "^Subject:.*Cakewalk.*"
procmail: No match on "^Subject:.*wm-user.*"
procmail: No match on "^(To|Cc):(_dot_)*vim(_at_)vim(_dot_)org(_dot_)*"
procmail: No match on "^Subject:.*\[JDBC\].*"
procmail: No match on "^Subject:.*Lula.*"
procmail: No match on "^(To|Cc|cc|CC|Bcc):.*mckoidb.*"
procmail: No match on "^Subject:.*linux-audio-user.*"
procmail: No match on "^List-Id:.*users\.tomcat.*"
procmail: No match on "^Mailing-List:.*tomcat-user.*"
procmail: No match on "^Subject:.*Rxtx.*"
procmail: No match on "^Subject:.*lajug.*"
procmail: No match on "^Subject:.*ajug.*"
procmail: No match on "^(To|Cc|cc|CC|Bcc):.*mutt-users.*"
procmail: No match on "^(To|Cc|cc|CC|Bcc):.*procmail.*"
procmail: No match on "^(To|Cc|cc|CC|Bcc):.*ant\.apache\.org.*"
procmail: No match on "^Subject:.*nbusers.*"
procmail: No match on "^(To|Cc|cc|CC|Bcc):.*freeradius-users.*"
procmail: No match on "^(To|Cc|cc|CC|Bcc):.*j2eerocks.*"
procmail: No match on "^(To|Cc|cc|CC|Bcc):.*gimp-user.*"
procmail: No match on "^(To|Cc|cc|CC|Bcc):.*dbi-user.*"
procmail: No match on "^(To|Cc|cc|CC|Bcc):.*embperl.*"
procmail: No match on "^(To|Cc|cc|CC|Bcc):.*modperl.*"
procmail: No match on "^(To|Cc|cc|CC|Bcc):.*ubuntu.*"
procmail: No match on "^(To|Cc|cc|CC|Bcc):.*peapod.*"
procmail: Locking "./Inbox.lock"
procmail: Assigning "LASTFOLDER=./Inbox"
procmail: Opening "./Inbox"
procmail: Acquiring kernel-lock
procmail: Unlocking "./Inbox.lock"
procmail: Notified comsat: "luke(_at_)4087:././Inbox"
From edencane(_at_)gmail(_dot_)com  Sun Aug 13 10:37:45 2006
 Subject: [unclassified] test9
  Folder: ./Inbox                                                          2043

\________________________________________________________

It seems that procmai is choosing the './' option instead of MAILDIR.
Does this give any further clues?

Thanks again for your help (-:

Kind regards.
Luke.
in the start of your $HOME/.procmailrc.

-- 
Groet, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail