Penguin
Diff: EximMailFilter
EditPageHistoryDiffInfoLikePages

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

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

Newer page: version 11 Last edited on Sunday, April 17, 2005 10:27:36 am by RafalJankowski Revert
Older page: version 7 Last edited on Sunday, February 6, 2005 1:05:14 am by PeteSimmons Revert
@@ -130,8 +130,23 @@
  headers_add = X-Original-Recipient: $local_part@$domain 
  data = $h_X-Redirect-To: 
  headers_remove = X-Redirect-To 
  redirect_router = hubbed_hosts 
+  
+#[rj]  
+# I would suggest using variable instead of a header.  
+# Adding X-Redirect-To: header by original sender will allow  
+# sending mail through your server without authentication  
+#  
+#spam_redirect:  
+# debug_print = "R: scan_redirect for $domain"  
+# driver = redirect  
+# condition = ${if def:acl_m1 {1}{0}}  
+# headers_add = X-Original-Recipient: $local_part@$domain  
+# data = $acl_m1  
+# redirect_router = hubbed_hosts  
+#[rj]  
+  
 </pre> 
  
 This sits just before the hubbed_hosts router, which was previously the first router in the queue. Set the redirect router to whichever router you want to process your message next. 
  
@@ -149,8 +164,18 @@
  spam = nobody:true 
  
  warn message = X-Redirect-To: quarantine@itpartners.co.nz 
  spam = nobody 
+  
+#[rj] I would suggest putting something like that instead  
+# accept  
+# condition = ${if <{$message_size}{100k}{1}{0}}  
+# spam = nobody  
+# set acl_m1 = "postmaster@itpartners.co.nz"  
+# #delay = 60s  
+# #control = fakereject/This message scored $spam_score spam points. Please contact postmaster  
+# #logwrite = :main,reject: This message scored $spam_score spam points. Please contact postmaster  
+#[rj]  
 </pre> 
  
 "nobody:true" matches everyone (the nobody is the user to call SpamAssassin as; as we're always using the same one the result is cached per message).