{"id":1169,"date":"2018-07-29T13:06:18","date_gmt":"2018-07-29T13:06:18","guid":{"rendered":"https:\/\/pleskext.configbox.com\/mail-logs\/"},"modified":"2021-02-03T16:05:29","modified_gmt":"2021-02-03T15:05:29","slug":"mail-log","status":"publish","type":"post","link":"https:\/\/pleskext.configbox.com\/en\/mail-log\/","title":{"rendered":"Mail-Log"},"content":{"rendered":"<p>[vc_row][vc_column][cms_heading text=&#8221;Functions of the Mail-Log extension&#8221; font_weight=&#8221;&#8221;][vc_column_text css=&#8221;.vc_custom_1570030264429{margin-bottom: 26px !important;}&#8221;]This Plesk extension will allow you to have <strong>better control and valuable information about your server&#8217;s mail logs<\/strong>.<\/p>\n<p>It will offer you, among other, information about the connections to the mailboxes and the emails received and sent so each owner of a subscription can access this data to analyze and have information about any questions about the mail process.<\/p>\n<p>You can:[\/vc_column_text][cms_list cms_list=&#8221;%5B%7B%22cms_list_item%22%3A%22See%20the%20connections%20to%20the%20different%20mailboxes%20of%20the%20domain%20with%20the%20possibility%20of%20filtering%20by%20mailbox%2C%20date%20or%20ip.%22%7D%2C%7B%22cms_list_item%22%3A%22See%20the%20emails%20received%20in%20a%20domain%20with%20the%20possibility%20of%20filtering%20by%20mailbox%2C%20date%2C%20weight%2C%20email%20identifier%2C%20status%20or%20sender.%22%7D%2C%7B%22cms_list_item%22%3A%22View%20emails%20sent%20from%20a%20domain%20with%20the%20possibility%20of%20filtering%20by%20mailbox%2C%20date%2C%20weight%2C%20email%20identifier%2C%20status%20or%20recipient.%22%7D%5D&#8221;][vc_empty_space][vc_column_text css=&#8221;.vc_custom_1570030376898{margin-bottom: 26px !important;}&#8221;]In addition, <strong>the Administrator can set the number of days during which the logs will be stored<\/strong> in the database and activate or deactivate the log checking cron.[\/vc_column_text][vc_row_inner content_placement=&#8221;middle&#8221;][vc_column_inner][cms_heading text=&#8221;Requirements&#8221; font_weight=&#8221;&#8221;][\/vc_column_inner][vc_column_inner][\/vc_column_inner][\/vc_row_inner][vc_column_text css=&#8221;.vc_custom_1570030422809{margin-bottom: 0px !important;}&#8221;]To run the extension on your Plesk control panel you will need:[\/vc_column_text][vc_empty_space][cms_list cms_list=&#8221;%5B%7B%22cms_list_item%22%3A%22Your%20server%20O.S.%20must%20be%20Linux%22%7D%2C%7B%22cms_list_item%22%3A%22Your%20Plesk%20version%20must%20be%2017.8%20or%20higher.%22%7D%2C%7B%22cms_list_item%22%3A%22That%20your%20server%20has%20Postfix%22%7D%5D&#8221;][vc_empty_space][vc_row_inner content_placement=&#8221;middle&#8221;][vc_column_inner][vc_empty_space][cms_heading text=&#8221;Installation&#8221; text_decoration=&#8221;underline&#8221; font_weight=&#8221;&#8221;][vc_column_text css=&#8221;.vc_custom_1570030585022{margin-bottom: 0px !important;}&#8221;]The installation is very simple, just access the Plesk control panel, go to &#8220;Extensions&#8221; and there look for &#8220;Mail-Log&#8221;, install it and you will directly have the option enabled in each of the subscriptions.[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][vc_row_inner content_placement=&#8221;middle&#8221;][vc_column_inner][vc_empty_space][cms_heading text=&#8221;Documentation&#8221; text_decoration=&#8221;underline&#8221; font_weight=&#8221;&#8221;][vc_column_text css=&#8221;.vc_custom_1607686149104{margin-bottom: 0px !important;}&#8221;]You have detailed documentation <a href=\"https:\/\/pleskext.configbox.com\/Manual-maillog-ENG.pdf\" target=\"_blank\" rel=\"noopener\">HERE<\/a>[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][vc_row_inner content_placement=&#8221;middle&#8221;][vc_column_inner][vc_empty_space][cms_heading text=&#8221;Troubleshooting&#8221; text_decoration=&#8221;underline&#8221; font_weight=&#8221;&#8221;][vc_column_text css=&#8221;.vc_custom_1612364588411{margin-bottom: 0px !important;}&#8221;]If the plugin stops working it may be because the process has been blocked (for example, when a server crashes, the temporary file is not deleted)<\/p>\n<p>In that case, you can check the date file:<\/p>\n<p><em>ls -l \/usr\/local\/psa\/var\/modules\/mail-log\/cron.lock<\/em><\/p>\n<p>You can also check if cron task is running:<\/p>\n<p><em>ps -ef | grep queue_runner.php | grep -v grep<\/em><\/p>\n<p>If the file is several days old and especially if there is no analysis process of the maillog file, the temporary file must be deleted so that the cron works again:<\/p>\n<p><em>rm -f \/usr\/local\/psa\/var\/modules\/mail-log\/cron.lock<\/em>[\/vc_column_text][\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space][cms_heading text=&#8221;Screen captures&#8221; font_weight=&#8221;&#8221;][vc_gallery type=&#8221;image_grid&#8221; images=&#8221;1377,1379,1382&#8243; img_size=&#8221;200&#215;100&#8243; css_animation=&#8221;bounceIn&#8221;][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A simple extension for Plesk that will give you more control and information about your server&#8217;s mail logs.<\/p>\n","protected":false},"author":1,"featured_media":1170,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[102],"tags":[],"_links":{"self":[{"href":"https:\/\/pleskext.configbox.com\/en\/wp-json\/wp\/v2\/posts\/1169"}],"collection":[{"href":"https:\/\/pleskext.configbox.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pleskext.configbox.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pleskext.configbox.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pleskext.configbox.com\/en\/wp-json\/wp\/v2\/comments?post=1169"}],"version-history":[{"count":6,"href":"https:\/\/pleskext.configbox.com\/en\/wp-json\/wp\/v2\/posts\/1169\/revisions"}],"predecessor-version":[{"id":1875,"href":"https:\/\/pleskext.configbox.com\/en\/wp-json\/wp\/v2\/posts\/1169\/revisions\/1875"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pleskext.configbox.com\/en\/wp-json\/wp\/v2\/media\/1170"}],"wp:attachment":[{"href":"https:\/\/pleskext.configbox.com\/en\/wp-json\/wp\/v2\/media?parent=1169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pleskext.configbox.com\/en\/wp-json\/wp\/v2\/categories?post=1169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pleskext.configbox.com\/en\/wp-json\/wp\/v2\/tags?post=1169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}