smtpd: Simplify config, use single config file
This commit is contained in:
parent
39e4838d1c
commit
9b410f3896
6 changed files with 14 additions and 32 deletions
|
@ -1,3 +1,11 @@
|
|||
<% if @operatingsystem == "OpenBSD" -%>
|
||||
listen on lo0
|
||||
<% else -%>
|
||||
listen on localhost
|
||||
<% end -%>
|
||||
|
||||
table aliases db:<%= @aliases %>.db
|
||||
|
||||
<% if @relay -%>
|
||||
accept from local for any relay via <%= @relay %><% if @mail_domain %> as "@<%= @mail_domain %>"<% end %>
|
||||
<% else -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue