Hello,

Can someone provide more granular installation instructions?  I'm not
certain I've installed it correctly.  The instructions on
http://develooper.com/code/qpsmtpd/ were rather vague.

What I did was to copy qpsmtpd into /var/qmail/bin, chown qmaill.root and
changed path to perl.  I then stopped qmail and removed the contents
of /var/qmail/supervise/qmail-smptd and copied everything in the qpsmtpd
package there, again, chown qmaill.root.  In this directory is the conf
folder and in that folder I created a file named IP and entered the IP
address of the mail server.  I also edited the /var/qmail/supervise/qmail-
smptd/run file thusly:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/bin/softlimit -m 2000000 \
/usr/bin/tcpserver -v -c 50 -p -x /etc/tcprules.d/qmail-smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp \
/var/qmail/bin/qpsmtpd 2>&1 \
/var/qmail/bin/splogger qmail


and the /var/qmail/supervise/qmail-smptd/log/run file like so:

#! /bin/sh
exec /usr/bin/setuidgid qmaill /usr/bin/multilog t s1000000
n20 /var/log/qmail/qpsmtpd

Restarted qmail and everything appears to be working, but maybe someone can
confirm that this is okay?  Also, how would I test it to determine if it is
rejecting hosts that don't resolve or have no A or MX record.

Thanks,

James Simmons
Belchfire.net









Reply via email to