I've got kind of a unique case here so I'll do my best to lay it out as thoroughly as I can.
I have Sendmail 8.13 setup on a RedHat ES4 box and I can recieve mail from outside my network (for instance I can send mail from my hotmail account to my local account) but I can't send any internal mail (I can't send mail from my local account to root using 'mail' from the shell).
Here's what I get from...
Nov 18 03:11:29 localhost sm-msp-queue: jAI7xirL030264: to=root, ctladdr=root (0/0), delay=00:11:45, xdelay=00:00:00, mailer=relay, pri=120029, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
127.0.0.1 localhost.localdomain pegasus localhost
Now here's where things get sticky. My ISP insists on infringing on my ability to host an email server so they've hosed all traffic on port 25 save their own. As a result, I've had to switch to port 26. I've been using rollernet in my domain's MX record to receive mail and forward it to me on port 26 and it's been working very well. I don't use the server to send mail outside the computer yet, but I have plans on getting smtp auth working so that I can send via my ISP's server eventually.
To get Sendmail to listen on port 26 I went like this in my sendmail.mc
I'm starting to think that was my mistake. Could sendmail, for some reason, be sending local mail to itself for distribution, but trying to connect to itself on 127.0.0.1:25? Seeing as there's nothing listening on 25 I could see how that might fail.
Any direction on this issue would be great. The end goal here is to work is to I'm receiving mail on 26 and local mail gets received and sent to it's proper mailbox.
Thanks in advance.