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

Contents of /rpms/smeserver-sendmail-wrapper/contribs10/smeserver-sendmail-wrapper-0.1-domainName.patch

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


Revision 1.1 - (show annotations) (download)
Sun Nov 7 02:45:49 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
Error occurred while calculating annotation data.
Initial import

1 diff -Nur smeserver-sendmail-wrapper-0.1.old/root/usr/bin/sendmail-wrapper.pl smeserver-sendmail-wrapper-0.1/root/usr/bin/sendmail-wrapper.pl
2 --- smeserver-sendmail-wrapper-0.1.old/root/usr/bin/sendmail-wrapper.pl 2017-08-18 12:39:53.000000000 -0400
3 +++ smeserver-sendmail-wrapper-0.1/root/usr/bin/sendmail-wrapper.pl 2018-03-03 00:33:12.478000000 -0500
4 @@ -8,14 +8,12 @@
5 use Email::Address;
6 use Email::MessageID;
7 use Email::Date::Format qw(email_date);
8 -use esmith::ConfigDB;
9 -
10 -our $db = esmith::ConfigDB->open();
11 +use Net::Domain qw(hostname hostfqdn hostdomain domainname);
12
13 my $user = getpwuid( $< );
14 my $smtp_password = 'password';
15 my $smtp_default_password = 'password';
16 -my $server = $db->get_value('DomainName') || $db->get_value('DomainName') || 'localhost';
17 +my $server = hostdomain () || hostfqdn () || domainname () || 'localhost';
18 my $input = '';
19 my $to_string = '';
20 my $from_string = '';

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