Penguin

Differences between version 11 and predecessor to the previous major change of EximFilter.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 11 Last edited on Friday, April 8, 2005 12:38:36 pm by JohnMcPherson Revert
Older page: version 10 Last edited on Tuesday, April 5, 2005 8:54:30 pm by PeterWiersig Revert
@@ -43,14 +43,15 @@
 # change this to whatever address this server is accepting your mail for 
 deliver thisemailaddress@verisign.com 
 finish 
 </verbatim> 
+  
  
 !! For the [WLUG] MailServer 
  
 Since [Exim] on the WlugServer supports a suffix (eg any mail to <tt>username+suffix@example.com</tt> gets delivered to <tt>username</tt>, regardless the <tt>suffix</tt>), you can filter incoming messages based on this. 
  
-Probably the only thing to be aware of is that if you use the <tt>save</tt> command, it saves to the named MailBox using [MBox] format rather than MailDir. 
+Probably the only thing to be aware of is that if you use the <tt>save</tt> command, it saves to the named MailBox using [MBox] format rather than MailDir. Add a "/" at the end of the folder name to tell Exim to use MailDir. 
  
 <verbatim> 
 # Exim filter - do not edit this line! 
  
@@ -91,9 +92,9 @@
 # 3) exim uses perl-compatible regular expressions 
 # (This matches if the suffix contains "bugs" or contains 3 or more digits in a row 
 if ${local_part_suffix} matches bugs|\\d{3,} then 
  # 0600 is the octal file permissions 
- save $home/Maildir/bugs/new/$message_id.$domain 0600 
+ save $home/Maildir/bugs/ 0600 
  finish # finish processing this filter file 
 endif 
 # Note! if you want mail applications to correctly recognise a folder as maildir 
 # format, make sure that it exists and has 3 subdirectories named 
@@ -102,9 +103,9 @@
 # if a message has a particular sender address (either From or Sender), save it 
 # into a particular file (as mbox). Note that this variable will be empty for 
 # automatically generated messages such as bounces 
 if $sender_address matches "@domainz\\\\.co\\\\.nz\\$" then 
- save $home/mail /domainnames 0600 
+ save $home/Maildir /domainnames/ 0600 
 endif 
  
  
 # ignore any mail that was sent from this network 
@@ -121,6 +122,4 @@
  deliver ${local_part} 
 endif 
  
 </verbatim> 
-  
-PeterWiersig: The example with the bugs Maildir should be reworked. To my knowledge (and in my exim-setup) you should specify "save $home/Maildir/bugs/" and exim should recognize the trailing slash that it should deliver to a Maildir.