Никак не могу заставить qmail релеить мою почту.
В tcp.smtp:
127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-queue"
198.168.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
10.0.0.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
запускаю qmail так:
#!/bin/sh
export QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
LOCAL=`head -1 /var/qmail/control/me`exec /usr/local/bin/softlimit -m 5000000 /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c 40 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 &
exec /usr/local/bin/softlimit -m 2000000 /usr/local/bin/tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup pechkin.kaliostro.com /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
Что я делаю не так?
>Nikak ne mogu zastavit' qmail releit' moyu pochtu.
>V tcp.smtp:
>127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-queue"
>198.168.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
>10.0.0.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
>:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
>zapuskayu qmail tak:
>#!/bin/sh
>export QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
>QMAILDUID=`id -u qmaild`
>NOFILESGID=`id -g qmaild`
>LOCAL=`head -1 /var/qmail/control/me`
>
>exec /usr/local/bin/softlimit -m 5000000 /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c 40 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 &
>
>exec /usr/local/bin/softlimit -m 2000000 /usr/local/bin/tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup pechkin.kaliostro.com /usr/local/vpopmail/bin/vchkpw
>/var/qmail/bin/qmail-pop3d Maildir &
>
>CHto ya delayu ne tak?tcp.smtp.cdb sdelal posle obnovlenija tcp.smtp ?
Уже решил проблему.
Спасибо.
>Uzhe reshil problemu.
>Spasibo.I 4to bilo ?
а может правильнее
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
???