Hi,
Just after posting, I got fetchmail to work with
~/.fetchmailrc:
Code:
set logfile "/home/phil/.fetchmail/fetchmail.log"
set postmaster "phil"
set no bouncemail
set properties ""
poll pop.gmail.com
with no dns
with proto POP3
user "my.name@gmail.com"
pass "**********"
is phil here
options
warnings 3600
antispam 571 550 501 554
no keep
ssl
sslfingerprint "3A:E4:20:C9:D0:78:3F:DE:F3:75:06:E1:DA:AE:44:05"
sslcertck
sslcertfile /usr/local/share/certs/ca-root-nss.crt
Didn't play too much with all the ssl things, no not entirely sure how many were required.
I had to login to my Google account and enable
less secure apps.
I then tried isync, and had to add a newline before the IMAPStore section in
~/.mbsyncrc above.
Then "mbsync -a" worked. Thanks. That's saved as an option.
Gmail does not use a traditional mailbox, but keeps one message per file. That's an annoyance.
Sadly, sendmail won't talk to google out of the box. It complains about
sendmail configuration stuff required by Google mail servers:
Code:
define(`confAUTH_OPTIONS', `A p')dnl
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
It seems that my choices are:
- use isync and ssmtpd and get a new email reader; or
- use fetchmail and teach sendmail how to use SASL.
Currently installing a fresh FreeBSD 11.1 vm to work on the latter...
Cheers,