From cd2d2df77b5a58043217eed15841c216002b65a2 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 6 Dec 2016 16:40:40 +0100 Subject: pullimap: replace non RFC 5321-compliant envelope sender addresses by <>. --- Changelog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Changelog') diff --git a/Changelog b/Changelog index f9ca699..755c8cb 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,11 @@ +interimap (0.4) UNRELEASED + + * pullimap: replace non RFC 5321-compliant envelope sender addresses + (received by the IMAP FETCH ENVELOPE command) by the null sender address + <>. + + -- Guilhem Moulin Tue, 06 Dec 2016 17:37:01 +0100 + interimap (0.3) upstream; + New script 'pullimap', to pull mails from an IMAP mailbox and -- cgit v1.2.3 From 6fca0d67e7a657452de154e74ad02bf3657db5a1 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 29 May 2017 18:04:19 +0200 Subject: Ensure the lower bound of UID ranges is at least 1. --- Changelog | 1 + lib/Net/IMAP/InterIMAP.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'Changelog') diff --git a/Changelog b/Changelog index 755c8cb..36cbb23 100644 --- a/Changelog +++ b/Changelog @@ -3,6 +3,7 @@ interimap (0.4) UNRELEASED * pullimap: replace non RFC 5321-compliant envelope sender addresses (received by the IMAP FETCH ENVELOPE command) by the null sender address <>. + - Ensure the lower bound of UID ranges is at least 1. -- Guilhem Moulin Tue, 06 Dec 2016 17:37:01 +0100 diff --git a/lib/Net/IMAP/InterIMAP.pm b/lib/Net/IMAP/InterIMAP.pm index 7a1ba34..6f148b7 100644 --- a/lib/Net/IMAP/InterIMAP.pm +++ b/lib/Net/IMAP/InterIMAP.pm @@ -1185,7 +1185,7 @@ sub pull_new_messages($$&@) { do { my $range = ''; my $first; - my $since = $self->{_PCACHE}->{$mailbox}->{UIDNEXT} // 1; + my $since = $self->{_PCACHE}->{$mailbox}->{UIDNEXT} || 1; foreach my $uid (@ignore) { if ($since < $uid) { $first //= $since; -- cgit v1.2.3