procmail
[Top] [All Lists]

Re: " lockfile syntax " [ happy end ]

2007-04-02 05:43:49
Selon Udi Mottelo <uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il>:


On Sat, 24 Mar 2007, bernard(_dot_)schoenacker(_at_)free(_dot_)fr wrote:

Selon Dallman Ross <dman(_at_)nomotek(_dot_)com>:

On Sat, Mar 24, 2007 at 07:44:16AM +0100, 
bernard(_dot_)schoenacker(_at_)free(_dot_)fr
wrote:

howto adapt this example

NOPASSWORDLOCK=/var/lib/emacs/lock/!home!rgooch!mail!filtered!no-password
BACKUPLOCK=/var/lib/emacs/lock/!home!rgooch!mail!filtered!mail-backup

DUPLICATELOCK=/var/lib/emacs/lock/!home!rgooch!mail!filtered!slow|duplicate
OTHERLOCK=/var/lib/emacs/lock/!home!rgooch!mail!filtered!not-sent-to-me
BOUNCELOCK=/var/lib/emacs/lock/!home!rgooch!mail!filtered!slow|bounces




UNKNOWNSENDERLOCK=/var/lib/emacs/lock/!home!rgooch!mail!filtered!unknown-sender
REJECTEDLOCK=/var/lib/emacs/lock/!home!rgooch!mail!filtered!rejected
HUGELOCK=/var/lib/emacs/lock/!home!rgooch!mail!filtered!slow!huge

LISTSPAMLOCK=/var/lib/emacs/lock/!home!rgooch!mail!filtered!slow!list-spam


normally syntax is style

$FUNCTIONPATH=$HOME/mail/* : /var/mail/*

but there I did not include/understand the way

I am having a hard time understanding what you are after.
If you just want named lockfiles, then name the lockfile.


 :0 flags: $OTHERLOCK$LOCKEXT
 * conditions
 folder

(LOCKEXT is predefined in your procmail binary.)

Have you read the man pages?  "man procmailrc"; "man procmailex"

Dallman

hi
    sorry my englis h is realy poor ...
    but in german or french is best ... ;)
       Verdamt nochmal ...

I have this example of file (above) of configuration and I will
wish to be able to employ it in a general way  ...

howto change this :  !home!rgooch!mail!filtered!slow!list-spam

in another format to use in general.

      Use ":" flag with no name and give procmail to take-care

:0:
...


Bye,
  Udi

hi,

  that's the happy end from my hitory, and become the answer form
  Mr Guenter ...

see the example form man prcomailex at line 338

  original :

  :0:/usr/local/lib/emacs/lock/!home!john!Mail!mailbox


  and the final solution with $HELLMETAS :

  # Author: Philipp Guenter  Sendmail Corp®
  # Fri mar 30 14:07:38 CEST 2007

    BHOME = `echo $HOME | sed 's:/:!:g'`
   :0:/usr/local/lib/emacs/lock/$BHOME!Mail!mailbox
   * ^Subject:.*whatever
    # mailbox ( Mh )
   | rcvstore +mailbox


  kindest regard
  bernard


____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: " lockfile syntax " [ happy end ], bernard . schoenacker <=