> > For some odd reason that I can't explain the
> > from address keeps getting rewritten to
> > Am I missing something obvious?
>
> Yes. You haven't shown us that qmail is rewritting that header. At
> what point is it rewritten? You need to experiment and catch the email
> at each point..
And here's how:
0. Stop qmail.
1. Check at initial injection:
1-1. Inject a local delivery email with qmail-inject
1-2. Inject a remote delivery email with qmail-inject
1-3. Search thru /var/qmail/queue for the emails - rewritten?
2. Check at queue processed:
2-1. Backup your /var/qmail/control/concurrency* files
2-2. Change both concurrency control files to have zero in them
2-3. Start qmail.
2-4. Search thru /var/qmail/queue for the emails - rewritten?
3. Check final delivery:
3-1. Restore your backup concurrency files.
3-2. Restart qmail.
3-3. Examine final delivery destinations - rewritten?
Tell us what you discover.
Regards.