mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-09 00:42:34 -04:00
mail/postfix: add portfield to postfix (#879)
This commit is contained in:
parent
c33f32990e
commit
788f449efd
4 changed files with 13 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
PLUGIN_NAME= postfix
|
||||
PLUGIN_VERSION= 1.5
|
||||
PLUGIN_VERSION= 1.6
|
||||
PLUGIN_COMMENT= SMTP mail relay
|
||||
PLUGIN_DEPENDS= postfix-sasl
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
|
|
|||
|
|
@ -29,6 +29,12 @@
|
|||
<type>text</type>
|
||||
<help>The 'Listen IPs' parameter specifies the IP address to listen to. Default is to listen on all interfaces.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>general.inet_port</id>
|
||||
<label>Listen Port</label>
|
||||
<type>text</type>
|
||||
<help>Port to listen on.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>general.bind_address</id>
|
||||
<label>Bind SMTP Client Address</label>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<model>
|
||||
<mount>//OPNsense/postfix/general</mount>
|
||||
<description>Postfix configuration</description>
|
||||
<version>1.2.1</version>
|
||||
<version>1.2.2</version>
|
||||
<items>
|
||||
<enabled type="BooleanField">
|
||||
<default>0</default>
|
||||
|
|
@ -23,6 +23,10 @@
|
|||
<default>all</default>
|
||||
<Required>Y</Required>
|
||||
</inet_interfaces>
|
||||
<inet_port type="PortField">
|
||||
<default>25</default>
|
||||
<Required>Y</Required>
|
||||
</inet_port>
|
||||
<bind_address type="NetworkField">
|
||||
<Required>N</Required>
|
||||
<AddressFamily>ipv4</AddressFamily>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
# service type private unpriv chroot wakeup maxproc command + args
|
||||
# (yes) (yes) (no) (never) (100)
|
||||
# ==========================================================================
|
||||
smtp inet n - n - - smtpd
|
||||
{{ OPNsense.postfix.general.inet_port }} inet n - n - - smtpd
|
||||
#smtp inet n - n - 1 postscreen
|
||||
#smtpd pass - - n - - smtpd
|
||||
#dnsblog unix - - n - 0 dnsblog
|
||||
|
|
|
|||
Loading…
Reference in a new issue