From: Gustaf N. <ne...@wu...> - 2023-09-26 18:27:42
|
Dear NaviServer users, the updated version of nsstats supports now viewing smtp log files in a similar way to the HTTP client log files (see for an example the presentation of the last EuroTcl/OpenACS conference [1]). The SMTP sent log visualizes the performance, frequency and the result codes for the SMTP send commands, when the nssmptd module is used. See below for a sample configuration of for the nssmtpd module with logging configured. all the best -gn ns_section "ns/server/$server/module/nssmtpd" { ns_param port $smtpdport ns_param address $nssmtpd_address ;# 127.0.0.1 ns_param relay localhost:25 ns_param spamd localhost ns_param initproc smtpd::init ns_param rcptproc smtpd::rcpt ns_param dataproc smtpd::data ns_param errorproc smtpd::error ns_param relaydomains "localhost" ns_param localdomains "localhost" ns_param logging on ;# default: off ns_param logfile ${logroot}/smtpsend.log ns_param logrollfmt %Y-%m-%d ;# format appended to log filename #ns_param logmaxbackup 100 ;# 10, max number of backup log files #ns_param logroll true ;# true, should server log files automatically #ns_param logrollonsignal true ;# false, perform roll on a sighup #ns_param logrollhour 0 ;# 0, specify at which hour to roll } [1] https://openacs.org/conf2023/info/download/file/openacs-conf-2023-naviserver.pdf |