diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
commit | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch) | |
tree | 66e860a5099bcad013f1cf667255dc372a7c11b3 /mail-mta/qpsmtpd/files | |
parent | 7218e1b46bceac05841e90472501742d905fb3fc (diff) |
gentoo resync : 20.03.2021
Diffstat (limited to 'mail-mta/qpsmtpd/files')
4 files changed, 0 insertions, 94 deletions
diff --git a/mail-mta/qpsmtpd/files/qpsmtpd-0.40-badrcptto_allowrelay.patch b/mail-mta/qpsmtpd/files/qpsmtpd-0.40-badrcptto_allowrelay.patch deleted file mode 100644 index 1f9f33f9a148..000000000000 --- a/mail-mta/qpsmtpd/files/qpsmtpd-0.40-badrcptto_allowrelay.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- qpsmtpd-0.40/plugins/check_badrcptto.badrcptto_allowrelay 2007-06-14 11:57:24.000000000 -0600 -+++ qpsmtpd-0.40/plugins/check_badrcptto 2007-06-14 13:26:42.000000000 -0600 -@@ -3,6 +3,7 @@ - - sub hook_rcpt { - my ($self, $transaction, $recipient, %param) = @_; -+ return (DECLINED) if $self->qp->connection->relay_client; - my @badrcptto = $self->qp->config("badrcptto") or return (DECLINED); - return (DECLINED) unless $recipient->host && $recipient->user; - my $host = lc $recipient->host; diff --git a/mail-mta/qpsmtpd/files/qpsmtpd-0.83-accept-empty-email.patch b/mail-mta/qpsmtpd/files/qpsmtpd-0.83-accept-empty-email.patch deleted file mode 100644 index 2e1dcacc46c3..000000000000 --- a/mail-mta/qpsmtpd/files/qpsmtpd-0.83-accept-empty-email.patch +++ /dev/null @@ -1,44 +0,0 @@ -Accept messages with no body. - -If a message has no body, there is nothing in the RFC spec that says it -needs to have a trailing \n for a blank line after the headers. - -Thumderbird 10 generates some emails like this, which will always cause -plugin errors when $transaction->header is accessed otherwise, as there -is almost no checking that $transaction->header is defined before usage. - -Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> -Thanks-To: Jack Bates <ms419@freezone.co.uk> - ---- qpsmtpd-0.83.orig/lib/Qpsmtpd/SMTP.pm 2009-04-03 06:24:21.000000000 +0000 -+++ qpsmtpd-0.83/lib/Qpsmtpd/SMTP.pm 2012-02-25 05:52:14.000000000 +0000 -@@ -632,7 +632,7 @@ - - my $timeout = $self->config('timeout'); - while (defined($_ = $self->getline($timeout))) { -- $complete++, last if $_ eq ".\r\n"; -+ $complete++, $_ = '' if $_ eq ".\r\n"; - $i++; - - # should probably use \012 and \015 in these checks instead of \r and \n ... -@@ -648,7 +648,7 @@ - unless (($max_size and $size > $max_size)) { - s/\r\n$/\n/; - s/^\.\./\./; -- if ($in_header and m/^$/) { -+ if ($in_header and (m/^$/ or $complete > 0)) { - $in_header = 0; - my @headers = split /^/m, $buffer; - -@@ -691,9 +691,10 @@ - - # copy all lines into the spool file, including the headers - # we will create a new header later before sending onwards -- $self->transaction->body_write($_); -+ $self->transaction->body_write($_) unless $complete; - $size += length $_; - } -+ last if $complete > 0; - #$self->log(LOGDEBUG, "size is at $size\n") unless ($i % 300); - } - diff --git a/mail-mta/qpsmtpd/files/qpsmtpd-0.83-clamd_conf.patch b/mail-mta/qpsmtpd/files/qpsmtpd-0.83-clamd_conf.patch deleted file mode 100644 index 801dc477df9f..000000000000 --- a/mail-mta/qpsmtpd/files/qpsmtpd-0.83-clamd_conf.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nuar --exclude '*.orig' --exclude '*.rej' qpsmtpd-0.83.orig/plugins/virus/clamav qpsmtpd-0.83/plugins/virus/clamav ---- qpsmtpd-0.83.orig/plugins/virus/clamav 2009-07-20 15:36:17.000000000 +0000 -+++ qpsmtpd-0.83/plugins/virus/clamav 2009-09-16 01:14:22.903329780 +0000 -@@ -151,7 +151,7 @@ - $self->{_max_size} ||= 512 * 1024; - $self->{_spool_dir} ||= $self->spool_dir(); - $self->{_back_compat} ||= ''; # make sure something is set -- $self->{_clamd_conf} ||= '/etc/clamd/conf'; # make sure something is set -+ $self->{_clamd_conf} ||= '/etc/clamd.conf'; # make sure something is set - $self->{_declined_on_fail} ||= 0; # decline the message on clamav failure - - unless ($self->{_spool_dir}) { diff --git a/mail-mta/qpsmtpd/files/qpsmtpd-0.84-Net-DNS-id.patch b/mail-mta/qpsmtpd/files/qpsmtpd-0.84-Net-DNS-id.patch deleted file mode 100644 index 6331e98cb48b..000000000000 --- a/mail-mta/qpsmtpd/files/qpsmtpd-0.84-Net-DNS-id.patch +++ /dev/null @@ -1,28 +0,0 @@ -Net::DNS function nextid() changed to id(). - -Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> - -diff -Nuar qpsmtpd-0.84.orig/qpsmtpd-async qpsmtpd-0.84/qpsmtpd-async ---- qpsmtpd-0.84.orig/qpsmtpd-async 2009-04-03 05:48:34.000000000 +0000 -+++ qpsmtpd-0.84/qpsmtpd-async 2013-04-15 23:01:49.952857659 +0000 -@@ -145,7 +145,7 @@ - # print "Next DNS ID: $Net::DNS::Resolver::global{id}\n"; - }; - if ($@) { -- # print "Next DNS ID: " . Net::DNS::Header::nextid() . "\n"; -+ # print "Next DNS ID: " . Net::DNS::Header::id() . "\n"; - } - - # Fixup lost kqueue after fork -diff -Nuar qpsmtpd-0.84.orig/qpsmtpd-forkserver qpsmtpd-0.84/qpsmtpd-forkserver ---- qpsmtpd-0.84.orig/qpsmtpd-forkserver 2010-04-08 05:29:52.000000000 +0000 -+++ qpsmtpd-0.84/qpsmtpd-forkserver 2013-04-15 23:01:49.952857659 +0000 -@@ -285,7 +285,7 @@ - # all children should have different seeds, to prevent conflicts - srand(); - for (0 .. rand(65536)) { -- Net::DNS::Header::nextid(); -+ Net::DNS::Header::id(); - } - - close $_ for $select->handles; |