procmail
[Top] [All Lists]

closed mailing-list and procmail

1999-06-10 09:19:46
era eriksson wrote:
You should notice that ^TO is a special macro in Procmail, whereas
^From is not, so ^Fromscuba would actually only match (the unlikely
literal sequence) "Fromscuba" at beginning of line in the headers.
Era,
some months ago I have already been in the list, and re-read your mails
since often.
Now I came back, and got a lot of answers (Lars wrote to me too, thanks
to him.).

 > 1st) When I am on holidays, I have to stay subscribed to a busy mailing
 > list, as the who-command is processed a few times a day.
 > (|sort -f >>list_file  which works fine)
 > How can I delete the incoming list-mail?
 > How can I save just the eMAil-Adress and the text of each mail in a
 > file?

This isn't entirely clear to me (what is a who-command and what
exactly is the sort supposed to accomplish?) but the actual questions
seem easy enough to answer.
I "run" a closed mailing-list, but have no admission to the server.
The trick is:
Once I have added she/him, every User can unsubscribe and re-subscribe
himself, as often, as he likes.
He can subscribe to closed sub-lists, etc.
No action is required on my part.

6 times a day, I fetch the active list with the majordomo-who-command,
compare it with a private main-list and upload the main-list to a
different server, which now is read, when a user starts any action on
that server (subscribe, unsubscribe, change adress (which is not ready
yet).
They must never write any mail to 'majordomo', they just have to click
on the right button (which still seems to be too difficult).

This has become possible with procmail, and an adjescent perl-script.
The script adds eMail-adresses to the main-list.

As I have to be a subscriber to the active list, to get the list of
subscribers sent to me by majordomo, I would have problems with
unsubscribe myself, as the system would stagnate.

with your:
    :0
    * ^TOlist_name
    /dev/null
I can practically "unsubscribe", as the list-member-mail is caught
within procmail before this point.
The rest will work without me.
Do not laugh, some times you just need your head be turned in the right
position.
;-)))
Thank you,
This mail has become too long,
I shall write a new one with a related question.
Jost

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