toaster-watcher errors tcp.smtp.db

Started by netgeek, February 16, 2004, 06:58:47 PM

Previous topic - Next topic

netgeek

OS:freebsd 4-stable
mail toaster: 3.33
toaster-watcher: 1.28

What is in (appropriate areas) /usr/local/etc/toaster-watcher.conf:
smtpd_relay_database            = /usr/local/vpopmail/etc/tcp.smtp.cdb

what is in /usr/local/vpopmail/etc/tcp.smtp:
## Allow localhost and any local network addresses to relay ##
127.0.0.1:allow,QMAILQUEUE="/var/qmail/bin/qmail-queue"
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
## end ##
### BEGIN QMAIL SCANNER VIRUS ENTRIES ###

### END QMAIL SCANNER VIRUS ENTRIES ###

I did run:
tcprules /usr/local/vpopmail/etc/tcp.smtp.cdb /usr/local/vpopmail/etc/tcp.smtp.tmp < /usr/local/vpopmail/etc/tcp.smtp
and then:
chown vpopmail /usr/local/vpopmail/etc/tcp.smtp.cdb
When the watcher is run it gives this error:
FAILURE: Couldn't find QS section in /usr/local/vpopmail/etc/tcp.smtp.cdb

matt

Make sure there are no extra spaces are at the end of those lines. They must be EXACTLY the same as toaster-watcher.pl expects.

I've changed the match requirement to a regular expression for v3.34 so that if you add whitespace onto the end, it won't complain.

Matt

netgeek

I entered it manually and still not working.

atoyf

Kind regards, Anton