Wietse:
> By design (RFC 5321/5322), envelope.from and header.from can contain
> diffferent addresses.
>
> For example, this email message has different addresses in envelope.from
> (postfix-users-boun...@postfix.org) and header.from
> (postfix-users@postfix.org).
>
> If you want to to change both
I'm trying to change de envelope.from when resubmitting message to
postfix queue using milter.
For some reason this is not working as expected:
SENDMAIL="/usr/sbin/sendmail -i -f ${VERP_ADDRESS}"
$SENDMAIL "$@" < escreveu:
>
> Rafael Azevedo:
> > Hi Wietse,
> >
> > Thanks for the usual reply.
> >
Rafael Azevedo:
> Hi Wietse,
>
> Thanks for the usual reply.
>
> We have a situation when we need to send emails in behalf of some
> customers using different domain.
>
> My milter code (part of it):
>
> CONTENT=$(cat)
> VERP_SIGNER=`echo "$CONTENT" | grep 'X-VERP' | awk -F'[:]' '{print $2}' |
Hi Wietse,
Thanks for the usual reply.
We have a situation when we need to send emails in behalf of some
customers using different domain.
My milter code (part of it):
CONTENT=$(cat)
VERP_SIGNER=`echo "$CONTENT" | grep 'X-VERP' | awk -F'[:]' '{print $2}' | xargs`
if [[ $VERP_SIGNER == 1 ]]; th
Rafael Azevedo via Postfix-users:
> Hi there,
>
> I've made a milter that replaces some strings on specific message patterns.
>
> Now, I need to change the return-path accordingly to the VERP pattern
> for each sent mail.
The Return-Path header is added upon DELIVERY (it contains the
envelope se