• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Cant send email

Hi Charalampidis_Alexandros,

.... sorry... but this post won't help either.

To start over again from this point, again investigate the latest mail - logs and roundcube - log please, try as well to also send an eMail to another account... not only to hotmail. You have to make sure, that the issue is not caused on their side.

Try as well to create a second eMail account on your server and repeat the investigations by sending eMails to different providers and again, investigate the mentioned logs.
 
Hi Charalampidis_Alexandros,

Plesk and it's components are not always the cause of issues, sometimes the cause are based on the operating system, which is not part of Plesk - Plesk just relies on some of the installed software.

Did you probably install as well SELinux and or AppArmor? What is the output of these commands?

sestatus
apparmor_status
 
Hi Charalampidis_Alexandros,

please try two suggestions. After each of these suggestions, please POST your maillog and as well the roundcube - log ( if you still try to mail with roundcube ) - but please... not the whole log - files, but only the depending entries from now on. Uncomment only your IP and the domain-names please. As well, try out as well to use a regular eMail - client and not only roundcube, to ensure that not your roundcube installation might be the cause.
  • First suggestion:

/usr/local/psa/admin/sbin/mchk --with-spam


  • Second suggestion:

please try the following commands, which will change your mail - software from postfix to qmail and back to postfix again:

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --remove-component postfix --install-component qmail --reinstall-patch

Afterwards:

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --remove-component qmail --install-component postfix --reinstall-patch

Please post the output of the commands, if you experience any issues. A comment like "doesn't work" is unfortunately not enough.
 
UFHH01 look at your inbox for mailog.

In plesk-roundcube/errors

[07-Jan-2015 12:04:13 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 176
[07-Jan-2015 12:04:13 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 177
[07-Jan-2015 12:05:14 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 176
[07-Jan-2015 12:05:14 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 177
[07-Jan-2015 12:05:14 UTC] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 743
[07-Jan-2015 12:06:15 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 176
[07-Jan-2015 12:06:15 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 177
[07-Jan-2015 12:07:15 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 176
[07-Jan-2015 12:07:15 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 177
[07-Jan-2015 12:08:15 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 176
[07-Jan-2015 12:08:15 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 177
[07-Jan-2015 12:09:16 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 176
[07-Jan-2015 12:09:16 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 177
[07-Jan-2015 12:10:16 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 176
[07-Jan-2015 12:10:16 UTC] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 177
[07-Jan-2015 12:10:16 UTC] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/psa-roundcube/program/lib/Roundcube/rcube_session.php on line 743



I have also tried to do the 2 suggestions but nothing works.
 
Hi Charalampidis_Alexandros,

to resolve the issue with the date/time - settings, make sure to adjust your settings ( especially at: "/etc/psa-webmail/roundcube/php.ini", but as well in your other php.ini's <= use "locate php.ini" to locate them, please ).

PHP:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone= "Europe/Berlin"

; http://php.net/date.default-latitude
date.default_latitude = 51.248532

; http://php.net/date.default-longitude
date.default_longitude = 6.704677

Please make sure, that the settings meet YOUR VERY OWN time - settings on your server! :)
 
After hours, after UFHH01 who worked hard to help me, after I built many vps with the same problem, I finally sent email to my datacenter. And they told me that by default all istances, have SMTP block. Now they removed the SMTP block for me and I'm able to send emails.

UFHH01 and I would like to thank you, and also to ask you sorry, as It seems I had to contact my datacenter first, which I didnt. Sorry :(

[SOLVED]
 
Back
Top