aboutsummaryrefslogtreecommitdiffstats
path: root/pullimap
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-03-12 00:52:04 +0100
committerGuilhem Moulin <guilhem@fripost.org>2016-03-12 00:52:12 +0100
commitd4f52ae67f007ceacfc1a3ea2d0678600b0df73d (patch)
tree32540484b9b5ba8ccee2fe129ee79e77424004e7 /pullimap
parent1b69b4b599d7acf03e426cfbb376e26bdba95c26 (diff)
Net::IMAP::InterIMAP: set binmode on the socket (and our pipe ends)
Diffstat (limited to 'pullimap')
-rwxr-xr-xpullimap1
1 files changed, 1 insertions, 0 deletions
diff --git a/pullimap b/pullimap
index c8d4018..8eb2ac0 100755
--- a/pullimap
+++ b/pullimap
@@ -142,6 +142,7 @@ sub sendmail($$) {
next if $! == EINTR; # try again if connect(2) was interrupted by a signal
die "connect: $!";
}
+ binmode($SMTP) // die "binmode: $!";
smtp_resp('220');
my @r = smtp_send($ehlo => '250');