From: grarpamp <gra...@gm...> - 2020-02-10 20:20:39
|
On 2/10/20, Joe Acquisto-j4 <jo...@j4...> wrote: > /etc/fetchmailrc contains: Consider trying the one statement per line multiline format. This avoids line wrapping past screen, avoids filler words, makes quotes pairs easier to check, each line and option can be commented, indent denotes pre/post and all the options as valid only inside a poll, easy to look at / validate / edit, and more etc... poll mail.somehost.com preconnect "/bin/date >> /var/log/fetchmail.log" proto imap ssl # sslcertck sslfingerprint "blah" timeout 120 username 'me...@ga...' password 'B1nksSt1nks' folder 'Inbox','Junk' fetchlimit 10 # envelope Delivered-to to 'me...@co...' # smtphost 192.168.ccc.ddd # keep # check When forwarding 'to' one singledrop, multidrop envelope seems quite moot. > Trying to connect to ::1/25...connection failed. > fetchmail: connection to localhost:smtp [::1/25] failed: Connection > refused. SMTP is not running on localhost IPv6 ::1/25. Run it, tell it where it is, fix dns, firewall, IPv4/6 stack, etc > 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. |