Differences between version 12 and predecessor to the previous major change of EximFilter.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 12 | Last edited on Sunday, March 12, 2006 7:35:11 pm | by MatthewMcEachen | Revert |
Older page: | version 11 | Last edited on Friday, April 8, 2005 12:38:36 pm | by JohnMcPherson | Revert |
@@ -121,5 +121,22 @@
if not delivered then
deliver ${local_part}
endif
+</verbatim>
+
+
+!! Yet Another Exim Filter recipe:
+
+Rather than specific known sufficies, deliver into a Maildir folder that's named the same as the suffix. No suffix? Go into INBOX:
+
+<verbatim>
+# Exim filter
+
+if $local_part_suffix is ""
+then
+ save $home/Maildir/
+else
+ # Remove the first '-', and any periods in the suffix.
+ save $home/Maildir/.${sg{${sg{$local_part_suffix}{[\.]}{}}}{^-}{}}/
+endif
</verbatim>