Linux 查詢 Posfix 郵件 log 指令
Last login: Mon Jan 13 10:05:04 2020 from 10.101.232.54
[K0010547@SCNI-LSMTP01 ~]$ sudo su - root
[sudo] password for K0010547:
[root@SCNI-LSMTP01 ~]# cd /var/log
[root@SCNI-LSMTP01 log]# ls
anaconda.syslog btmp cron-20200202 dmesg.old maillog mcelog
[root@SCNI-LSMTP01 log]# ll maillog
-rw------- 1 root root 27554471 Feb 21 13:38 maillog
[root@SCNI-LSMTP01 log]# cp maillog /tmp/maillog
[root@SCNI-LSMTP01 log]# chmod 777 /tmp/maillog
[root@SCNI-LSMTP01 log]#
沒有留言:
張貼留言