procmail
[Top] [All Lists]

Re: new to procmail (bugs?)

1998-06-04 03:16:26
        Author:        Bernard El-Hagin <belhagin(_at_)lucent(_dot_)com>
        Original-Date: Thu, 4 Jun 1998 09:02:37 +0200 (MET DST)
        Message-ID:     
<Pine(_dot_)SOL(_dot_)3(_dot_)96(_dot_)980604085538(_dot_)16082F-100000(_at_)bya1c87(_dot_)pl(_dot_)lucent(_dot_)com>


    :0
* ^To(_dot_)*port-i386(_at_)NetBSD(_dot_)ORG
NetBSD.sbd/port-i386

First of all this recipe should look like this:

:0
* ^TOport-i386(_at_)NetBSD(_dot_)ORG
NetBSD.sbd/port-i386

That's in case the mail isn't explicitely to you (CC, BCC, etc.)

And actually you'd be better off using something like a Sender: line... I  
don't know about the NetBSD groups but the FreeBSD groups get a lot of  
crossposts, but since they are sent with a Sender: line they always end up in  
the right mailbox:

So I would use:

:0:                                     << NOTE THE 2nd ":" !!!
* ^Sender: owner-port-i386(_at_)NetBSD\(_dot_)ORG
NetBSD\.sbd/port-i386

(of course I am assuming there is a sender line or something else as a  
unique identifier)


I'll venture a guess that the directory you want to write to doesn't
exist. The rule is that if you're writing to a directory it has to exist.
A folder will be created by Procmail, but directories won't.

Right... I think it might have had something to do with the "." not having a  
\ in front of it too


ALSO:


($MAILDIR is set to /export/home/rsimmons/.mail/
The error I get is "could not write to 
/export/home/rsimmons//NetBSD.sbd/port-i386


Leave off the trailing / in MAILDIR

You have

MAILDIR=/export/home/rsimmons/.mail/

try

MAILDIR=/export/home/rsimmons/.mail

Some Unixes are picky about not having two // in a row... most just  treat  
it like 1


TjL


<Prev in Thread] Current Thread [Next in Thread>