Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: paulgear on March 17, 2008, 05:13:00 AM
-
Is there any way i can configure my SME server to use postfix instead of qmail? Qmail's logging is utterly incomprehensible to me, and the troubleshooting tools are unfamiliar.
Alternatively (this option comes in a distant second), can anyone point me to information about:
1. Why SMTP traffic on the LAN is logged in the file with local mail delivery instead of with SMTP activity on the WAN interface, and whether this can be changed.
2. How to get dates & times from the logs in human readable format (even decimal Unix times would be an improvement!).
3. Whether it's possible to get qmail to log to syslog instead of its own log files. (This would solve both issues above.)
4. How to track a single message from its incoming connection on the LAN to its eventual destination. Even within one log, the same message id is reused several times, which makes it very difficult to guarantee that we're talking about the same message.
-
2. How to get dates & times from the logs in human readable format (even decimal Unix times would be an improvement!).
cat /var/log/qmail/current | tai64nlocal | less
-
paulgear
If you read the log files using the server manager View log files panel, they are in "human readable" form.
Look at
qpsmtpd/current
and
qmail/current
Re incorporating Postfix into sme, see
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Official_Description
For some qpsmtpd-utils, see
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/dmay/smeserver/7.x/qpsmtpd-utils/
-
If you read the log files using the server manager View log files panel, they are in "human readable" form.
That doesn't help much if you want to watch the logs in real time... ;-)
Re incorporating Postfix into sme, see
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Official_Description
That doesn't seem to say much about postfix on SME, only qpsmtpd in general.
-
That doesn't help much if you want to watch the logs in real time... ;-)
Then why not use:
tail -f /var/log/qmail/current | tai64nlocal
8)
-
paulgear
That doesn't seem to say much about postfix on SME, only qpsmtpd in general.
Quote: "qpsmtpd was originally written as a drop-in qmail-smtpd replacement, but now it also includes smtp forward, postfix, exim and maildir "backends"."
If you then follow the links you find
http://wiki.qpsmtpd.org/
http://www.hjp.at/projekte/qpsmtpd/index.en.rxml
http://www.hjp.at/projekte/qpsmtpd/tutorial.rxml
You have to do the work yourself.
-
Quote: "qpsmtpd was originally written as a drop-in qmail-smtpd replacement, but now it also includes smtp forward, postfix, exim and maildir "backends"."
...
You have to do the work yourself.
And presumably lose all support for configuring mail through the web interface?
-
Moving to General Discussion - a more appropriate forum for this topic.
-
That doesn't help much if you want to watch the logs in real time... ;-)
Or why not use this:
tail -f /var/log/qmail/current | /usr/local/qmailanalog/bin/matchup | /usr/local/qmailanalog/bin/zsendmail | tai64nlocal
-
tail -f /var/log/qmail/current | /usr/local/qmailanalog/bin/matchup | /usr/local/qmailanalog/bin/zsendmail | tai64nlocal
This does not work for me...