How to avoid making postfix setup an open relay??!
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you don't have a large network, you may be better off specifying a group of internal IP's to relay through your server:
mynetworks = 192.168.1.2, 192.x.x.x
And so on. However, on a large network, something that might be more cumbersome than simply adding 2 or 3 static internal IP's, or if you are using DHCP for your internals, or some other network scheme (I'm by no means a network guru) then the subnet option is a good one, and will likely prevent **most** (all?) spam relay outside your network. You can always test though..
Thanks alot for this! I've googled, and muttled my way through this basically by blindly "accepting" examples, but never understood it very well. This is a much better indication of what's going on, even though I'm still confused, it's much less
Originally posted by MasterC Thanks alot for this! I've googled, and muttled my way through this basically by blindly "accepting" examples, but never understood it very well. This is a much better indication of what's going on, even though I'm still confused, it's much less
Thank you for the clarification Markus!
No problem! After all it's just about bits like everything regarding computers :-)
I'm having problems with this.. I have set my postix main.cf as such:
mynetworks = hash:/etc/postfix/network_table
and inside the network_table file I put my IP address
However, when I try to send from my own domain and IP, my email log produces the errror:
fatal: open database /etc/postfix/network_table invalid argument
Not sure what I am doing wrong.
I recently added Red Hat 8's default IMAP and installed squirrelmail, and it seems great, I really like the IMAP features. However, my ISP has sent me what seems to be an automated email saying I now have an open mail relay. I have fiddled with some settings and I can get the relay completely off (which it is now) but I cannot get it to work with my mail, and not be open.
I'd love some help.
Oh and PS, I've tried the test site in the post above mine, and it seems to work great, and tells me my relay is closed. But my ISP's test still says it is open.