> How can I start qmail-smtpd smtp service by tcpserver so that
> my customers which are relying from overall can relay.
>
> I read "selective relaying"
>
> But what can I do now?
>
> Oliver
> --
> t-host GmbH                             Mobil: 0170/2781117
> D-80337 München                   Tel: +49 89 54071102
> Tumblinger Straße 50               Fax: +49 89 54071103

Guten Tag Oliver,

If you're trying to use POP before SMTP auth to get roaming users to be able
to relay, set the --enable-roaming-users=y flag on compile of vpopmail.  In
your qmail-smtpd/run file, you'll need this line: -x
/home/vpopmail/etc/tcp.smtp.cdb  added in.  An example from my machine is:

exec /usr/local/bin/softlimit -m 15000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" \
-x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" -c100 0 smtp rblsmtpd \
/var/qmail/bin/qmail-smtpd 2>&1

You'll also need a crontab:

40 0 * * * su -c "/home/vpopmail/bin/clearopensmtp 2>&1 > /dev/null"
vpopmail

Note: Some of the filenames may be different depending on how you've
installed everything.

Viele Gluck!

Russell Mann



Reply via email to