This is a discussion on [courier-users] Filtering messages within the Courier-Imap forums, part of the Mail Servers and Related category; Hello everybody. I'm new to Courier when it comes to filetering. I need to set up a filter that: ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello everybody.
I'm new to Courier when it comes to filetering. I need to set up a filter that: 1 - Rejects all outgoing messages if they do not specify "bigbrother@localdomain" in one of the headers. 2 - Forward a copy of all incoming messages to "bigbrother@localdomain" if it doesn't already appears in one of the headers, and adds that address in the CC list of the message. I've already took a look at perlfilter-example.pl . Problem is: I don't speak perl. The example is quite clear and self-explanatory, but I have to learn at least the basics of perl in order to write my own rules. However I do speak C. What's easier? Learning perl (which would be useful anyway) to the point I need or writing a filter in C? What about a bash script? Can I put a bash script in the filters directory? Can I put any kind of executable in there? And what about Java (let alone performance)? How do I add the new address to the CC list (regardless of the language I use)? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|