Posts by kess

    I'm pretty sure that SpamAssassin is not blocked from some blacklists…

    By the way, if your server is blocking someone because It's present in some blacklists, that's not your problem.

    Else, if you're blocked because you're present in some blacklists… well that's your problem.


    You need to see why (could be a lot of reasons)…

    A good starting point could be that one: https://mxtoolbox.com/blacklists.aspx

    Sorry but I can't help you further… I don't use compiled versions…

    Seems like the compiled version is not going to read Environment Variables when launched from cli.


    One last step could be to create your personal custom php.ini file for your cli cron:

    1. copy your actual php.ini to phpxyz.ini

    2. edit phpxyz.ini and change

    Code
    1. ; sys_temp_dir = "/tmp"

    to

    Code
    1. sys_temp_dir = "/my/desired/tmp/dir"

    then try to launch your cron with:

    Code
    1. */5 * * * * /opt/phpswitcher/20200223/php7.2/bin/php -c /path/to/phpxyz.ini /var/www/virtual/your-whmcs-domain.xxx/00_private/crons/cron.php

    And what happens you you run the following in your crontab ?

    Code
    1. */5 * * * * export TMPDIR=/var/www/virtual/your-whmcs-domain.xxx/phptmp && /opt/phpswitcher/your/php7.2/executable /var/www/virtual/your-whmcs-domain.xxx/00_private/crons/cron.php

    Or, just for test:

    Create a php file with the following contents:

    PHP
    1. <?php echo sys_get_temp_dir(); ?>

    and name it test.php

    What's the output of:

    Code
    1. /path/to/your/php7.2/executable test.php

    What's the output of:

    Code
    1. export TMPDIR=/var/www/virtual/your-whmcs-domain.xxx/phptmp && /path/to/your/php7.2/executable test.php

    Or you could just set the correct env variable in your cron job.

    Have a look at the first line:

    Output of:

    Code
    1. /usr/bin/php7.3 -m

    ?


    The attachment shows my actual configuration… Nextcloud running with no problems

    Files

    I gave you the right solution in my first answer to your question.

    As far as I can see, you like having problems or to invent some new ways to find new methods to generate problems.


    The standard SPF record permits e-mail sending through the server itself, if you want to add a relay you have to tell the SPF record that this relay exists. There are some ways in order to achieve that, through IP, through name, through include, etc.

    I don't know what you are doing, I don't know which is the actual situation, I don't know your actual structure. You are the person in charge, you are the person who should know what's happening… At least, you should be the person (as a system administrator) who should know how SMTP (and all dependencies like SPF, DKIM, DNS, etc.) protocol works.