Does anyone know if there have there been any attempts to use qmail-scanner in conjunction with qmail-inject to modify headers in email messages being sent by clients?
Firstly, I'm fairly new to qmail-scanner. I've only been using it for a couple of weeks, and I'm already very impressed with it, and I'd now like to try modifying it for something I've been trying to do with qmail for some time. The scenario: As I'm sure many folks are aware, one of the "features" in Outlook 2003 is that it no longer sends the Message-ID header. Unfortunately this can sometimes cause problems with over-zealous mailservers that think anything without a Message-ID header *must* be spam. This is causing grief for a couple of my clients. I'm currently running qmail-scanner in conjunction with the Plesk control panel. A couple of idiosyncracies with Plesk from a standard qmail setup: 1) qmail-scanner is run from a modified qmail-queue executable, not via Bruce Guenter's QMAILQUEUE patch. The original qmail-queue is called qmail-queue.orig 2) Plesk uses xinetd + tcp_env rather than tcpserver This means the normal method of fixing headers from wierd clients as described in Dan Bernstein's FAQ using tcpserver (http://cr.yp.to/qmail/faq/servers.html#network-rewriting) won't work. What I'd like to be able to do is modify qmail-scanner slightly to pipe the message to qmail-inject rather than qmail-queue if it's determined to be from an authorized relayer (i.e. RELAYCLIENT is set). Could this be done with just a simple check to see if RELAYCLIENT is enabled just after the fork around line 1538? open (QMQ, "|$qmailqueue")|| &error_condition ("Unable to open pipe to $qmailqueue [$xstatus] (#4.3.0) - $!"); Or are the pipes and parameters required for qmail-queue and qmail-inject vastly different? Thanks in advance. Regards, Chris -- C.M. Bagnall, Partner, Minotaur This email is made from 100% recycled electrons ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general