diff options
author | Michael Hanselmann <hansmi@gentoo.org> | 2005-06-19 06:52:42 +0000 |
---|---|---|
committer | Michael Hanselmann <hansmi@gentoo.org> | 2005-06-19 06:52:42 +0000 |
commit | 4a9139b9062a6226778bb64f98bcf4d57e895f8d (patch) | |
tree | f1b91ca9ebba4d26500fd7b6c890348b01730201 /mail-mta/qmail | |
parent | Version bump (bug 94081) (diff) | |
download | gentoo-2-4a9139b9062a6226778bb64f98bcf4d57e895f8d.tar.gz gentoo-2-4a9139b9062a6226778bb64f98bcf4d57e895f8d.tar.bz2 gentoo-2-4a9139b9062a6226778bb64f98bcf4d57e895f8d.zip |
Gave r16 its own conf-smtpd
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'mail-mta/qmail')
-rw-r--r-- | mail-mta/qmail/ChangeLog | 7 | ||||
-rw-r--r-- | mail-mta/qmail/files/conf-smtpd-r16 | 48 | ||||
-rw-r--r-- | mail-mta/qmail/qmail-1.03-r16.ebuild | 6 |
3 files changed, 58 insertions, 3 deletions
diff --git a/mail-mta/qmail/ChangeLog b/mail-mta/qmail/ChangeLog index ef417db22e6d..46611a537610 100644 --- a/mail-mta/qmail/ChangeLog +++ b/mail-mta/qmail/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-mta/qmail # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/ChangeLog,v 1.46 2005/06/18 13:37:36 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/ChangeLog,v 1.47 2005/06/19 06:52:42 hansmi Exp $ + + 19 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> +files/conf-smtpd-r16, + qmail-1.03-r16.ebuild: + Gave r16 its own conf-smtpd because some things with authentication changed + between r15 and r16 (new auth patch). 18 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> qmail-1.03-r15.ebuild, qmail-1.03-r16.ebuild: diff --git a/mail-mta/qmail/files/conf-smtpd-r16 b/mail-mta/qmail/files/conf-smtpd-r16 new file mode 100644 index 000000000000..12817730d180 --- /dev/null +++ b/mail-mta/qmail/files/conf-smtpd-r16 @@ -0,0 +1,48 @@ +# Configuration file for qmail-smtpd +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/files/conf-smtpd-r16,v 1.1 2005/06/19 06:52:42 hansmi Exp $ + +# Stuff to run before tcpserver +#QMAIL_TCPSERVER_PRE="" +# Stuff to run qmail-smtpd +#QMAIL_SMTP_PRE="" +# Stuff to after qmail-smtpd +#QMAIL_SMTP_POST="" + +# this turns off the IDENT grab attempt on connecting +TCPSERVER_OPTS="${TCPSERVER_OPTS} -R" + +# fixcrio inserts missing CRs at the ends of lines. See: +# http://cr.yp.to/ucspi-tcp/fixcrio.html +# http://cr.yp.to/docs/smtplf.html +# DO NOT enable this when you are using SSL/TLS (USE=ssl)! +#QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} fixcrio" + +# You might want to use rblsmtpd with this, but you need to fill in a RBL +# server here first, see http://cr.yp.to/ucspi-tcp/rblsmtpd.html for more +# details +#QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} rblsmtpd -r RBL-SERVER" + +# If you are interested in providing POP or IMAP before SMTP type relaying, +# emerge relay-ctrl, then uncomment the next 2 lines +#QMAIL_TCPSERVER_PRE="${QMAIL_TCPSERVER_PRE} envdir /etc/relay-ctrl relay-ctrl-chdir" +#QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} relay-ctrl-check" +# In /etc/courier-imap/authdaemonrc add the next line to the end: +#authmodulelist="${authmodulelist} relay-ctrl-allow" +# Then in /etc/courier-imap/{imapd,imapd-ssl,pop3d,pop3d-ssl} +# Add this at the end +#PRERUN="${PRERUN} envdir /etc/relay-ctrl relay-ctrl-chdir" + +# This next block is for SMTP-AUTH + +# Example using cmd5checkpw +# See the manpage for cmd5checkpw for details on the passwords +#QMAIL_SMTP_CHECKPASSWORD="/bin/cmd5checkpw" + +# Example for checkpassword-pam (emerge checkpassword-pam) +# Don't forget to make /usr/bin/checkpassword-pam sticky (see README.auth) +#QMAIL_SMTP_CHECKPASSWORD="/usr/bin/checkpassword-pam -s system-auth" + +[[ -n "${QMAIL_SMTP_CHECKPASSWORD}" ]] && { + [[ -z "${QMAIL_SMTP_POST}" ]] && QMAIL_SMTP_POST=/bin/true + QMAIL_SMTP_POST="${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}" +} diff --git a/mail-mta/qmail/qmail-1.03-r16.ebuild b/mail-mta/qmail/qmail-1.03-r16.ebuild index 3a1c0d1ceec4..70067a254e73 100644 --- a/mail-mta/qmail/qmail-1.03-r16.ebuild +++ b/mail-mta/qmail/qmail-1.03-r16.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/qmail-1.03-r16.ebuild,v 1.21 2005/06/18 13:37:36 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/qmail-1.03-r16.ebuild,v 1.22 2005/06/19 06:52:42 hansmi Exp $ inherit toolchain-funcs eutils fixheadtails flag-o-matic @@ -417,7 +417,9 @@ src_install() { einfo "Insalling some stock configuration files" insinto /var/qmail/control insopts -o root -g root -m 644 - doins ${FILESDIR}/conf-* ${FILESDIR}/${PVR}/smtpplugins + doins ${FILESDIR}/conf-{send,qmtpd,qmqpd,pop3d} + newins ${FILESDIR}/conf-smtpd-${PR} conf-smtpd + doins ${FILESDIR}/${PVR}/smtpplugins newins ${FILESDIR}/dot_qmail defaultdelivery use ssl && doins ${FILESDIR}/servercert.cnf |