Thank You for Your time and answer, Barney: > As mouss suggested, your query is unclear. I can think of two interpretations: > 1. "I've set mynetworks=127.0.0.0/8 in main.cf but for some reason > machines on my LAN can relay mail out to the internet, how do I stop > this?" > 2. "I've set mynetworks=127.0.0.0/8 in main.cf and I want to allow > machines on my LAN to relay mail out to the internet, how do I make > this possible?"
I have (postconf -n): mynetworks = 127.0.0.0/8 yet company mail users can send/get their mail to/from outward world. And this is my question. What I want is this: company users (having IPs 192.168.0.*) should get/send email; all the world should only send email to the company users. Also, my another question is on security topic: is possible (with some miscofiguration of postfix/amavis/etc) that a hacker from outside world can get root privileges on my OS? If yes, what are those configuration options that I should check and what should be there values to provide secure email server? Can You recommend a good email server manual (regarding postfix) - some step by step tutorial w/ good explanation of things - as the documentation that I read from postfix.org is not clear to me - as a lot of explanatory stuff is out of there (to me)?