I had thought of that - it just struck me that the domain.tab mechanism in
the custdomains/filters directories is such an excellent way of doing
things that a similar mechanism for 'FROM' addresses in the envelope would
work well, and also minimise the impact of any errors in the script to a
single domain/person (not that my perl ever has errors of course...)




                                                                                       
                                        
                    "Dick van der                                                      
                                        
                    Kaaden"                  To:     <[EMAIL PROTECTED]>           
                                        
                    <[EMAIL PROTECTED]>         cc:                                       
                                        
                    Sent by:                 Subject:     [xmail] Re: Initiate script 
based on from address?                   
                    xmail-bounce@xmail                                                 
                                        
                    server.org                                                         
                                        
                                                                                       
                                        
                                                                                       
                                        
                    01/01/2002 12:31                                                   
                                        
                    Please respond to                                                  
                                        
                    xmail                                                              
                                        
                                                                                       
                                        
                                                                                       
                                        




You can use a wildcard filter and test on the from address.

Just create a .tab file in filters. It wil be run for all domains that do
not have their own domain filter. Therefor if you want to run it always,
add
the same script you are calling to every other filter file.




----- Original Message -----
From: "Paul Sobey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 02, 2002 12:13 PM
Subject: [xmail] Initiate script based on from address?


> Hi all,
>
> Is there a way to run a script based on the sender user/domain as opposed
> to the recipient?
>
> E.g. if I wish to run a script on all mail passing through the server
from
> [EMAIL PROTECTED], can I do this, short of a filter which checks all
> messages?
>
> Cheers,
> Paul
>
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
>

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]





-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to