Matus UHLAR - fantomas:
> >> On 07.04.22 09:16, Horst Simon wrote:
> >>> I used to have working correctly postfix + amavisd-new + dovecot working
> >>> correctly with re-writing the sender address when forwarding email to my
> >>> ISP using sender_canonical, I am using postfix 3.7.0.
> >>> After changing from amavisd-new to rspamd it will not rewrite the sender
> >>> address and forwarding to my ISP fails.
>
> > On 8 Apr 2022, at 12:50 am, Matus UHLAR - fantomas <[email protected]>
> > wrote:
> >> did amavis change the sender when used as milter?
> >> i'm not sure milter supports changing sender?
>
> On 08.04.22 09:10, Horst Simon wrote:
> >Haven't used milter for amavisd-new only content_filter in main.cf and
> >following in master.cf
>
> that's it - amavis was not used as milter and milter can't change mail
> sender.
> search in rspamd docs how should be changing of sender implemented.
It's a Milter feature (SMFIR_CHGFROM) implemented in Sendmail >= 8.14
and in Postfix >= 2.5.
Wietse