class mail::amavisd { service { "amavisd": ensure => running, require => Package['amavisd-new'], } service { "freshclam": ensure => running, require => Package['clamav-freshclam'], } file { "/etc/amavis/conf.d/15-content_filter_mode": ensure => present, owner => root, group => root, mode => 0644, source => "puppet://$server/modules/mail/amavisd/15-content_filter_mode", notify => Service['amavisd'], } postfix::config { "content_filter": value => 'amavis:[127.0.0.1]:10024' } }