/[smeserver]/rpms/e-smith-email/sme8/e-smith-email-4.16.0-relay_ehlo.patch
ViewVC logotype

Annotation of /rpms/e-smith-email/sme8/e-smith-email-4.16.0-relay_ehlo.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 18:43:14 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-email-4_16_0-22_el5_sme, e-smith-email-4_16_0-21_el5_sme, e-smith-email-4_16_0-24_el5_sme, e-smith-email-4_16_0-25_el5_sme, e-smith-email-4_16_0-23_el5_sme, e-smith-email-4_16_0-20_el5_sme
Branch point for: e-smith-email-4_16-tree
Import on branch sme8 of package e-smith-email-4.16.0-20.el5.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-email-4.16.0/root/usr/local/sbin/smtp-auth-proxy.pl mezzanine_patched_e-smith-email-4.16.0/root/usr/local/sbin/smtp-auth-proxy.pl
2     --- e-smith-email-4.16.0/root/usr/local/sbin/smtp-auth-proxy.pl 2005-08-24 18:20:01.000000000 -0400
3     +++ mezzanine_patched_e-smith-email-4.16.0/root/usr/local/sbin/smtp-auth-proxy.pl 2006-05-02 14:17:33.000000000 -0400
4     @@ -79,6 +79,9 @@
5     warn "No SMTP connection to ISP server\n";
6     exit;
7     }
8     +
9     + my @ehlo = $smtp->message;
10     +
11     if ($smtp->supports("AUTH"))
12     {
13     unless ($smtp->auth($name, $pass))
14     @@ -94,6 +97,13 @@
15     warn "Upstream SMTP server does not support authentication\n";
16     }
17     print "220 ", $smtp->banner;
18     +
19     + my $discard = <STDIN>; # Swallow EHLO
20     + while (my $msg = shift @ehlo) {
21     + my $sep = (@messages?"-":" ");
22     + print "250$sep$msg";
23     + }
24     +
25     die "can't fork: $!" unless defined ($kidpid = fork());
26     if ($kidpid)
27     {

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