I got past my 451 error and now I’m onto stage two: Receiving mail.
Except I’m still not getting anything!
Since I can telnet to IPADDRESS 25 and log in and actually force send a mail with no errors, I can only presume the mail’s getting eaten between sending and the conrel box.
Oddly enough it was the website DNS Report that gave me some more clues. After running their tests I sorted out something I’d long since suspected: I fucked up my MX and A records.
So here’s what I did:
@ and mightyquinn point to my ipaddress.
MX (Mail Exchangers)
@ points to mightyquinn.consensualreality.net
And then I went to bed.
The next morning, I popped onto SquirrelMail and there were no emails. Pissed, I looked around configs but everything looked fine. Then, logged in as my ‘me’ account, I went to the Unix Shell and typed:
>N 1 USEID@gmail.com Mon Aug 7 21:50 16/577 "This is a test"
N 2 USEID@gmail.com Mon Aug 7 22:07 39/1842 "Re: Test"
N 3 USEID@notes Mon Aug 7 22:14 35/1574 "Re: Test"
N 4 USEID@gmail.com Mon Aug 7 22:35 40/1853 "Re: Test"
N 5 USEID@gmail.com Mon Aug 7 22:56 42/1881 "Re: Test"
Color me stunned. Mail was working! It’s SquirrelMail that’s cocked up now!
Finally (and yes, this took longer than it should have), I realized that the IMAP server wasn’t happy. I tried to get cyrus to work right, but it was making me cry, so I turned it off and went with Dovecot. By the way, don’t ask me what all these names mean! Anyway, with Dovecot and a couple retries, I got email working and webmail up and running. There was a yippie here.
Three hours later I’d broken it again, by the magic of adding in amavisd-new and clamav. That turned out to be the fault of old clamav directions. After backing out the amavisd and clam stuff, the server was back up and I decided to draw the line there.
Is it a secure email server? Not really. We’re blocking relaying, which is good, but we don’t have an SPF record to stop spoofing. Thankfully, having sorted out what to do with MX records, I knew to go back to GoDaddy and make the change there. This other guy had done it before, so thanks to a search I knew the rest.
And now? It all works, I got the mailing list up and everything for gaming is on the new server. Yay!
Oh, and I did document.