procmail
[Top] [All Lists]

Re: mailing lists

2000-07-25 15:57:47
From: Larry <larrywyb(_at_)larry(_dot_)yi(_dot_)org>

The mail I am trying to seperate is in the /var/spool/mail/larrywyb
file.

Maybe I am not finished setting procmail up (most likely) or I
don't understand how it is supposed to work but when I run:
"procmail -d larrywyb" it just sits there and does nothing until I 
hit ^c.

Do I misunderstand that you can do this from the command line?
Am I using the wrong command line arguments?
How do you tell procmail where to find the "larrywyb" file?

I suspect you might want:

        formail -s procmail < larrywyb

:0                            

You want to remember a lockfile, accomplished with a colon after the
0.

* ^From(_dot_)*(_at_)*(_dot_)airpower(_dot_)com

The second asterisk is saying that there will be zero-or-more
@'s at that stage in the expression, followed by (per the
dot) any single character (except newline/line feed).  The
dot before "com" also represents any single charactter.

prn-main                      


Try:

        :0:
        * ^From.*@([a-z0-9.+-]+\.)?airpower\.com
        prn-main


:0                            
* ^From(_dot_)*(_at_)returns(_dot_)onelist(_dot_)com
tgo-l                         

Again, don't forget the local lockfile (second colon).


-- 
    \     .-.     .-.     .-.     .-.     .-.     .-.     .-.     /
     \-d-/-m-\-a-/-n-\-(_at_)-/-n-\-e-/-t-\-c-/-o-\-m-/-.-\-c-/-o-\-m-/
      '-'     '-'     '-'     '-'     '-'     '-'     '-'     '-'

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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