Hello, sashhoney, and thanks for your reply. l have been trying to implement your idea. I've started from scratch. Here's what I did:
1. All my computers now have domain name "example.org"
2. On the mail server's /etc/hosts, I made an entry for each of the other computers with a typical line looking something like
Code:
172.16.0.5 name.example.org name
3. I also created the file /etc/mail/service.switch on the server with the line
5. I have RELAY_DOMAIN(`example.org')
All this allows me to send mail from all of my computers. Now, to get masquerading:
6. I have MASQUERADE_AS(`mydomain.no-ip.org'), MASQUERADE_DOMAIN(`example.org'), and FEATURE(`masquerade_entire_domain'). I also added "mydomain.no-ip.org" to /etc/mail/local-host-names to be able to receive mail addressed to that domain.
This masquerades mail originating on the server, but still the mail from the other computers has a "From:" line of the form user@name.example.org
What am I missing?
edit:
On second thought, it works! Thank you.