smtpd: Initial server support
Still missing are TLS and authentication support.
This commit is contained in:
parent
0b7dca59d3
commit
ce5dd6a96d
4 changed files with 142 additions and 8 deletions
|
@ -1,10 +1,6 @@
|
|||
listen on lo0
|
||||
|
||||
<% if @smtpd_relay -%>
|
||||
accept from local for any relay via <%= @smtpd_relay %><% if @mail_domain %> as "@<%= @mail_domain %>"<% end %>
|
||||
<% if @relay -%>
|
||||
accept from local for any relay via <%= @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