From: Joe Acquisto-j. <jo...@j4...> - 2020-02-10 17:05:53
|
Currently at latest release candidate, but this error happened with earlier versions a well. /etc/fetchmailrc contains: poll mail.somehost.com with proto IMAP timeout 120 envelope Delivered-to user 'me...@ga...' there with password 'B1nksSt1nks' is 'me...@co...' here folder 'Inbox','Junk' fetchlimit 10 ssl sslfingerprint "blah" # smtphost 192.168.ccc.ddd preconnect "/bin/date >> /var/log/fetchmail.log" This is what log shows: fetchmail: IMAP< A0006 OK Fetch completed (0.001 + 0.000 secs). fetchmail: IMAP> A0007 FETCH 1 RFC822.HEADER fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {4003} fetchmail: reading message me...@ga...@mail.somehost.com:1 of 1 (4003 header octets)Trying to connect to ::1/25...connection failed. fetchmail: connection to localhost:smtp [::1/25] failed: Connection refused. This worked when fetchmail and the local mail server were not on the same box. "postconnect" works, but places the time stamp after the connection. Preconnect prior to poll produces a syntax error on startup. A minor issue, but curious as to what I am mis understanding about preconnect. joe a. |