Added mail domain to sendmail's submit.mc
This commit is contained in:
parent
f64c9540ca
commit
256e33721e
2 changed files with 11 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
|||
#
|
||||
class sendmail::common {
|
||||
|
||||
if !$mail_domain and $domain {
|
||||
$mail_domain = $domain
|
||||
}
|
||||
|
||||
case $operatingsystem {
|
||||
centos,fedora: {
|
||||
package { ["sendmail", "sendmail-cf"]:
|
||||
|
@ -22,6 +26,10 @@ class sendmail::common {
|
|||
#
|
||||
class sendmail::client inherits sendmail::common {
|
||||
|
||||
if !$mail_server {
|
||||
$mail_server = "127.0.0.1"
|
||||
}
|
||||
|
||||
case $operatingsystem {
|
||||
openbsd: {
|
||||
file { "/usr/share/sendmail/cf/submit.mc":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue