Quoting Clayton <smaug42@gmail.com>:
I've decided to tinker with setting up a mail server. I've never done this before... so it's all new to me.
I have a domain I want to use. It's set up with DynDNS to forward all web traffic to my local computer (which has a dynamic IP that my ISP likes to change at random.. usually at least twice per day). The webserver side works great.... my sub domains are responding correctly etc.
I've added their Mail Hop Relay service to one of my domains. This should in theory provide MX records, and according to their website things are setup correctly on their side... so now it comes down to me and my local settings... and this is where things are not working exactly right.
I've read through and attempted to follow this HowTo: http://en.opensuse.org/Mail_server_HOWTO which in theory should allow me to set up postfix. After reading and following the steps (I think I got it right) I've tested locally by using mailx and: - sending a mail to a regular local user works, and I see the mail arrive in /var/spool/mail/. - sending mail to an alias does not work (I see the bounce in /var/spoo/mail) - sending mail to external email addresses... disappears, and never arrives (at least not yet)
Is there some clearer documentation that anyone knows about, or some other info I can read up on? Or any obvious things that I may have missed? Port 25 on my router is forwarded... the Mail Relay is set to use port 25... not sure where to look next.
Configuring a mail server is decidedly non-trivial. Postfix is the easiest to configure of the three MTAs I tried (Postfix, Qmail, and Sendmail). I suggest "Postfix" by Kyle Dent, an O'Reilly book. If I understand your situation, it is doable. I had something very similar working fine. With all the anti-spam defenses in place almost everywhere, you really must relay through someone with a fixed IP address in both directions. I think I have the Postfix config files still around on a computer in storage. I'll try and dig them out. One thing that is very helpful is learning how to send mail through a telnet session to port 25. You have full control and can see exactly what the other side is saying. And turn on a higher level of debug logging for one host at a time. Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org