Is this issue resolved if you remove the call to the wrapper script?

On 5/24/2018 4:31 AM, Quinn Comendant wrote:
On Wed, 23 May 2018 22:30:39 -0600, Eric Broch wrote:
What's in qmail-queue-wrapper, what does it do, and which messages
does it add a custom header to? Mail from outside to local accounts?
Mail going out from local accounts?
The script is super simple, and doesn't do anything that should affect clamav, 
but since you asked here's the reply to your questions:

I adapted Peter Samuel's qmail-queue-wrapper script to prepend `X-AuthUser: 
$ENV{'TCPREMOTEINFO'}` to every message. Here's it is: 
https://gist.github.com/quinncomendant/6a0a3a9d7699db48c9ade6f4942b8a92

All it does is prints `X-AuthUser: …`, followed by the entirety of the message 
as-is.

Since the script replaces the default qmail-queue, it is executed for all mail 
that makes it past simscan, local→local, local→remote, remote→local, 
remote→remote.

Quinn

--
Eric Broch
White Horse Technical Consulting (WHTC)


---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to