summaryrefslogtreecommitdiff
path: root/mail-filter/postforward/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-18 04:54:42 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-18 04:54:42 +0000
commit5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (patch)
treec968fff3108e2b4d88e4e564a56bfd066f170573 /mail-filter/postforward/files
parent1dde4e5c4b92d849bf1abf0a48135b2a0644f7e1 (diff)
gentoo resync : 18.03.2018
Diffstat (limited to 'mail-filter/postforward/files')
-rw-r--r--mail-filter/postforward/files/postforward_apply-sendmail-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail-filter/postforward/files/postforward_apply-sendmail-path.patch b/mail-filter/postforward/files/postforward_apply-sendmail-path.patch
new file mode 100644
index 000000000000..c64b76368a39
--- /dev/null
+++ b/mail-filter/postforward/files/postforward_apply-sendmail-path.patch
@@ -0,0 +1,11 @@
+--- a/postforward.go
++++ b/postforward.go
+@@ -27,7 +27,7 @@ const (
+ )
+
+ var dryRun = flag.Bool("dry-run", false, "show what would be done, don't actually forward mail")
+-var path = flag.String("path", "", "override $PATH with this value when executing binaries")
++var path = flag.String("path", "@GENTOO_PORTAGE_EPREFIX@/usr/sbin", "override $PATH with this value when executing binaries")
+ var rpHeader = flag.String("rp-header", "Return-Path", "header name containing the return-path (MAIL FROM) value")
+ var sendmailPath = flag.String("sendmail-path", "sendmail", "path to the sendmail binary (deprecated: use --path instead)")
+ var srsAddr = flag.String("srs-addr", "localhost:10001", "TCP address for SRS lookups")