From: "Eray Aslan (eras)" <eras@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in mail-mta/nullmailer/files: init.d-nullmailer-r2 remotes.sample-1.11
Date: Tue, 8 Jan 2013 11:37:07 +0000 (UTC) [thread overview]
Message-ID: <20130108113707.E58A52171D@flycatcher.gentoo.org> (raw)
eras 13/01/08 11:37:07
Added: init.d-nullmailer-r2 remotes.sample-1.11
Log:
Documentation and init script update
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Revision Changes Path
1.1 mail-mta/nullmailer/files/init.d-nullmailer-r2
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/nullmailer/files/init.d-nullmailer-r2?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/nullmailer/files/init.d-nullmailer-r2?rev=1.1&content-type=text/plain
Index: init.d-nullmailer-r2
===================================================================
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/files/init.d-nullmailer-r2,v 1.1 2013/01/08 11:37:07 eras Exp $
DAEMON="/usr/sbin/nullmailer-send"
ARGS="--daemon"
USER=nullmail
GROUP=nullmail
depend() {
use net logger
provide mta
}
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() {
checkconfig
ebegin "Starting nullmailer"
cd /var/nullmailer
start-stop-daemon --start --quiet --user ${USER}:${GROUP} \
--exec ${DAEMON} -- ${ARGS}
eend $?
}
stop() {
checkconfig # to avoid init.d stopping svscan instance
ebegin "Stopping nullmailer"
cd /var/nullmailer
start-stop-daemon --stop --user ${USER} --exec ${DAEMON}
eend $?
}
1.1 mail-mta/nullmailer/files/remotes.sample-1.11
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/nullmailer/files/remotes.sample-1.11?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/nullmailer/files/remotes.sample-1.11?rev=1.1&content-type=text/plain
Index: remotes.sample-1.11
===================================================================
# Format is: HOST PROTOCOL [OPTIONS]
# HOST = IP or DNS
# PROTOCOL = smtp | qmtp
# OPTIONS = [--port=NUMBER] [--auth=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
reply other threads:[~2013-01-08 11:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130108113707.E58A52171D@flycatcher.gentoo.org \
--to=eras@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox