/[smecontribs]/rpms/smeserver-sendmail-wrapper/contribs10/smeserver-sendmail-wrapper-0.1-logfile.patch
ViewVC logotype

Annotation of /rpms/smeserver-sendmail-wrapper/contribs10/smeserver-sendmail-wrapper-0.1-logfile.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Nov 7 02:45:50 2021 UTC (3 years ago) by jpp
Branch: MAIN
CVS Tags: smeserver-sendmail-wrapper-0_1-6_el7_sme, smeserver-sendmail-wrapper-0_1-5_el7_sme, HEAD
Initial import

1 jpp 1.1 diff -Nur smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunctionX smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunctionX
2     --- smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunctionX 2017-08-18 12:38:53.000000000 -0400
3     +++ smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunctionX 2018-03-02 22:49:20.433000000 -0500
4     @@ -2,7 +2,7 @@
5    
6     return ";sendmail-wrapper.pl disabled to enable do: config setprop php sendmail enabled" if ($php{sendmail} || 'enabled') eq "disabled" ;
7    
8     -$OUT= "mail.log= \"/var/log/httpd/mail.log\"
9     +$OUT= "mail.log= \"/var/log/sendmail/mail.log\"
10     sendmail_path= \"/usr/bin/sendmail-wrapper.pl\"\n";
11    
12     }
13     diff -Nur smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/opt/remi/php54/root/etc/php.ini/80ModuleSettings02mailfunctionX smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/opt/remi/php54/root/etc/php.ini/80ModuleSettings02mailfunctionX
14     --- smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/opt/remi/php54/root/etc/php.ini/80ModuleSettings02mailfunctionX 2017-08-18 12:55:35.000000000 -0400
15     +++ smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/opt/remi/php54/root/etc/php.ini/80ModuleSettings02mailfunctionX 2018-03-02 22:47:35.895000000 -0500
16     @@ -2,7 +2,7 @@
17    
18     return ";sendmail-wrapper.pl disabled to enable do: config setprop php54 sendmail enabled" if ($php54{sendmail} || 'enabled') eq "disabled" ;
19    
20     -$OUT= "mail.log= \"/var/log/httpd/mail.log\"
21     +$OUT= "mail.log= \"/var/log/sendmail/mail.log\"
22     sendmail_path= \"/usr/bin/sendmail-wrapper.pl\"\n";
23    
24     }
25     diff -Nur smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/opt/remi/php55/root/etc/php.ini/80ModuleSettings02mailfunctionX smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/opt/remi/php55/root/etc/php.ini/80ModuleSettings02mailfunctionX
26     --- smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/opt/remi/php55/root/etc/php.ini/80ModuleSettings02mailfunctionX 2017-08-18 12:55:51.000000000 -0400
27     +++ smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/opt/remi/php55/root/etc/php.ini/80ModuleSettings02mailfunctionX 2018-03-02 22:47:59.913000000 -0500
28     @@ -2,7 +2,7 @@
29    
30     return ";sendmail-wrapper.pl disabled to enable do: config setprop php55 sendmail enabled" if ($php55{sendmail} || 'enabled') eq "disabled" ;
31    
32     -$OUT= "mail.log= \"/var/log/httpd/mail.log\"
33     +$OUT= "mail.log= \"/var/log/sendmail/mail.log\"
34     sendmail_path= \"/usr/bin/sendmail-wrapper.pl\"\n";
35    
36     }
37     diff -Nur smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/opt/remi/php56/root/etc/php.ini/80ModuleSettings02mailfunctionX smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/opt/remi/php56/root/etc/php.ini/80ModuleSettings02mailfunctionX
38     --- smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/opt/remi/php56/root/etc/php.ini/80ModuleSettings02mailfunctionX 2017-08-18 12:56:18.000000000 -0400
39     +++ smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/opt/remi/php56/root/etc/php.ini/80ModuleSettings02mailfunctionX 2018-03-02 22:48:20.095000000 -0500
40     @@ -2,7 +2,7 @@
41    
42     return ";sendmail-wrapper.pl disabled to enable do: config setprop php56 sendmail enabled" if ($php56{sendmail} || 'enabled') eq "disabled" ;
43    
44     -$OUT= "mail.log= \"/var/log/httpd/mail.log\"
45     +$OUT= "mail.log= \"/var/log/sendmail/mail.log\"
46     sendmail_path= \"/usr/bin/sendmail-wrapper.pl\"\n";
47    
48     }
49     diff -Nur smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings02mailfunctionX smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings02mailfunctionX
50     --- smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings02mailfunctionX 2017-08-18 12:56:37.000000000 -0400
51     +++ smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings02mailfunctionX 2018-03-02 22:48:38.319000000 -0500
52     @@ -2,7 +2,7 @@
53    
54     return ";sendmail-wrapper.pl disabled to enable do: config setprop php70 sendmail enabled" if ($php70{sendmail} || 'enabled') eq "disabled" ;
55    
56     -$OUT= "mail.log= \"/var/log/httpd/mail.log\"
57     +$OUT= "mail.log= \"/var/log/sendmail/mail.log\"
58     sendmail_path= \"/usr/bin/sendmail-wrapper.pl\"\n";
59    
60     }
61     diff -Nur smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings02mailfunctionX smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings02mailfunctionX
62     --- smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings02mailfunctionX 2017-08-18 12:56:57.000000000 -0400
63     +++ smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings02mailfunctionX 2018-03-02 22:48:56.691000000 -0500
64     @@ -2,7 +2,7 @@
65    
66     return ";sendmail-wrapper.pl disabled to enable do: config setprop php71 sendmail enabled" if ($php71{sendmail} || 'enabled') eq "disabled" ;
67    
68     -$OUT= "mail.log= \"/var/log/httpd/mail.log\"
69     +$OUT= "mail.log= \"/var/log/sendmail/mail.log\"
70     sendmail_path= \"/usr/bin/sendmail-wrapper.pl\"\n";
71    
72     }
73     diff -Nur smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings02mailfunctionX smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings02mailfunctionX
74     --- smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings02mailfunctionX 1969-12-31 19:00:00.000000000 -0500
75     +++ smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings02mailfunctionX 2018-03-02 22:48:56.000000000 -0500
76     @@ -0,0 +1,8 @@
77     +{
78     +
79     +return ";sendmail-wrapper.pl disabled to enable do: config setprop php71 sendmail enabled" if ($php71{sendmail} || 'enabled') eq "disabled" ;
80     +
81     +$OUT= "mail.log= \"/var/log/sendmail/mail.log\"
82     +sendmail_path= \"/usr/bin/sendmail-wrapper.pl\"\n";
83     +
84     +}
85     diff -Nur smeserver-sendmail-wrapper-0.1.old/root/etc/logrotate.d/sendmail-wrapper smeserver-sendmail-wrapper-0.1/root/etc/logrotate.d/sendmail-wrapper
86     --- smeserver-sendmail-wrapper-0.1.old/root/etc/logrotate.d/sendmail-wrapper 1969-12-31 19:00:00.000000000 -0500
87     +++ smeserver-sendmail-wrapper-0.1/root/etc/logrotate.d/sendmail-wrapper 2018-03-02 22:55:14.678000000 -0500
88     @@ -0,0 +1,11 @@
89     +/var/log/sendmail/*.log {
90     + missingok
91     + notifempty
92     + compress
93     + weekly
94     + rotate 5
95     + create 0640 www www
96     + sharedscripts
97     + endscript
98     +}
99     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed