SerialMail AutoTURN where is the log
Sérgio Manuel Rosa <[email protected]>
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Organization | Gosecure - Soluções de Segurança da Informação , Lda |
| Message-ID | <001801c43dec$0612ad40$0601a8c0@GOSEC005> |
Hi all,
Im running qmail with tcpserver (both last versions).
Recently I had to implement AutoTURN and after it the logging gone away.
I googled a bit and found a hint on using recordio. Well I got logs
again, but its logging all mail messages that pass through smtp.
This is the configuration I had before AutoTURN
cat supervise/smtp/run
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
export QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
exec /usr/local/bin/softlimit -m 10000000 \
/usr/local/bin/tcpserver -v -D -H -R -l 0 \
-x /opt/vpopmail/vmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 81.92.196.98 smtp \
rblsmtpd \
-r sbl-xbl.spamhaus.org \
-r blackholes.mail-abuse.org \
-r list.dsbl.org \
-r bl.spamcop.net \
-r relays.ordb.org \
-r dnsbl.ahbl.org \
/var/qmail/bin/qmail-smtpd dotwebon.com \
/opt/vpopmail/vmail/bin/vchkpw /bin/true 2>&1
cat supervise/smtp/log/run
#!/bin/sh
exec setuidgid qmaill multilog t n100 s1000000 /var/log/qmail/smtpd
and now I have this configuration
cat supervise/smtp/run
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
export QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
exec /usr/local/bin/softlimit -m 10000000 \
/usr/local/bin/tcpserver -v -D -H -R -l 0 \
-x /opt/vpopmail/vmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 81.92.196.98 smtp \
rblsmtpd \
-r sbl-xbl.spamhaus.org \
-r blackholes.mail-abuse.org \
-r list.dsbl.org \
-r bl.spamcop.net \
-r relays.ordb.org \
-r dnsbl.ahbl.org \
sh -c '
recordio /var/qmail/bin/qmail-smtpd
cd /var/qmail/autoturn
exec setlock -nx $TCPREMOTEIP/seriallock \
maildirsmtr $TCPREMOTEIP autoturn-$TCPREMOTEIP- $TCPREMOTEIP
AutoTURN
' dotwebon.com /opt/vpopmail/vmail/bin/vchkpw /bin/true 2>&1
and in supervise/log/run nothing changed.
If I remove recordio logging is gone.
Is possible to have old logging back?
Thanks
Srosa
--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.245 / Virus Database: 262.10.2 - Release Date: 5/18/2004