To change “Received from localhost” header put $localhost_name = ‘https://yourhost.yourfqdn.com ‘; in amavis configuration file Postfix amavis tip:You can change 127.0.0.1 on received fm header by changing amavis socket bind to public interface.Send mail to support@htsqatar.com for details .