/[smeserver]/rpms/qpsmtpd/sme8/qpsmtpd-0.31-smtp_forward_response.patch
ViewVC logotype

Annotation of /rpms/qpsmtpd/sme8/qpsmtpd-0.31-smtp_forward_response.patch

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


Revision 1.2 - (hide annotations) (download)
Thu Jun 14 20:07:19 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import on branch sme8 of package qpsmtpd-0.40-1.0.el5.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.31.1/plugins/queue/smtp-forward mezzanine_patched_qpsmtpd-0.31.1/plugins/queue/smtp-forward
2     --- qpsmtpd-0.31.1/plugins/queue/smtp-forward 2006-03-02 19:05:57.000000000 -0500
3     +++ mezzanine_patched_qpsmtpd-0.31.1/plugins/queue/smtp-forward 2006-03-02 19:05:09.000000000 -0500
4     @@ -116,16 +116,13 @@
5    
6     $smtp->dataend();
7     $rc = $smtp->code;
8     - $message = $smtp->message;
9     - my $queue_message;
10     - chomp($message);
11     + my @messages = $smtp->message;
12     + my $queue_message = $messages[$#messages];
13    
14     if ($rc =~ m/^4\d{2}$/ ) {
15     - return(DENYSOFT, "Unable to queue message ($message)");
16     + return(DENYSOFT, "Unable to queue message ($queue_message)");
17     } elsif ($rc =~ m/^5\d{2}$/ ) {
18     - return(DENY, "Unable to queue message ($message)");
19     - } else {
20     - $queue_message = $message;
21     + return(DENY, "Unable to queue message ($queue_message)");
22     }
23    
24     $smtp->quit();

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