• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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