• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

problem sending mail via php (oscommerce)

G

gotcha

Guest
I got a funny problem sending mail via php.

I use the standard mail() function from php which shows no error after the call. But none of the emails I want to send this way ever get to the receiver. But not only this they also don´t show up in ANY logfile (and I checked them all!!!).

If I try to send mail via console everything is fine though.

I already tried to change the php.ini path to sendmail which didn´t help.

mx record shouldn´t be an issue because I don´t want to recieve emails.

I also tried mchk without any result....

my phpinfo says SMTP=localhost (Port 25)

Maybe someone of the smart guys out there has a clue for me.

thanx in advance
 
by the way...

by the way I using a 1&1 root server which is a server completely configured by 1&1 with plesk preinstalled.
 
I can suggest you to check following things:

1) 127.0.0.0/8 network is permanently whitelisted on your server (Server -> Mail -> White List)

2) Make sure that /usr/sbin/sendmail is a symbolic link to /var/qmail/bin/sendmail binary.

3) If doesn't helped - check out if whole mailsystem works. E.g. try to send mails via webmail. Trace down delivering stages through the /usr/local/psa/var/log/maillog.

4) If doesn't works anyway -> try to use /usr/local/psa/admin/sbin/mchk
utility (--help for little info). It could rewrite all mail related configs and if problem is in misconfiguration - it should help. Do not
forget to restart qmail after running mchk:
# /etc/init.d/qmail restart

Hope it will help
 
Back
Top