Hello!
A few days ago I changed my hostname value from xxxxx.xxxx.com to xxxx.com (by editing in /etc/rc.conf and in /etc/dhclient.conf). Yesterday I have installed the lynis application to check my system. And that’s all that I have done.
Now periodically I have next messages in my /var/log/all.log file:
I have done
Please, help me to fix this problem
P.S. Why there is still xxxxx.xxxx.com and root@xxxxx.xxxx.com in those messages, why not just xxxx.com?
A few days ago I changed my hostname value from xxxxx.xxxx.com to xxxx.com (by editing in /etc/rc.conf and in /etc/dhclient.conf). Yesterday I have installed the lynis application to check my system. And that’s all that I have done.
Now periodically I have next messages in my /var/log/all.log file:
Code:
Aug 29 00:23:38 gateway sm-mta[1666]: r7SIh8Nn088996: SYSERR(root): hash map "Alias0": unsafe map file /etc/mail/aliases.db: World writable directory
Aug 29 00:23:38 gateway sm-mta[1666]: r7S05Y9j041529: to=<root@xxxxx.xxxx.com>, delay=21:18:03, xdelay=00:00:00, mailer=esmtp, pri=3997777, relay=xxxxx.xxxx.com. [xxx.xxx.xxx.xxx], dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:38 gateway sm-mta[1666]: r7S05Y9k041529: to=<root@xxxxx.xxxx.com>, delay=21:18:03, xdelay=00:00:00, mailer=esmtp, pri=4056415, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:38 gateway sm-mta[1666]: r7RMD82f032854: to=<root@xxxxx.xxxx.com>, delay=23:10:29, xdelay=00:00:00, mailer=esmtp, pri=4358268, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:38 gateway sm-mta[1666]: r7R05ZoO030163: to=<root@xxxxx.xxxx.com>, delay=1+21:18:02, xdelay=00:00:00, mailer=esmtp, pri=8402563, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:38 gateway sm-mta[1666]: r7R05ZoP030163: to=<root@xxxxx.xxxx.com>, delay=1+21:18:02, xdelay=00:00:00, mailer=esmtp, pri=8406961, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:38 gateway sm-mta[1666]: r7QMD8md023296: to=<root@xxxxx.xxxx.com>, delay=1+23:10:29, xdelay=00:00:00, mailer=esmtp, pri=8777438, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:38 gateway sm-mta[1666]: r7Q05ZvQ020977: to=<root@xxxxx.xxxx.com>, delay=2+21:18:01, xdelay=00:00:00, mailer=esmtp, pri=12812563, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:38 gateway sm-mta[1666]: r7Q05ZvR020977: to=<root@xxxxx.xxxx.com>, delay=2+21:18:01, xdelay=00:00:00, mailer=esmtp, pri=12816145, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:38 gateway sm-mta[1666]: r7PLh8BO016178: to=<root@xxxxx.xxxx.com>, delay=2+23:40:29, xdelay=00:00:00, mailer=esmtp, pri=13264392, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:39 gateway sm-mta[1666]: r7P05ZnM013827: to=<root@xxxxx.xxxx.com>, delay=3+21:18:03, xdelay=00:00:00, mailer=esmtp, pri=17222854, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:39 gateway sm-mta[1666]: r7P05ZnN013827: to=<root@xxxxx.xxxx.com>, delay=3+21:18:02, xdelay=00:00:00, mailer=esmtp, pri=17225327, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:39 gateway sm-mta[1666]: r7OMD7Nq012860: to=<root@xxxxx.xxxx.com>, delay=3+23:10:30, xdelay=00:00:00, mailer=esmtp, pri=17584852, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:39 gateway sm-mta[1666]: r7OAh76t008653: to=<root@xxxxx.xxxx.com>, delay=4+10:40:31, xdelay=00:00:00, mailer=esmtp, pri=19652037, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:39 gateway sm-mta[1666]: r7OAD76t008615: to=<root@xxxxx.xxxx.com>, delay=4+11:10:30, xdelay=00:00:00, mailer=esmtp, pri=19741946, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:39 gateway sm-mta[1666]: r7OAD76v008615: to=<root@xxxxx.xxxx.com>, delay=4+11:10:30, xdelay=00:00:00, mailer=esmtp, pri=19741998, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
Aug 29 00:23:39 gateway sm-mta[1666]: r7OAD76u008615: to=<root@xxxxx.xxxx.com>, delay=4+11:10:30, xdelay=00:00:00, mailer=esmtp, pri=19741998, relay=xxxxx.xxxx.com., dsn=4.0.0, stat=Deferred: Connection refused by xxxxx.xxxx.com.
I have done
chmod 0755 /etc/mail
but still no result.Please, help me to fix this problem
P.S. Why there is still xxxxx.xxxx.com and root@xxxxx.xxxx.com in those messages, why not just xxxx.com?