summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-09-05 10:54:42 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-09-05 10:56:11 +0200
commit589832f11fcf11ccc25f50e49d869ee403ee3228 (patch)
tree7469a61f6ef201f8a3db9c029cd1b1d1ef4f062e /mail-mta/msmtp/files
parentdev-vcs/mercurial: Bump to version 4.7.1 (diff)
downloadgentoo-589832f11fcf11ccc25f50e49d869ee403ee3228.tar.gz
gentoo-589832f11fcf11ccc25f50e49d869ee403ee3228.tar.bz2
gentoo-589832f11fcf11ccc25f50e49d869ee403ee3228.zip
mail-mta/msmtp: Bump to version 1.8.0
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'mail-mta/msmtp/files')
-rw-r--r--mail-mta/msmtp/files/msmtpd.confd16
-rw-r--r--mail-mta/msmtp/files/msmtpd.init10
2 files changed, 26 insertions, 0 deletions
diff --git a/mail-mta/msmtp/files/msmtpd.confd b/mail-mta/msmtp/files/msmtpd.confd
new file mode 100644
index 000000000000..a42aa5323ca3
--- /dev/null
+++ b/mail-mta/msmtp/files/msmtpd.confd
@@ -0,0 +1,16 @@
+# The user msmtpd should be run as. Default is "msmtpd".
+#MSMTPD_USER="joe"
+
+
+# Uncomment one of the following arguments for msmtpd or write your own
+# argument list.
+
+# Start single SMTP session on stdin/stdout
+#MSMTPD_ARGS="--inetd"
+
+# Listen on a specific IP and a specific port.
+# Default IP is 127.0.0.1 and default port is 25.
+#MSMTPD_ARGS="--interface=192.168.100.1 --port=25000"
+
+# Pipe mails to a specific command instead of msmtp. Please read msmtpd man page.
+#MSMTPD_ARGS="--command='/usr/bin/msmtp -f %F'"
diff --git a/mail-mta/msmtp/files/msmtpd.init b/mail-mta/msmtp/files/msmtpd.init
new file mode 100644
index 000000000000..29f799099fea
--- /dev/null
+++ b/mail-mta/msmtp/files/msmtpd.init
@@ -0,0 +1,10 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Local mta daemon that pipes mails (by default) to msmtp"
+pidfile="/var/run/msmtpd.pid"
+command="/usr/bin/msmtpd"
+command_user="${MSMTPD_USER:-msmtpd}"
+command_args="${MSMTPD_ARGS}"
+command_background="true"