Hi All,
how do i change the postfix/servername thats shown in the headers on incoming emails and outbound emails being sent out?
currently everywhere i look my EC2 internal instance hostname is being shown and i would like to use my own dns name i have setup and currently using to send emails to it in the first place
some headers from emails as examples:
Received: from ip-172-31-28-238.eu-west-2.compute.internal (ec2-xx-xx-xx-xx.eu-west-2.compute.amazonaws.com [xx-xx-xx-xx]) by xx.xx..com (Postfix) with ESMTPS id C91C6C46CB for <simon@xx.com>; Fri, 16 Jul 2021 13:02:42 +0100 (BST)
Received: from ip-172-31-28-238.eu-west-2.compute.internal (localhost [127.0.0.1]) by ip-172-31-28-238.eu-west-2.compute.internal (Proxmox) with ESMTP id 92FA720888 for <simon@xx.com>; Fri, 16 Jul 2021 13:02:42 +0100 (BST)
Received: from somerandom.server.com (somerandom.server.com [xx.xx.xx.xx]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ip-172-31-28-238.eu-west-2.compute.internal (Proxmox) with ESMTPS id 80A422087D for <simon@xx.com>; Fri, 16 Jul 2021 13:02:37 +0100 (BST)
Regards
Simon
how do i change the postfix/servername thats shown in the headers on incoming emails and outbound emails being sent out?
currently everywhere i look my EC2 internal instance hostname is being shown and i would like to use my own dns name i have setup and currently using to send emails to it in the first place
some headers from emails as examples:
Received: from ip-172-31-28-238.eu-west-2.compute.internal (ec2-xx-xx-xx-xx.eu-west-2.compute.amazonaws.com [xx-xx-xx-xx]) by xx.xx..com (Postfix) with ESMTPS id C91C6C46CB for <simon@xx.com>; Fri, 16 Jul 2021 13:02:42 +0100 (BST)
Received: from ip-172-31-28-238.eu-west-2.compute.internal (localhost [127.0.0.1]) by ip-172-31-28-238.eu-west-2.compute.internal (Proxmox) with ESMTP id 92FA720888 for <simon@xx.com>; Fri, 16 Jul 2021 13:02:42 +0100 (BST)
Received: from somerandom.server.com (somerandom.server.com [xx.xx.xx.xx]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ip-172-31-28-238.eu-west-2.compute.internal (Proxmox) with ESMTPS id 80A422087D for <simon@xx.com>; Fri, 16 Jul 2021 13:02:37 +0100 (BST)
Regards
Simon