|
|
@@ -2,20 +2,15 @@
|
|
|
## fsl.sendmail -- OSSP fsl configuration for sendmail
|
|
|
##
|
|
|
|
|
|
-# use OSSP fsl to perform the equivalent of the
|
|
|
-# following syslog.conf(5) configuration entries:
|
|
|
-# mail.crit @l_prefix@/var/sendmail/log/sendmail.crit
|
|
|
-# mail.err @l_prefix@/var/sendmail/log/sendmail.err
|
|
|
-# mail.notice @l_prefix@/var/sendmail/log/sendmail.notice
|
|
|
ident (.+)/mail q{
|
|
|
- prefix(
|
|
|
- prefix="%b %d %H:%M:%S %N $1: ",
|
|
|
- timezone=local
|
|
|
+ notice: prefix(
|
|
|
+ prefix="%b %d %H:%M:%S %N $1[%P]: ",
|
|
|
+ timezone=local
|
|
|
+ )
|
|
|
+ -> file(
|
|
|
+ path="@l_prefix@/var/sendmail/log/sendmail.log",
|
|
|
+ append=1,
|
|
|
+ perm=0644
|
|
|
)
|
|
|
- -> {
|
|
|
- critical: file(path="@l_prefix@/var/sendmail/log/mail.crit", append=1, perm=0644);
|
|
|
- error: file(path="@l_prefix@/var/sendmail/log/mail.err", append=1, perm=0644);
|
|
|
- notice: file(path="@l_prefix@/var/sendmail/log/mail.notice", append=1, perm=0644)
|
|
|
- }
|
|
|
}
|
|
|
|