Rob G <[EMAIL PROTECTED]> wrote on Saturday, March 1, 2003 at 10:23:09 PM:

> Does anyone have a patch for Qmail/vpopmail that will allow
> SMTP-Authentication instead of Pop before SMTP .. or if someone could
> show me how I would do this using the vpopmail database that would be
> greatly appreciated.
> Regards,
> Rob G

try this.
Edit the path to work with your OS.

create /var/qmail/supervise/qmail-smtpd/run
VPOPMAILUID=`id -u vpopmail`
VPOPMAILGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
#SOFTLIMIT=2000000 is enough if a virusscanner isn't configured
#SOFTLIMIT=18000000 is known to work with qmail-scanner and ClamAV,
FQDN=`cat /var/qmail/control/me`
if [ -z "$VPOPMAILUID" -o -z "$VPOPMAILGID" -o -z "$MAXSMTPD" ]; then
    echo 'VPOPMAILUID, VPOPMAILGID, or MAXSMTPD is unset in'
    echo '/var/qmail/supervise/qmail-smtpd/run'
    exit 1
exec /usr/local/bin/softlimit -m $SOFTLIMIT tcpserver -H -l0 -R -c 512 -x \
  /etc/tcp.smtp.cdb -u $VPOPMAILUID -g $VPOPMAILGID 0 smtp \
    /var/qmail/bin/qmail-smtpd  $FQDN /home/vpopmail/bin/vchkpw \
      /bin/true 2>&1

Best regards,
Roland Schmid

Reply via email to