Mailing List Archive

Use qmail smtp to selectively modify the from address
I've got qmail relaying email for multiple servers. One of my servers,
moodle, is sending emails to our users using their own email address as the
from address. This wrecks havoc with DMARC polices for those domains which
we don't control (ie yahoo).

Annoyingly, we don't actually control the moodle server, so I can't jump on
it and correct this behavior. Is it possible to have qmail smtp selectively
modify the From address of those emails coming from that server?

I'm running netqmail-1.06 modified with qmail-tap.

Mike
Re: Use qmail smtp to selectively modify the from address [ In reply to ]
The ofmipd does exactly this.
--
Robert
RE: Use qmail smtp to selectively modify the from address [ In reply to ]
Yes;
you can do the following:

1) rename qmail-send to qmail-send.orig

2) create a new qmail-send shell script that checks and then calls qmail-send with either fixed body or envelope


Scott Brynen
direct +1.604.638.9804 mobile +1.778.788.0543
web visioncritical.com<http://www.visioncritical.com/>

From: Mike Robison [mailto:mrobison@wts.edu]
Sent: Thursday, 30 October, 2014 1:54 PM
To: qmail@list.cr.yp.to
Subject: Use qmail smtp to selectively modify the from address

I've got qmail relaying email for multiple servers. One of my servers, moodle, is sending emails to our users using their own email address as the from address. This wrecks havoc with DMARC polices for those domains which we don't control (ie yahoo).

Annoyingly, we don't actually control the moodle server, so I can't jump on it and correct this behavior. Is it possible to have qmail smtp selectively modify the From address of those emails coming from that server?

I'm running netqmail-1.06 modified with qmail-tap.

Mike