Bluehost.com Web Hosting $6.95

Re: [courier-users] maildrop question

This is a discussion on Re: [courier-users] maildrop question within the Courier-Imap forums, part of the Mail Servers and Related category; Volker Katz wrote: > > I want to have something like this: > if (/^To:me@domail.tld/ ) > { > ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-23-2005
Gordon Messmer
 
Posts: n/a
Default Re: [courier-users] maildrop question

Volker Katz wrote:
>
> I want to have something like this:
> if (/^To:me@domail.tld/ )
> {
> cc {
> xfilter "alteremime --removeall --input=-"
> "!somewhere@else"
> }
> to $DEFAULT
> }
>
> How does the correct way look like?


It's hard to say without knowing what alteremime does, but I'd suggest
that you test the To header. If it matches, "cc" the message to your
mailbox, then "xfilter" the message through alteremime, and then send
the filtered message "to" its final destination:

if (/^To:me@domail.tld/ )
{
cc $DEFAULT
xfilter "alteremime --removeall --input=-"
to "!somewhere@else"
}


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&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 04:30 PM.


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