tomh / rpms / exim

Forked from rpms/exim 4 years ago
Clone
5bfed37
--- exim-4.63/src/configure.default~	2006-09-03 15:02:28.000000000 -0700
5bfed37
+++ exim-4.63/src/configure.default	2006-09-03 15:46:53.000000000 -0700
5bfed37
@@ -680,6 +680,12 @@ userforward:
5bfed37
   pipe_transport = address_pipe
5bfed37
   reply_transport = address_reply
5bfed37
 
5bfed37
+procmail:
5bfed37
+  driver = accept
5bfed37
+  check_local_user
5bfed37
+  require_files = ${local_part}:+${home}/.procmailrc:/usr/bin/procmail
5bfed37
+  transport = procmail
5bfed37
+  no_verify
5bfed37
 
5bfed37
 # This router matches local user mailboxes. If the router fails, the error
5bfed37
 # message is "Unknown user".
5bfed37
@@ -717,6 +723,16 @@ begin transports
5bfed37
 remote_smtp:
5bfed37
   driver = smtp
5bfed37
 
5bfed37
+# This transport invokes procmail to deliver mail
5bfed37
+procmail:
5bfed37
+  driver = pipe
5bfed37
+  command = "/usr/bin/procmail -d $local_part"
5bfed37
+  return_path_add
5bfed37
+  delivery_date_add
5bfed37
+  envelope_to_add
5bfed37
+  user = $local_part
5bfed37
+  initgroups
5bfed37
+  return_output
5bfed37
 
5bfed37
 # This transport is used for local delivery to user mailboxes in traditional
5bfed37
 # BSD mailbox format. By default it will be run under the uid and gid of the