Postfix - How to disable overwriting "From:" recipient while sending email through SMTP

1 post / 0 new
#1 Fri, 12/15/2017 - 15:28
pragma

Postfix - How to disable overwriting "From:" recipient while sending email through SMTP

Is there any way to disable overwriting "From:" recipient while sending email through SMTP?

I could see that many shared hosting providers like Hostgator, Godaddy, Outlook does not allow to overwriting "From:" recipient header while sending emails from the server which is an excellent way to stop sending spam emails if any mailbox is hacked.

How can we enable this in virtualmin postfix settings?