samuel C <[EMAIL PROTECTED]> wrote:
>
> env - PATH="/usr/local/qmail/bin:/usr/local/bin" tcpserver -vQ -u697
> -g692 linux1649.dn.net 902 /usr/local/qmail/bin/qmail-smtpd 2>&1 |
> /usr/local/qmail/bin/splogger matsmtp 3 &
You're logging to syslog with facility 3. If nothing is ending up in
the syslog, check your syslogd configuration to see if it is ignoring or
filtering those messages.
> .
> 250 ok 1000395802 qp 27055
qmail appears to be receiving those messages properly.
> If I put some bad parameter in the tcpserver line executed from the
> commandline as root, I get errors in this log, so the logging facility
> works well!:
> Sep 13 17:47:15 linux1649 matsmtp: 1000396035.270753 tcpserver: fatal:
> unable to bind: address already used
> Sep 13 17:48:12 linux1649 matsmtp: 1000396092.987580 tcpserver: fatal:
> unable to set gid: invalid argument
>
> any idea on what's happening?
You appear to be throwing away messages at the LOG_INFO severity level,
perhaps.
splogger and syslogd are deprecated for qmail installs. You should use
multilog from the daemontools package. See "Life with qmail" for how to
install qmail using these methods.
> if I remove the domain igmweb.com from rcpthosts:
> telnet linux1649.dn.net 902
> Trying 128.242.207.152...
> Connected to linux1649.
> Escape character is '^]'.
> 220 linux1649.dn.net ESMTP
> mail <[EMAIL PROTECTED]>
> 250 ok
> rcpt <[EMAIL PROTECTED]>
> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
>
> and no logging happens...
qmail-smtpd doesn't log anything directly, and this message was rejected
before it could reach qmail-send, so you shouldn't expect any log
messages from this attempt. This is well-documented in the list
archives.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------