PHP won't send mail. Please help!?

  • Thread starter Thread starter Adam S.
  • Start date Start date
A

Adam S.

Guest
So I have this Ubuntu box that I'm hosting a number of services on.

My most recent project on it is to get PHPList working so I can send emails to my college students to update them on assignments, class activities, etc. (Yes, I could do this just by pasting their email addresses into my email client, but I want an elegant solution.)

PHPList appears to be functioning. Postfix appears to be functioning. They don't seem to like each other though.

If I use the command line to enter Postfix and send an email, it works beautifully. I port-scanned the server and port 25 is open, as it should be.

If I use PHP's mail function, it returns true. When I use PHPList to send an email, it claims it's processed and sent it.

But the email never arrives.

I've spent half the day trying to figure out why this thing won't work. I'm sure I'm missing something that might be obvious to a Linux geek, but after hours of scouring the internet and toying with settings the darned thing says it transmits but it doesn't.

Do you have any ideas about what might be wrong? Where do I need to be looking to get this fixed? Can I supply additional info in an edit to help you help me?

Thanks in advance,

Adam S
Oh... in the Postfix log file I'm getting "connection timed out" and "bad command startup - throttling" errors.
Postfix is *supposed* to be fully backwards compatible with sendmail - and I've double checked the PHP config to make sure it's calling the right binary file.

Not that that doesn't mean Postfix isn't crap, it just comes with the Ubuntu distribution.
 
Back
Top