LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   qmail-smtpd-auth+requireauth validate any password (https://www.linuxquestions.org/questions/linux-software-2/qmail-smtpd-auth-requireauth-validate-any-password-235800/)

arnaldostones 09-27-2004 11:08 AM

qmail-smtpd-auth+requireauth validate any password
 
Hey all..

I compile a qmail with qmail-smtpd-auth + qmail-smtpd-requireatuh +qmail-scanner and clamav and i have sucess, but, when i set a outlook express for send mail, his ask for a password. ok, that's simple, and if i provide any password different of system user password, qmail send a message!!!!

I don't understanding it.
My /etc/tcp.smtp:

127.:allow,RELAYCLIENT=""
192.168.1.:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue",REQUIREAUTH=""
:allow

My /var/qmail/supervise/qmail-smtpd/run file:
#!/bin/sh
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
export QMAILQUEUE
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`

if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi

if [ ! -f /var/qmail/control/rcpthosts ]; then
echo "No /var/qmail/control/rcpthosts!"
echo "Refusing to start SMTP listener because it'll create an open relay"
exit 1
fi

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

Thaks a lot for any information about this problems..


All times are GMT -5. The time now is 06:23 AM.