Hi,

very thanks.
it is functionnal.

Regards,

On 01/11/2023 01:21, Wietse Venema via Postfix-users wrote:
testeur via Postfix-users:
Hi,

Thx wietse for your help.

I can understand now more precisely where to act.

In the External_Postfix_relay, i use too amavis, spamassassin,
policy-spf. Then i ve to indicate the "smtp_send_xforward_command=yes"
option in the master.cf . But i don't know in which command precisely do
i have to write in ?
In the External_Postfix_relay SMTP client definition in master.cf,
add smtp_send_xforward_command=yes for example

/etc/postfix/master.cf:
     relay      unix  -       -       -       -       -       smtp
         -o { smtp_send_xforward_command=yes }

This assumes that you are using the "relay" transport to forward
mail to the internal Postfix server. This SMTP client should be
different from the 'default' SMTP client for outbound mail to the
Internet.

In the main.cf file of the internal Postfix server:

/etc/postfix/main.cf:
     smtpd_authorized_xforward_hosts = 192.168.1.2

with the IP address of the External_Postfix_relay SMTP client.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to