Answer the question
In order to leave comments, you need to log in
Mail() PHP not sending mail via Postfix? mail() returns 1, everything is fine with the logs. Why?
Please help me again. Maybe I'm a bit dumb already (it's already 1 am) The problem is that PHP doesn't send the message via Postfix, unlike sendmail. BUT: if you write the send command through the console, then everything works, most likely the problem is on the PHP side. sendmail_path is currently /etc/postfix, tried /etc/sendmail, postfix, and sendmail. Nothing works, even though mail() returns 1. What to drop? Configs, logs just in case? If you decide to help, I took out my brain to put it mildly ...
Answer the question
In order to leave comments, you need to log in
sendmail_path = /usr/sbin/sendmail -t -i
make sure that sendmail is in this path on your system
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question