14 lines
429 B
Text
14 lines
429 B
Text
<% 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 -%>
|
|
accept from local for local alias <aliases> deliver to mbox
|
|
accept from local for any relay<% if @mail_domain %> as "@<%= @mail_domain %>"<% end %>
|
|
<% end -%>
|