clean up the inevitable things that went wrong
authorStephen Gran <steve@lobefin.net>
Sun, 18 Apr 2010 10:57:06 +0000 (11:57 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 18 Apr 2010 10:57:06 +0000 (11:57 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb

index 37d576f..a6e2bc3 100644 (file)
@@ -745,7 +745,7 @@ check_recipient:
                          ${readsocket{/var/run/postgrey/socket}{$acl_m_pgr}\
                                {5s}{}{action=DUNNO}}\
                      }{action=}{}}
-    message        = ${sg{$acl_m_pgr}{^\\\\w+\\\\s*}{}}
+    message        = ${sg{$acl_m_pgr}{^\\w+\\s*}{}}
     log_message    = greylisted.
     condition      = ${if eq{${uc:${substr{0}{5}{$acl_m_pgr}}}}{DEFER}}
 
@@ -758,7 +758,7 @@ check_recipient:
     domains        = +handled_domains
     local_parts    = GREYLIST_LOCAL_PARTS
     condition      = ${if eq{${uc:${substr_0_7:$acl_m_pgr}}}{PREPEND}}
-    message        = ${sg{$acl_m_pgr}{^\\\\w+\\\\s*}{}}
+    message        = ${sg{$acl_m_pgr}{^\\w+\\s*}{}}
 
 <% end %>
 
@@ -1457,7 +1457,7 @@ remote_smtp:
   driver = smtp
   connect_timeout = 1m
   delay_after_cutoff = false
-<% if has_variable?("exim_ssl_certs") && exim_ssl_certs == "true" %>
+<%= if has_variable?("exim_ssl_certs") && exim_ssl_certs == "true" %>
   tls_certificate = /etc/exim4/ssl/thishost.crt
   tls_privatekey = /etc/exim4/ssl/thishost.key
 <% end %>