Added mail domain to sendmail's submit.mc

This commit is contained in:
Ossi Salmi 2010-12-26 19:38:00 +02:00 committed by Timo Mkinen
parent f64c9540ca
commit 256e33721e
2 changed files with 11 additions and 0 deletions

View file

@ -25,6 +25,9 @@ define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confDIRECT_SUBMISSION_MODIFIERS',`C')dnl
<% if has_variable?('mail_domain') -%>
define(`confDOMAIN_NAME', `<%= mail_domain %>')dnl
<% end -%>
<% if kernel == 'Linux' -%>
define(`confPID_FILE', `/var/run/sm-client.pid')dnl
<% end -%>