Where to begin?...
First, thanks for answering.
The short answer is, I don't know. I don't have the logs any more. I tried to follow some of the things I read in other posts & a couple of suggestions from people on other forums & got so far off the mark that I lost track of what all I had done. So I reinstalled the OS from scratch & started over. By following a howto for a very basic postfix install I was able to get the server & Courier POP & IMAP working, but that led me to another problem.
Now for the longer answer. I hope you'll keep reading & possibly help me work through this.
I started about a week or so ago trying to build a qmail server. I ran into a problem & was unable to obtain any help at all. That community is apparently all but dead. And there's been nothing new for at least a few years. So I scrapped that & decided to try Postfix. That's how I came to find your HowTo. If I can get it working, it's exactly what I need.
The original problem was that I couldn't get any mail off of my local network. The specific error was that an SMTP connection couldn't be established. I was unable to determine why that was so. I have verified through several methods that port 25 isn't blocked inbound or outbound, I apparently have a static IP address (although I'm not paying for a static IP) & I'm not on any of the blacklists. I am using DynDNS for name resolution. I'm not entirely certain that the problem may be with DNS, My DynDNS host/A record is cuttinej.ath.cx My hostname (FQDN) is papa.cuttinej.ath.cx. The intention was/is to use the cuttinej part as a subdomain so that email addresses would be firstname.lastname@example.org
. Ugly, I know, but it would serve my purposes for now. My MX is also cuttinej.ath.cx. (Normally I wouldn't give specific names, but frankly, after a week of struggling mostly on my own with no success, I don't care who knows. I'll change the names later if I have to.)
So I installed according to your instructions & encountered the problem that started this thread (1st test failed), then got impatient & trashed my system. After reinstalling the OS I installed Postfix in a very basic configuration via a different howto just to see if I could get a less complex system to work & because I needed something to work on. (Like many others, I'm currently unemployed.) I got Postfix, Courier POP & Courier IMAP working via telnet, netcat, evolution & Thunderbird from within my local network. And I can receive mail from other systems. I tested that by sending some test mail to a test user account via the web interfaces of my ISP's mail service & Yahoo.com. But I'm back to the original problem of not being able to send mail to remote systems. The specific error from /var/log/mail.log is:
Sep 29 19:45:44 papa postfix/smtp: 3AE294A1D1E: to=<email@example.com>, relay=none, delay=26020, delays=25915/0.03/105/0, dsn=4.4.1, status=deferred (connect to d.mx.mail.yahoo.com[18.104.22.168]:25: Connection timed out)
It's been trying for a few hours now. The connection attempts are to various servers (i.e a.mx.yahoo.com, b.mx.yahoo.com, etc...). No indication as to why the connection timed out. I've begun to suspect DNS a little less since the Yahoo servers are being resolved. Unless Yahoo is having problems trying to resolve my address. I don't know.
I'm really kind of stumped here. I haven't had a chance to work in my field for a long time so I'm not very sharp. And it's not looking like I'm going to get that way any time soon if I can't find the answer to this problem. I know it's not the original problem, but I think if I scrapped this box again & rebuilt according to your HowTo again with everything just as it should be, I'd still have this problem. No mail to the world. I don't think I can really proceed with anything until I get this figured out. If I do, I REALLY would like to setup a system as outlined in your HowTo.
So.... Any chance you might be willing to work with me?
If you got this far, thanks for hearing me out. And even if you didn't.
I seem to be chasing my own tail two ways here. I need a fully functioning system so I can work with it to bring my skills to a level of currency & proficiency that I no longer possess. But I also need a higher level of skill than I currently possess to build such a system. I also keep encountering different problems that eventually lead me back to my original problem. It ain't easy bein' me sometimes.