Hi,

I currently employ generic rewriting of sourceaddresses, like this:
smtp_generic_maps = hash:/etc/postfix/generic
regexp:/etc/postfix/generic_regexp

and rewrite certain senders to a common from address.

I haven't been able to coerce them all to sending from correct from
addresses, so I would like to do the rewriting, before the mail is
forwarded to opendkim forsigning (since it matches on the from address :)

I currently forward to opendkim using this:

milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:localhost:8891
non_smtpd_milters = $smtpd_milters

As I understand it - opendkim sees the from address - before it is
rewritten, and matches on that.

Can I make postfix do the rewriting before, it sends to opendkim?

My googleing came up empty :(

-- 
Regards,
Klavs Klavsen, GSEC, kl...@enableit.dk - Tlf. +45 612 812 00
EnableIT - Open Source Server, Security and Network Consulting

The company behind VirkPaaNettet.dk & linuxpusher.com

"Open Source Software - Sometimes you get more than you paid for."

Reply via email to