Да, почта может быть отправлена через порт 587, таким образом, спам может быть отправлен также. Однако большая часть порта использования почтового сервера 587 также попросит аутентификацию, таким образом, это должно будет быть намного меньше проблемы. Для сейфа у Вас мог быть передающий сервер местной почты, которые требуют authenticaion и требуют, чтобы вся почта прошла этот сервер.
This is because you are using -f
to force log rotation in the cron job command below:
50 */1 * * * admin /opt/sbin/logrotate -f /opt/etc/logrotate.conf &>/dev/null
If you read man logrotate
and look at the following paragraph:
-f, --force
Tells logrotate to force the rotation, even if it doesn't think this is necessary. Sometimes this is useful after adding new entries to a logrotate config file, or if old log files have been removed by hand, as the new files will be created, and logging will continue correctly.
This is clear from the created files timestamp. If you look at some files like the following:
-rw------- 1 admin root 14349 2013-01-08 07:50 dir300.log.4.gz
-rw------- 1 admin root 14396 2013-01-08 06:50 dir300.log.5.gz
-rw------- 1 admin root 14268 2013-01-08 05:50 dir300.log.6.gz
-rw------- 1 admin root 14148 2013-01-08 04:50 dir300.log.7.gz
-rw------- 1 admin root 14347 2013-01-08 03:50 dir300.log.8.gz
-rw------- 1 admin root 14225 2013-01-08 02:50 dir300.log.9.gz
You can easily see that each execution of the cron job creates a new file. Again, this is because of the option -f
.