initial commit of file from CVS for smeserver-sendmail-wrapper on Sat Sep 7 21:04:04 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 21:04:04 +10:00
parent d2f8a76157
commit a6b5501abf
10 changed files with 220 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
{
return ";sendmail-wrapper.pl disabled to enable do: config setprop php sendmail enabled" if ($php{sendmail} || 'enabled') eq "disabled" ;
my $mailog = $phpcur->prop(MailLog) || $php{"MailLog"} || "disabled";
$OUT= "# smeserver-sendmail-wrapper contrib\n";
$OUT= "mail.log= \"/var/log/sendmail/mail.log\"\n" if $mailog eq "disabled";
$OUT= "sendmail_path= \"/usr/bin/sendmail-wrapper.pl\"\n";
}

View File

@@ -0,0 +1,10 @@
/var/log/sendmail/*.log {
missingok
notifempty
compress
weekly
rotate 5
create 0640 www www
su www www
}