sendmail: Add support for smart host. This setting also adds mail hub and relay server to really really make the mail move towards defined smart host.
This commit is contained in:
parent
65ef51f9dd
commit
3db5ab226b
2 changed files with 10 additions and 0 deletions
|
@ -10,6 +10,12 @@ include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
|
|||
VERSIONID(`puppet sendmail::server')dnl
|
||||
OSTYPE(`<%= @ostype -%>')dnl
|
||||
dnl #
|
||||
<% if @mail_smart_host -%>
|
||||
define(`SMART_HOST', `<%= @mail_smart_host -%>')dnl
|
||||
define(`MAIL_HUB', `<%= @mail_smart_host -%>')dnl
|
||||
define(`LOCAL_RELAY', `<%= @mail_smart_host -%>')dnl
|
||||
dnl #
|
||||
<% end -%>
|
||||
define(`confDEF_USER_ID', ``8:12'')dnl
|
||||
define(`confTO_CONNECT', `1m')dnl
|
||||
define(`confTRY_NULL_MX_LIST', `True')dnl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue