• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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