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.
Thanks for reading this - I'm hoping someone out there can help me out. I havn't had luck searching the web for a solution. Here's my situation:
Running SuSE9.2 Linux, with Postfix installed and working for shell accounts. So I can send and receive mail anywhere when I am logged in and say using PINE.
Added CYRUS IMAP support for a new Squirrelmail implementation which is working nicely from the Web. I can send/receive mail normally when using Squirrelmail with my IMAP connection (Squirrelmail server is also located on the same box as my IMAP and Postfix)
Here's the problem:: When another computer on my local network wants to send mail from a mail program located off the server and connected to my IMAP, it can only send mail to local users! When I try to send mail to any user not hosted on my linux box I get an "unknown user" error and SMTP refuses to deliver the message to outside people. (how can it know they're unknown!)
So for example - using the normal mail application on a Macintosh on my network, I can receive all messages sent to me (which are delivered via IMAP) but can only send mail to people with accounts on my linux box.
Any idea how to fix this? I'm sure it has to do with some settings in postfix.?
also by the way I have MyNetworks = 192.168.1.1/70 , 127.0.0.1/7 so the Mac is within the networks defined in main.cf
Thanks, I really apprecaite any help you can offer.
First off, I think you may have a typo in mynetworks = 192.168.1.1/300 , 127.0.0.1/8, as /300 isn't a valid network.
But for the real problem, I think you will need to set the relayhost parameter. It tells Postfix where it should send e-mail that is not destined for local machines. Specifying your ISP's SMTP server ip or DNS name should do the trick.
Thanks for the pointers - I think what you're saying about relay host makes a lot of sense to me with your explanation. Also thanks for the security pointer - that was my next thing to attack in getting this stuff up and running.