smtpd: Manual merge from parameterize branch
This commit is contained in:
parent
8de3a4c16d
commit
a8ebd9417c
3 changed files with 284 additions and 265 deletions
|
@ -1,14 +1,14 @@
|
|||
<% if @operatingsystem == "OpenBSD" -%>
|
||||
listen on lo0
|
||||
<% else -%>
|
||||
listen on localhost
|
||||
listen on lo
|
||||
<% end -%>
|
||||
|
||||
table aliases db:<%= @aliases %>.db
|
||||
|
||||
<% if @relay -%>
|
||||
accept from local for any relay via <%= @relay %><% if @mail_domain %> as "@<%= @mail_domain %>"<% end %>
|
||||
<% if @mailrelay -%>
|
||||
accept from local for any relay via <%= @mailrelay %><% if @maildomain %> as "@<%= @maildomain %>"<% end %>
|
||||
<% else -%>
|
||||
accept from local for local alias <aliases> deliver to mbox
|
||||
accept from local for any relay<% if @mail_domain %> as "@<%= @mail_domain %>"<% end %>
|
||||
accept from local for any relay<% if @maildomain %> as "@<%= @maildomain %>"<% end %>
|
||||
<% end -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue