Ondrej Sury
-
2009-09-23
Hi,
I have created patch to allow to get from addr (in _eoh) from arbitrary milter macro.
The problem here is as follows:
When you host multiple customers and you want to sign mail for many/all of them, it's easily possible to authenticate using one email address and send message using "From:" from another hosted domain name.
My patch is far from perfect, but it should allow to set new configuration variable called MilterSender to something like "{auth_authen}" and if you set that it will sign mail using that value instead of "From:" header.
Attached patch was created using -w, you can get full diff at git://git.nic.cz/ondrej/dkim-milter.
Kind regards,
Ondrej