smtpd: Initial version
This commit is contained in:
parent
5bb9db292f
commit
e3bcf4c1f2
3 changed files with 58 additions and 0 deletions
10
smtpd/templates/client.conf.erb
Normal file
10
smtpd/templates/client.conf.erb
Normal file
|
@ -0,0 +1,10 @@
|
|||
listen on lo0
|
||||
|
||||
<% if @smtpd_relay -%>
|
||||
accept from local for any relay via <%= @smtpd_relay %><% if @mail_domain %> as "@<%= @mail_domain %>"<% end %>
|
||||
<% else -%>
|
||||
table aliases db:/etc/mail/aliases.db
|
||||
|
||||
accept from local for local alias <aliases> deliver to mbox
|
||||
accept from local for any relay<% if @mail_domain %> as "@<%= @mail_domain %>"<% end %>
|
||||
<% end -%>
|
Loading…
Add table
Add a link
Reference in a new issue