procmail
[Top] [All Lists]

Re: double copies unwanted

2002-07-10 06:31:57
On Tue, Jul 09, 2002 at 10:16:15AM -0700, Professional Software Engineering 
wrote:
:0
* ^TO_(pluto|ciccio)@lastminutetour\.
{
         # pluto or ciccio is the recipient - HOWEVER, there may be OTHER
         # recipients on a message addressed to one of these chaps!
         # Perhaps we should consider using an MTA for the job of the MTA?

         # first, eliminate dupes (so we have ONE message bopping through
         # for both of these users)
         :0Whc: lastminute.lock
         | formail -rD 8192 lastminute.cache

Hi, thanks for your help.
I understand that the MTA should do it better, but this is not a problem of
the real address but a confort for the users with more address to see.
The two pluto and ciccio address forward them to all the real users, but it
is not good to have it on personal folder, so i would like to solve using
procmail, that i see is a powerful tool useful for thsi purpose.
So, all seems to be ok, only for the first message i send for test.
Starting from the second no mail arrive to no address of both.
I found that the formail write the address to lastminute.cache, but this
will avoid the possibility that the same address send two different email
one after the other!!!

thanks

_______________________________________________
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>