Postfixã®ãã°è§£æãã¼ã«ã§ããpflogsummãå°å ¥ããã ããã§ã¯ãæ¯æ¥èªåçã«åæ¥åã®Postfixãã°ã解æãã¦çµæãã¡ã¼ã«ãµã¼ãã¼ç®¡çè (postmaster)å®ã«ã¡ã¼ã«éä¿¡ããããã«ããã [root@centos ~]# vi pflogsumm_reportãâãpflogsummå®è¡ã¹ã¯ãªããä½æ #!/bin/bash MAILLOG=`mktemp` for log in `ls /var/log/maillog-*|sort` do cat $log >> $MAILLOG done cat /var/log/maillog >> $MAILLOG REPORT=`mktemp` pflogsumm --problems_first --verbose_msg_detail --mailq -d yesterday $MAILLOG > $REPORT cat
{{#tags}}- {{label}}
{{/tags}}