2013-10-29 17:42:20 +00:00
|
|
|
diff --git a/src/configure.default b/src/configure.default
|
2018-02-14 12:28:19 +00:00
|
|
|
index 8b4575c..2cce34b 100644
|
2013-10-29 17:42:20 +00:00
|
|
|
--- a/src/configure.default
|
|
|
|
+++ b/src/configure.default
|
2018-02-14 12:28:19 +00:00
|
|
|
@@ -735,6 +735,12 @@ userforward:
|
2006-09-04 02:51:36 +00:00
|
|
|
pipe_transport = address_pipe
|
|
|
|
reply_transport = address_reply
|
|
|
|
|
|
|
|
+procmail:
|
|
|
|
+ driver = accept
|
|
|
|
+ check_local_user
|
|
|
|
+ require_files = ${local_part}:+${home}/.procmailrc:/usr/bin/procmail
|
|
|
|
+ transport = procmail
|
|
|
|
+ no_verify
|
|
|
|
|
|
|
|
# This router matches local user mailboxes. If the router fails, the error
|
|
|
|
# message is "Unknown user".
|
2018-02-14 12:28:19 +00:00
|
|
|
@@ -776,6 +782,16 @@ remote_smtp:
|
2006-09-04 02:51:36 +00:00
|
|
|
driver = smtp
|
2016-04-10 21:30:22 +00:00
|
|
|
message_size_limit = ${if > {$max_received_linelength}{998} {1}{0}}
|
2006-09-04 02:51:36 +00:00
|
|
|
|
|
|
|
+# This transport invokes procmail to deliver mail
|
|
|
|
+procmail:
|
|
|
|
+ driver = pipe
|
|
|
|
+ command = "/usr/bin/procmail -d $local_part"
|
|
|
|
+ return_path_add
|
|
|
|
+ delivery_date_add
|
|
|
|
+ envelope_to_add
|
|
|
|
+ user = $local_part
|
|
|
|
+ initgroups
|
|
|
|
+ return_output
|
|
|
|
|
|
|
|
# This transport is used for local delivery to user mailboxes in traditional
|
|
|
|
# BSD mailbox format. By default it will be run under the uid and gid of the
|