Hi folks,
my qmail-smtpd runscript uses rbl check, but with users authenticated
for relay too.
It's possible to avoid that?
This is my runscript:
#!/bin/sh
QMAILDUID=`/usr/bin/id -u vpopmail`
NOFILESGID=`/usr/bin/id -g vchkpw`
MAXSMTPD=`/bin/cat /var/qmail/control/concurrencyincoming`
#if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then
# echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in
# echo /var/qmail/supervise/qmail-smtpd/run
# exit 1
#fi
exec /usr/local/bin/softlimit -m 70000000 \
/usr/local/bin/tcpserver -v -R -h -l 0 -x
/home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 25 \
/usr/local/bin/rblsmtpd -v -r korea.services.net -r list.dsbl.org
-r relays.ordb.org -r sbl-xbl.spamhaus.org /var/qmail/bin/qmail-smtpd
\
/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1
any advice will be appreciated
Regards
Andrea
########################################################################
Hi!
With a patch, you can take advantage from "PopBeforeSmtp" features.
For example:
--- vpopmail.c ---
- fprintf( fs_tmp_file, "%s:allow,RELAYCLIENT=\"\",RBLSMTPD=\"\"\t%d\n",
+ fprintf( fs_tmp_file,
"%s:allow,QMAILQUEUE=\"/var/qmail/bin/simscan\",RBLSMTPD=\"\"\t%d\n",
Remove RELAYCLIENT , add QMAILQUEUE and use RBLSMTPD!
Bye
2006/6/3, Andrea Riela <>:
> Hi folks,
>
> my qmail-smtpd runscript uses rbl check, but with users authenticated
> for relay too.
> It's possible to avoid that?
>
> This is my runscript:
>
> #!/bin/sh
> QMAILDUID=`/usr/bin/id -u vpopmail`
> NOFILESGID=`/usr/bin/id -g vchkpw`
> MAXSMTPD=`/bin/cat /var/qmail/control/concurrencyincoming`
> #if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then
> # echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in
> # echo /var/qmail/supervise/qmail-smtpd/run
> # exit 1
> #fi
> exec /usr/local/bin/softlimit -m 70000000 \
> /usr/local/bin/tcpserver -v -R -h -l 0 -x
> /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" 0 25 \
> /usr/local/bin/rblsmtpd -v -r korea.services.net -r list.dsbl.org
> -r relays.ordb.org -r sbl-xbl.spamhaus.org /var/qmail/bin/qmail-smtpd
> \
> /home/vpopmail/bin/vchkpw /usr/bin/true 2>&1
>
> any advice will be appreciated
> Regards
> Andrea
>
阅读(2522) | 评论(0) | 转发(0) |