Re: [courier-users] Mail Filters

This is a discussion on Re: [courier-users] Mail Filters within the Courier-Imap forums, part of the Mail Servers and Related category; Mark Constable wrote: > Well looking at exactly how sqwebmail creates entries then > this might be more accurate... > &...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-07-2008
David Wade Hagar
 
Posts: n/a
Default Re: [courier-users] Mail Filters

Mark Constable wrote:
> Well looking at exactly how sqwebmail creates entries then
> this might be more accurate...
>
> if ((/^To: *courier\-users@lists.sourceforge.net/))
> {
> to "./Maildir/.Courier/."
> }
>
> I think the trailing slash in .Courier/ is needed otherwise
> it may write to a mbox format file if the ~/Maildir/.Courier
> folder does not exist.


Ok... This is starting to make sense... So in my if statement... Why
do I need the two () groups?

Also... What is the /^ mean? Why isn't it / instead?

Makes sense that I wasn't escaping the - though, that could cause issues
with either one of my filters (that was just one) both are for email lists.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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 12:11 AM.


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