0

I currently rent a dedicated server with an IP 1.1.1.1 and I've added a domain with IP 1.1.1.2 with DNS records (domain.com/mail.domain.com), MX record, SPF record etc all pointing at 1.1.1.2

The problem is when I send an email from that domain in the header it shows the server's hostname and IP (1.1.1.1) instead of its dedicated IP. Is it possible to only show its dedicated IP and domain's hostname instead?

I am using Postfix & Dovecot on Ubuntu 14.04

Thanks!

1
  • what... is that IP on the same machine? Jan 3, 2017 at 1:16

1 Answer 1

1

nano /etc/postfix/main.cf

add line: smtp_bind_address = 1.1.1.2

restart postfix, send mail to test.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .