PDA

View Full Version : [ubuntu] Mail Server questions


M4verick
July 20th, 2009, 10:13 PM
So I had some questions. I'm working on a personal mail server for virtual domains and used the walkthrough listed here -
https://help.ubuntu.com/community/PostfixVirtualMailBoxClamSmtpHowto

But I noticed that I couldn't e-mail outside of the domain from the addresses on the inside, which errors out and gives me "relay access denied". I was wondering what it would take to change it so that I could send mail outside of the domain, yet keep it authenticated so that it's not just open for anyone. Thanks for any replies.

HermanAB
July 20th, 2009, 10:42 PM
If you want to run a real mail server, then you have to have a domain name and a proper DNS with a static IP address, A, PTR and MX records.

Otherwise, you have use your ISP mail server as a 'smart host' or 'relay host' and slave your mail server to theirs.

M4verick
July 20th, 2009, 11:28 PM
I actually do have an FQDN & a DNS server hosted by everydns.net. My ISP has the PTR record already bound to my static IP address. A, CNAME, & MX records are already in place and confirmed working. I can receive mail from other domains, I just can't send out side of my domain. I just don't have any experience trying to host a mail server on linux. I'm much more fluent with Windows...But then again, I don't really feel that Windows is such a challenge considering there's a GUI for everything...

HermanAB
July 21st, 2009, 12:29 AM
So what mail server are you using? Sendmail, Postfix, Qmail, Zimbra, Citadel...

Whatever it is, the thing to do is to go to the project web site and start reading. Look for information on the log files. Check the logs to see what the server is complaining about. Then plug the error message into http://www.google/linux. It is usually pretty basic stuff.

If you want a Linux server with a GUI for everything, then you should either install Webmin, Usermin and Virtualmin, or switch to Suse or Mandriva. Mandriva is easier to configure than Windows servers. However, if you want to learn how things really work, then Ubuntu is fine - it will force you to learn!

M4verick
July 21st, 2009, 01:39 AM
It's using Postfix with Dovecot for Pop/IMAP. I wasn't aware of google.com/linux, so thank you for that. And no, I'd like to move away from GUI's as I don't think they're really all that practical for a server if you can do everything from command line. I have no problem with learning. Just needed a point in the right direction. So thank you.