/[smeserver]/rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.7.0-bz12449-select-smtp-ssmtp-auth.patch
ViewVC logotype

Annotation of /rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.7.0-bz12449-select-smtp-ssmtp-auth.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Dec 18 17:56:07 2023 UTC (10 months, 2 weeks ago) by jpp
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_7_0-15_el7_sme
* Mon Dec 18 2023 Jean-Philippe Pialasse <tests@pialasse.com> 2.7.0-15.sme
- revert ability to enable selectively auth on smtp/ssmtp [SME: 12449]

1 jpp 1.1 diff -Nur --no-dereference smeserver-qpsmtpd-2.7.0.old/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/06auth_imap smeserver-qpsmtpd-2.7.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/06auth_imap
2     --- smeserver-qpsmtpd-2.7.0.old/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/06auth_imap 2023-12-18 12:41:31.211000000 -0500
3     +++ smeserver-qpsmtpd-2.7.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/06auth_imap 2023-12-18 12:44:26.552000000 -0500
4     @@ -1,3 +1,8 @@
5     {
6     - $OUT .= "auth/auth_imap 127.0.0.1 143";
7     + my $auth_smtp = ($qpsmtpd{Authentication} eq 'enabled') ? 'yes' : 'no';
8     + my $auth_ssmtp = ($sqpsmtpd{Authentication} eq 'enabled') ? 'yes' : 'no';
9     +
10     + $OUT = "auth/auth_imap 127.0.0.1 143";
11     + $OUT .= " enable_smtp $auth_smtp";
12     + $OUT .= " enable_ssmtp $auth_ssmtp";
13     }
14     diff -Nur --no-dereference smeserver-qpsmtpd-2.7.0.old/root/etc/yum/post-actions/qpsmtpd smeserver-qpsmtpd-2.7.0/root/etc/yum/post-actions/qpsmtpd
15     --- smeserver-qpsmtpd-2.7.0.old/root/etc/yum/post-actions/qpsmtpd 1969-12-31 19:00:00.000000000 -0500
16     +++ smeserver-qpsmtpd-2.7.0/root/etc/yum/post-actions/qpsmtpd 2023-12-18 12:47:34.807000000 -0500
17     @@ -0,0 +1,2 @@
18     +qpsmtpd:any:/sbin/e-smith/signal-event smeserver-qpsmtpd-update
19     +qpsmtpd-plugins:any:/sbin/e-smith/signal-event smeserver-qpsmtpd-update

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