Remove text where need using the following file in postalMTA.
For SMTP Server:
lib/postal/smtp_server/client.rb
@receiving_headers = true
received_header_content = "from #{@helo_name} (#{@hostname} [#{@ip_address}]) by #{Postal.config.dns.smtp_server_hostname} with SMTP;
For HTTP:
app/models/outgoing_message_prototype.rb
mail.header['Received'] = "from #{@source_type} (#{self.resolved_hostname} [#{@ip}]) by Postal with HTTP; #{Time.now.utc.rfc2822.to_s}"
mail.message_id = "<#{@message_id}>"
No comments:
Post a Comment