• Vincent Pelletier's avatar
    stack.erp5: Fix mail diversion support. · 36a07603
    Vincent Pelletier authored
    Use a special milter to do what postfix cannot do with its internal
    mechanisms.
    - fixes postfix-generated bounces so they reach postmaster mail address
      without being rewritten
    - actually makes postfix relay rewritten mails (virtual_alias implicitly
      affects virtual_domains, in turn making all mail addresses considered
      locally hosted, which cannot and must not successfully deliver)
    Also, backport a yet-unreleased-but-already-upstreamed patch fixing
    rcpt value truncation, which breaks when recipient address is not
    enclosed in angle brackets - making the mail still reach original
    recipient.
    36a07603
postfix_main.cf.in 2.03 KB