From 1d45c705213c9ddebf7b7be432cdd748b068ef15 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sun, 21 Mar 2010 04:34:36 -0500 Subject: [PATCH] patch: use ssmtp for mail handling --- src/patch/etc_mail_mailer.conf-use-ssmtp.patch | 18 ++++++++++++++++++ ...tc_ssmtp_revaliases-sensible-defaults.patch | 9 +++++++++ ...tc_ssmtp_ssmtp.conf-sensible-defaults.patch | 5 +++++ 3 files changed, 32 insertions(+) create mode 100644 src/patch/etc_mail_mailer.conf-use-ssmtp.patch create mode 100644 src/patch/usr_local_etc_ssmtp_revaliases-sensible-defaults.patch create mode 100644 src/patch/usr_local_etc_ssmtp_ssmtp.conf-sensible-defaults.patch diff --git a/src/patch/etc_mail_mailer.conf-use-ssmtp.patch b/src/patch/etc_mail_mailer.conf-use-ssmtp.patch new file mode 100644 index 0000000..db0e3c2 --- /dev/null +++ b/src/patch/etc_mail_mailer.conf-use-ssmtp.patch @@ -0,0 +1,18 @@ +--- etc/mail/mailer.conf.orig 2010-03-21 09:35:11.000000000 +0000 ++++ etc/mail/mailer.conf 2010-03-21 09:39:00.000000000 +0000 +@@ -2,9 +2,9 @@ + # + # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail + # +-sendmail /usr/libexec/sendmail/sendmail +-send-mail /usr/libexec/sendmail/sendmail +-mailq /usr/libexec/sendmail/sendmail +-newaliases /usr/libexec/sendmail/sendmail +-hoststat /usr/libexec/sendmail/sendmail +-purgestat /usr/libexec/sendmail/sendmail ++sendmail /usr/local/sbin/ssmtp ++send-mail /usr/local/sbin/ssmtp ++mailq /usr/local/sbin/ssmtp ++newaliases /usr/local/sbin/ssmtp ++hoststat true ++purgestat true diff --git a/src/patch/usr_local_etc_ssmtp_revaliases-sensible-defaults.patch b/src/patch/usr_local_etc_ssmtp_revaliases-sensible-defaults.patch new file mode 100644 index 0000000..c2356db --- /dev/null +++ b/src/patch/usr_local_etc_ssmtp_revaliases-sensible-defaults.patch @@ -0,0 +1,9 @@ +--- /dev/null 2010-03-21 09:31:42.000000000 +0000 ++++ usr/local/etc/ssmtp/revaliases 2010-03-21 09:22:44.000000000 +0000 +@@ -0,0 +1,6 @@ ++# sSMTP aliases ++# ++# Format: local_account:outgoing_address:mailhub ++# ++# Example: root:your_login@your.domain:mailhub.your.domain[:port] ++# where [:port] is an optional port number that defaults to 25. diff --git a/src/patch/usr_local_etc_ssmtp_ssmtp.conf-sensible-defaults.patch b/src/patch/usr_local_etc_ssmtp_ssmtp.conf-sensible-defaults.patch new file mode 100644 index 0000000..e54f90d --- /dev/null +++ b/src/patch/usr_local_etc_ssmtp_ssmtp.conf-sensible-defaults.patch @@ -0,0 +1,5 @@ +--- /dev/null 2010-03-21 09:31:42.000000000 +0000 ++++ usr/local/etc/ssmtp/ssmtp.conf 2010-03-21 09:25:09.000000000 +0000 +@@ -0,0 +1,2 @@ ++root=postmaster ++mailhub=vitani.cyberleo.net -- 2.42.0