maybe chmod 0755 'init.d/net-online'
maybe chmod 0755 'init.d/net.lo'
maybe chmod 0755 'init.d/netmount'
+maybe chmod 0755 'init.d/nullmailer'
maybe chmod 0755 'init.d/numlock'
maybe chmod 0755 'init.d/osclock'
maybe chmod 0755 'init.d/pciparm'
maybe chmod 0644 'nanorc'
maybe chmod 0644 'networks'
maybe chmod 0644 'nsswitch.conf'
+maybe chmod 0755 'nullmailer'
+maybe chgrp 'nullmail' 'nullmailer/remotes'
+maybe chmod 0640 'nullmailer/remotes'
maybe chmod 0755 'openldap'
maybe chmod 0600 'openldap/DB_CONFIG.example'
maybe chmod 0644 'openldap/ldap.conf'
lock:x:998:
ldap:x:439:
apache:x:81:
+nullmail:x:88:
dialout:x:999:
lock:x:998:
ldap:x:439:
+apache:x:81:
lock:!!::
ldap:!::
apache:!::
+nullmail:!::
dialout:!!::
lock:!!::
ldap:!::
+apache:!::
--- /dev/null
+#!/sbin/openrc-run
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Id$
+
+command="/usr/sbin/nullmailer-send"
+
+start_stop_daemon_args="--chdir /var/nullmailer --user nullmail:nullmail"
+
+required_dirs="/var/nullmailer"
+pidfile="/run/nullmailer.pid"
+command_background="true"
+command_args="-s"
+
+depend() {
+ use net logger
+}
+
+checkconfig() {
+ local error=0
+ local f=/etc/nullmailer/me
+ if [ ! -s ${f} ]; then
+ eerror "${f} does not exist"
+ error=1
+ fi
+ f=/etc/nullmailer/defaultdomain
+ if [ ! -s ${f} ]; then
+ eerror "${f} does not exist"
+ error=1
+ fi
+ if [ ${error} -eq 1 ]; then
+ einfo "You need to run 'emerge --config nullmailer'!"
+ fi
+ if [ -e /service/nullmailer ]; then
+ eerror "Nullmailer is already running under svscan!"
+ error=2
+ fi
+ if [ ${error} -ne 0 ]; then
+ return 1
+ else
+ return 0
+ fi
+}
+
+start_pre() {
+ checkconfig
+}
+
+stop_pre() {
+ checkconfig # to avoid init.d stopping svscan instance
+}
--- /dev/null
+# Format is: HOST PROTOCOL [OPTIONS]
+# HOST = IP or DNS
+# PROTOCOL = smtp | qmtp
+# OPTIONS = [--port=NUMBER] [--user] [--pass] [--starttls | --ssl [--insecure] ]
+#
+# Examples:
+# A standard SMTP server:
+# somesendmailserver.domain.com smtp
+#
+# A qmail server with QMQP setup:
+# someqmailserver.domain.com qmqp
+#
+# A nonstandard SMTP server setup:
+# someotherserver.domain.com smtp --port=2525
+#
+# SMTP server supporting AUTH PLAIN
+# mailserver smtp --user=<user> --pass=<pass>
+#
+# SMTP server supporting AUTH LOGIN
+# mailserver smtp --user=<user> --pass=<pass> --auth-login
+#
+# SMTP server with smtps (legacy - use starttls instead)
+# mailserver smtp --user=<user> --pass=<pass> --port=465 --ssl
+#
+# SMTP server on submission port with starttls
+# mailserver smtp --user=<user> --pass=<pass> --port=587 --starttls
+#
+# SMTP server on submission port with starttls and self-signed certificate
+# mailserver smtp --user=<user> --pass=<pass> --port=587 --starttls --insecure
cron:x:16:16:added by portage for cronbase:/var/spool/cron:/sbin/nologin
ldap:x:439:439:added by portage for openldap:/usr/lib64/openldap:/sbin/nologin
apache:x:81:81:added by portage for apache:/var/www:/sbin/nologin
+nullmail:x:88:88:added by portage for nullmailer:/var/nullmailer:/sbin/nologin
messagebus:x:108:240:added by portage for dbus:/dev/null:/sbin/nologin
cron:x:16:16:added by portage for cronbase:/var/spool/cron:/sbin/nologin
ldap:x:439:439:added by portage for openldap:/usr/lib64/openldap:/sbin/nologin
+apache:x:81:81:added by portage for apache:/var/www:/sbin/nologin
cron:!:17154::::::
ldap:!:17155::::::
apache:!:17155::::::
+nullmail:!:17155::::::
messagebus:!:17148::::::
cron:!:17154::::::
ldap:!:17155::::::
+apache:!:17155::::::