• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

postfix abuse

FelixB

Basic Pleskian
Hi there,

i ve an problem, i ve setting the mailserver as authentification needed for smtp, but when i show about the smtp queue there is a lot of mails definitely spam! how can i see about what's the problem?

cheers
 
PHP Spam

You seem to be facing a problem with PHP Mail function SPAM.
I recommend you disable the mail function, better still you can enable logging for PHP Mail function emails sent out of your server.
 
The issue you will have is that each site that you setup within Plesk can have its own php.ini file. I would recommend to add these two lines to your PHP setting of your website or better yet, add then under your service plan section and do a sync with Plesk.

mail.add_x_header = On
mail.log = /usr/local/psa/var/log/phpmail.log

Once you have added the two lines above, you will need to create the log file in question. Run each of the lines below separately via SSH.

sudo touch /usr/local/psa/var/log/phpmail.log
sudo chmod 666 /usr/local/psa/var/log/phpmail.log

So if a PHP script on your server sends mail using the mail function, it should be logged in /usr/local/psa/var/log/phpmail.log.

There is another way you could try to log mail sent via PHP but I have tried it myself.

http://www.matteomattei.com/en/how-to-log-email-sent-from-php-through-mail-function/
 
Back
Top