From: Sunil S. <sh...@bo...> - 2005-12-14 08:50:07
|
Quoting from Matthias Andree's mail on Tue, Dec 13, 2005: > > [OFFTOPIC] While debugging this, I found a weird bug relating to this > > SMTP/LMTP mode. It seems that once fetchmail switches to LMTP mode, > > there is no going back to SMTP mode. Try this simple fetchmail > > command: > > > > $ fetchmail -v --smtphost /this/socket/is/down,localhost > > > > fetchmail sends LHLO to the localhost SMTP server. Note that SMTP > > cannot be forced as the user could be running this configuration: Here is a patch which fixes this issue. This basically removes the global smtp_mode variable and passes the desired mode in every smtp function. You may compare the output of $ fetchmail -v --smtphost /this/socket/is/down,localhost before and after the patch. -- Sunil Shetye. |