Hi all,
I'm using FreeBSD 4.2 and i trying to configure relay-ctrl.
My problem is that: Never the ip's are recorded in /var/spool/relay-ctrl .
My supervise scripts are:
/var/qmail/supevise/qmail-smtpd/run:
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -DRvX -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
2>&1
/var/qmail/supevise/qmail-pop3d/run:
#!/bin/sh
exec /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
mail.weber
dev.com.br /usr/local/bin/checkvpw /usr/sbin/relay-ctrl-allow
/var/qmail/bin/qmail-pop3d Maildir 2>&1
Some dirs contents:
ls -l /etc/tcp*:
-rw-r--r-- 1 root wheel 26 Mar 30 20:39 /etc/tcp.smtp
-rw-r--r-- 1 root wheel 2090 Apr 4 20:55 /etc/tcp.smtp.cdb
ls -l /etc/relay-ctrl/*:
-rw-r--r-- 1 root wheel 3 Apr 4 20:07 /etc/relay-ctrl/expiry
-rw-r--r-- 1 root wheel 22 Apr 4 16:25 /etc/relay-ctrl/rule
-rw-r--r-- 1 root wheel 5 Apr 4 16:25 /etc/relay-ctrl/rulesdir
-rw-r--r-- 1 root wheel 13 Apr 4 16:26 /etc/relay-ctrl/smtpcdb
-rw-r--r-- 1 root wheel 9 Apr 4 16:27 /etc/relay-ctrl/smtprules
-rw-r--r-- 1 root wheel 22 Apr 4 16:27 /etc/relay-ctrl/spooldir
-rw-r--r-- 1 root wheel 24 Apr 4 16:30 /etc/relay-ctrl/tcprules
cat /etc/relay-ctrl/*:
900
:allow,RELAYCLIENT=''
/etc
tcp.smtp.cdb
tcp.smtp
/var/spool/relay-ctrl
/usr/local/bin/tcprules
Can Somebody help me ?
TIA
Jairo