procmail
[Top] [All Lists]

Re: list of names in To/Cc -fields

1999-07-05 02:13:47
Date sent:              Sun, 4 Jul 1999 18:05:13 -0500 (CDT)
From:                   Glen Lee Edwards <glenlee(_at_)inebraska(_dot_)com>
To:                     kuehne <kuehne(_at_)ltz(_dot_)de>
Subject:                Re: list of names in To/Cc -fields

It don't know how your system is set up, but it might work better to use
fetchmail to forward mail the various users.  Procmail works better for
one user to use it to sort mail from various places into separate folders.
Something like this:


                          Incomming Mail
                                |
         ___________________Fetchmail________________________
        |           |           |             |              |
      user1       user2       user3         user4          user5
        |
   __procmail__
  |     |      |
folder1 folder2 folder3


Glen

Glen Lee Edwards
glenlee(_at_)inebraska(_dot_)com

"Linux, giving you the freedom to make the choice."

On Fri, 2 Jul 1999, kuehne wrote:


There was an error of mine writing :0: c instead of :0c: (thanks to 
Jeff Schaller), which means that the wanted "carbon copy" of the 
transferred eMail was not procuced and procmail stopped after the 
first transfer. This works now.
To your remark: I exactly tried to do, what you propose: apart from 
separate mailboxes for some persons who have their own 
mailboxes, I have a "global" mailbox for the rest of the staff on the 
internet-mailserver. This mailbox is accessed by fetchmail, which 
initiates the procmail program. 
Previously, if one eMail contained more than one name of our staff 
in To-,Cc- or Bcc-field of the header,  the first occuring person got 
as many copies of the mail, as names were found. After correction 
to :0c: each person that is found in the header gets the same 
number of eMail copies, because for each recipient one copy of the 
sent eMail is put into our global mailbox on the internet  which is -I 
think- uanavoidable. 

Does anybody know, if it is possible to identify and purge by 
procmail those unnessessary and undesired copies of mails?

Thanks in advance
Winfried

p.s. 
Til now I have not understood , why some people think that my 
approach to use procmail in the outlined way is not OK. What 
should I do else? 
kuehne(_at_)ltz(_dot_)de

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