Penguin
Diff: EximMailFilter
EditPageHistoryDiffInfoLikePages

Differences between version 11 and previous revision of EximMailFilter.

Other diffs: Previous Major 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 9 Last edited on Sunday, April 17, 2005 5:13:47 am by RafalJankowski 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,13 +164,18 @@
  spam = nobody:true 
  
  warn message = X-Redirect-To: quarantine@itpartners.co.nz 
  spam = nobody 
- #You can add:  
- # control = fakereject/This message scored $spam_score spam points.  
- #to reject mail in a SMTP session  
- #Note that adding header X-Redirect-To : by original sender will allow sending mail  
- #through your server without authentication, any ideas to improve above configuration?  
+  
+ #[rj] I would suggest putting something like that instead  
+# accept  
+# condition = ${if <{$message_size}{100k}{1}{}}  
+# 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).