Thread: Mail headers
View Single Post
  #3  
Old 7th September 2011, 10:23
mentes mentes is offline
Senior Member
 
Join Date: Aug 2011
Location: Spain
Posts: 132
Thanks: 4
Thanked 15 Times in 13 Posts
Default

Quote:
Originally Posted by till View Post
Quote:
Originally Posted by mentes View Post
How I can change "server.domain.com" per "mail.clientdomain.com" ?
Change bthe hostname of the server in /etc/hostname, /etc/postfix/main.cf, /etc/mailname and /etc/hosts
If I do that, all clients will show they send through server.domain.com and what I would like is each client shows his domain.

mail.clientdomain.com where "clientedomain" change for each client


Quote:
Originally Posted by till View Post
Quote:
Originally Posted by mentes View Post
And 127.0.0.1 per client's asigned ip ?
This cant be changed.
If I change these values in /etc/postfix/main.cf can I break something?

mynetworks = 127.0.0.0/8 mynetworks = 11.22.33.44/32
content_filter = amavis:[127.0.0.1]:10024 content_filter = amavis:[11.22.33.44]:10024

where 11.22.33.44 is server's public main ip
Reply With Quote