G
greyman56
Guest
Has anyone managed to get qmail-spp plugins to send their stderr log messages to the mail log?
When adding a plugin to be called by qmail-spp, the plugin sends log output to stderr and it should appear in the log. Instead it goes back to the smtp socket and disrupts the smtp conversation. This is an xinetd issue.
When qmail-spp runs in the normal qmail environment, under tcpserver, stderr is usually directed to a log file via splogger or multilog. In the plesk environment we are using xinetd and it grabs stderr and sends it back to the tcp socket. Not good.
I know it is probably possible to write a wrapper script that redirects strderr to splogger, but that would mean a new copy of splogger for every incoming smtp connection. Also not desirable.
Any thoughts about this?
BTW, I am trying to perfect our own implementation of greylisting that works as a plugin. Trials so far are very encouraging but the lack of logging is a bit of a problem.
Cheers
Graham
When adding a plugin to be called by qmail-spp, the plugin sends log output to stderr and it should appear in the log. Instead it goes back to the smtp socket and disrupts the smtp conversation. This is an xinetd issue.
When qmail-spp runs in the normal qmail environment, under tcpserver, stderr is usually directed to a log file via splogger or multilog. In the plesk environment we are using xinetd and it grabs stderr and sends it back to the tcp socket. Not good.
I know it is probably possible to write a wrapper script that redirects strderr to splogger, but that would mean a new copy of splogger for every incoming smtp connection. Also not desirable.
Any thoughts about this?
BTW, I am trying to perfect our own implementation of greylisting that works as a plugin. Trials so far are very encouraging but the lack of logging is a bit of a problem.
Cheers
Graham