• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.

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