[courier-users] Filtering messages

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: ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2005
Lucio
 
Posts: n/a
Default [courier-users] Filtering messages

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:18 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0