RE: [courier-users] Filtering messages

This is a discussion on RE: [courier-users] Filtering messages within the Courier-Imap forums, part of the Mail Servers and Related category; Julian Mehnle wrote: > Your filter (or filter module, if you decide to use one of the modular > frameworks) ...


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-21-2005
Julian Mehnle
 
Posts: n/a
Default RE: [courier-users] Filtering messages

Julian Mehnle wrote:
> Your filter (or filter module, if you decide to use one of the modular
> frameworks) would need to check the list of envelope recipients (the
> headers aren't exactly authoritative as far as actual message delivery
> is concerned) for the copy address, and then either return an "accept"
> or "reject" result.
> [...]
> It should be possible to add the copy address to the list of envelope
> recipients from within a courierfilter. This can be achieved by opening
> the control file in append mode and appending an additional "r" control
> record[4] with the copy address. However, I'm not entirely sure this
> would actually cause Courier to deliver the message to the added copy
> address. (Perhaps someone on this mailing list knows better than I do?)


On a related note, you can distinguish between incoming and outgoing
messages by looking at the messages authentication information, provided
that outgoing messages are always submitted through authenticated SMTP
connections.

Currently it is not yet possible to get the authentication information
from the message control file, but you can examine the very first
"Received:" header field and look for the "AUTH" item in the second
comment field. See
http://groups-beta.google.com/group/...p/msg/a13130d5
ea566aea



-------------------------------------------------------
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 Search this Thread
Search this Thread:

Advanced Search
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

BB 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 06:30 AM.


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