# Configuration file for qmail-smtpd # $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-smtpd,v 1.1 2006/02/12 18:42:33 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="" # use a specific gid for the certificates so they are not world readable QMAILCERTGID=$(grep '^qmailcert:' /etc/group | awk -F: '{print $3}') # this turns off the IDENT grab attempt on connecting TCPSERVER_OPTS="${TCPSERVER_OPTS} -R" # this must stay here as the usual identification by service name does not work here TCPSERVER_PORT="smtp" # This next block is for SMTP-AUTH # WARNING: If you've installed qmail with USE=noauthcram, and you want to use # the following programs, you proably need to install them. # 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}" }