From: Frank Brehm Date: Tue, 20 Dec 2016 16:20:29 +0000 (+0100) Subject: committing changes in /etc after emerge run X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=f897ab426c1f5fe0c7974275cd8204319192215f;p=config%2Fberta%2Fetc.git committing changes in /etc after emerge run Package changes: +mail-mta/ssmtp-2.64-r2 --- diff --git a/.etckeeper b/.etckeeper index 3048ce9..b02ff6a 100755 --- a/.etckeeper +++ b/.etckeeper @@ -612,6 +612,10 @@ maybe chmod 0700 'ssl/private' maybe chmod 0644 'ssl/private/.keep_dev-libs_openssl-0' maybe chmod 0755 'ssl/rsyslog' maybe chmod 0644 'ssl/rsyslog/.keep_app-admin_rsyslog-0' +maybe chmod 0755 'ssmtp' +maybe chmod 0644 'ssmtp/revaliases' +maybe chgrp 'ssmtp' 'ssmtp/ssmtp.conf' +maybe chmod 0640 'ssmtp/ssmtp.conf' maybe chmod 0644 'sysctl.conf' maybe chmod 0755 'sysctl.d' maybe chmod 0644 'sysctl.d/README' diff --git a/group b/group index e5f3d24..8cdde53 100644 --- a/group +++ b/group @@ -46,3 +46,4 @@ apache:x:81: nullmail:x:88: mail:x:12: postmaster:x:237: +ssmtp:x:236: diff --git a/group- b/group- index 0a5ebb2..e5f3d24 100644 --- a/group- +++ b/group- @@ -45,3 +45,4 @@ ldap:x:439: apache:x:81: nullmail:x:88: mail:x:12: +postmaster:x:237: diff --git a/gshadow b/gshadow index 26d3f22..374fc4a 100644 --- a/gshadow +++ b/gshadow @@ -46,3 +46,4 @@ apache:!:: nullmail:!:: mail:!:: postmaster:!:: +ssmtp:!:: diff --git a/gshadow- b/gshadow- index 0cf6f7b..26d3f22 100644 --- a/gshadow- +++ b/gshadow- @@ -45,3 +45,4 @@ ldap:!:: apache:!:: nullmail:!:: mail:!:: +postmaster:!:: diff --git a/ssmtp/revaliases b/ssmtp/revaliases new file mode 100644 index 0000000..77ff91f --- /dev/null +++ b/ssmtp/revaliases @@ -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/ssmtp/ssmtp.conf b/ssmtp/ssmtp.conf new file mode 100644 index 0000000..75900b2 --- /dev/null +++ b/ssmtp/ssmtp.conf @@ -0,0 +1,51 @@ +# +# /etc/ssmtp.conf -- a config file for sSMTP sendmail. +# + +# The person who gets all mail for userids < MinUserId +# Make this empty to disable rewriting. +root=postmaster + +# All mail delivered to userid >= MinUserId goes to user, not root. +#MinUserId=1000 + +# The place where the mail goes. The actual machine name is required +# no MX records are consulted. Commonly mailhosts are named mail.domain.com +# The example will fit if you are in domain.com and your mailhub is so named. +mailhub=mail + +# Example for SMTP port number 2525 +# mailhub=mail.your.domain:2525 +# Example for SMTP port number 25 (Standard/RFC) +# mailhub=mail.your.domain +# Example for SSL encrypted connection +# mailhub=mail.your.domain:465 + +# Where will the mail seem to come from? +#rewriteDomain= + +# The full hostname + +# Gentoo bug #47562 +# Commenting the following line will force ssmtp to figure +# out the hostname itself. + +# hostname=_HOSTNAME_ + +# Set this to never rewrite the "From:" line (unless not given) and to +# use that address in the "from line" of the envelope. +#FromLineOverride=YES + +# Use SSL/TLS to send secure messages to server. +#UseTLS=YES + +# Use SSL/TLS certificate to authenticate against smtp host. +#UseTLSCert=YES + +# Use this RSA certificate. +#TLSCert=/etc/ssl/certs/ssmtp.pem + +# Get enhanced (*really* enhanced) debugging information in the logs +# If you want to have debugging of the config file parsing, move this option +# to the top of the config file and uncomment +#Debug=YES