mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
postfix/log switch to new log view https://github.com/opnsense/plugins/issues/1593
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
<page-services-postfix-log>
|
||||
<name>Services: Postfix: Log File</name>
|
||||
<patterns>
|
||||
<pattern>diag_logs_postfix.php</pattern>
|
||||
<pattern>ui/diagnostics/log/core/mail/*</pattern>
|
||||
<pattern>api/diagnostics/log/core/mail/*</pattern>
|
||||
</patterns>
|
||||
</page-services-postfix-log>
|
||||
</acl>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<Senderbcc VisibleName="Sender BCC" url="/ui/postfix/senderbcc/index" order="45"/>
|
||||
<Sendercanonical VisibleName="Sender Canonical Rewriting" url="/ui/postfix/sendercanonical/index" order="48"/>
|
||||
<Address VisibleName="Address Rewriting" url="/ui/postfix/address/index" order="50"/>
|
||||
<LogFile VisibleName="Log File" order="50" url="/diag_logs_postfix.php"/>
|
||||
<LogFile VisibleName="Log File" order="50" url="/ui/diagnostics/log/core/mail"/>
|
||||
</Postfix>
|
||||
</Services>
|
||||
</menu>
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
<?php
|
||||
|
||||
$logfile = '/var/log/mail.log';
|
||||
$logclog = true;
|
||||
|
||||
$service_hook = 'postfix';
|
||||
|
||||
require_once 'diag_logs_template.inc';
|
||||
Reference in New Issue
Block a user