aboutsummaryrefslogtreecommitdiffstats
path: root/pullimap
diff options
context:
space:
mode:
Diffstat (limited to 'pullimap')
-rwxr-xr-xpullimap2
1 files changed, 1 insertions, 1 deletions
diff --git a/pullimap b/pullimap
index 0e31a90..d2de66f 100755
--- a/pullimap
+++ b/pullimap
@@ -221,7 +221,7 @@ sub smtp_send(@) {
$CONF->{'logger-fd'} = \*STDERR if $CONFIG{debug};
my $IMAP = do {
my %config = (%$CONF, %CONFIG{qw/quiet debug/}, name => $ARGV[0]);
- $config{keepalive} = 1 if defined $CONFIG{idle} and $config{type} ne 'tunnel';
+ $config{keepalive} = 1 if defined $CONFIG{idle};
Net::IMAP::InterIMAP::->new( %config );
};