Having removed procmail, am looking for where fetchmail is storing messages:
nicholas@mordor:~$
nicholas@mordor:~$ tail -f /var/log/fetchmail.log
fetchmail: IMAP A0004 SEARCH UNSEEN UNDELETED
fetchmail: IMAP A0005 LOGOUT
fetchmail: IMAP A0001 CAPABILITY
fetchmail: IMAP A0002 LOGIN "saunders.nicholas@gmail.com" *
fetchmail: IMAP A0003 SELECT "INBOX"
fetchmail: IMAP A0004 SEARCH UNSEEN UNDELETED
fetchmail: IMAP A0005 LOGOUT
fetchmail: IMAP< * BYE LOGOUT Requested
fetchmail: IMAP< A0005 OK 73 good day (Success)
fetchmail: 6.4.27 querying imap.gmail.com (protocol IMAP) at Sat 16 Dec 2023 10:31:35 AM: poll completed
fetchmail: sleeping at Sat 16 Dec 2023 10:31:35 AM for 600 seconds
nothing where expected:
nicholas@mordor:~$
nicholas@mordor:~$ ll /var/spool/mail/nicholas
-rw------- 1 nicholas mail 0 Nov 27 15:52 /var/spool/mail/nicholas
nicholas@mordor:~$
nicholas@mordor:~$ ll /var/mail/nicholas
-rw------- 1 nicholas mail 0 Nov 27 15:52 /var/mail/nicholas
nicholas@mordor:~$
As I'm using the Alpine e-mail client, there's some mail in my home directory under Mail, but none of the mbox files have recent activity to match the fetchmail activity.
Fetchmail configured as:
nicholas@mordor:~$
nicholas@mordor:~$ cat .fetchmailrc
set postmaster "saunders"
set daemon 60
set invisible
set postmaster administrator
set syslog
set logfile /var/log/fetchmail.log
set daemon 600
poll imap.gmail.com with proto IMAP
user 'saunders.nicholas@gmail.com' there with password 'xxx' is local_user here options ssl fetchlimit 1
keep
# folder "fetching"
nicholas@mordor:~$
where the fetchmail is limiting it's known where the mail's be stored.
It's correct to poll "imap.gmail.com"? Using the "app" password which Alpine uses as a work-around to 2FA. No password problems, just confirming configuration.
Can fetchmail be configured to explicitly use a particular directory or folder?
Nothing in "~/.fetchids" either.
Nothing listening on port 25.
log shows:
fetchmail: awakened by signal 10
fetchmail: restarting fetchmail (/home/nicholas/.fetchmailrc changed)
fetchmail: starting fetchmail 6.4.27 daemon
fetchmail: 31 messages (31 seen) for saunders.nicholas@gmail.com at imap.gmail.com.
fetchmail: 31 messages (31 seen) for saunders.nicholas@gmail.com at imap.gmail.com.
fetchmail: restarting fetchmail (/home/nicholas/.fetchmailrc changed)
fetchmail: starting fetchmail 6.4.27 daemon
fetchmail: 31 messages (31 seen) for saunders.nicholas@gmail.com at imap.gmail.com.
fetchmail: 31 messages (31 seen) for saunders.nicholas@gmail.com at imap.gmail.com.
fetchmail: awakened by signal 10
fetchmail: 32 messages (31 seen) for saunders.nicholas@gmail.com at imap.gmail.com.
fetchmail: reading message saunders.nicholas@gmail.com@imap.gmail.com:32 of 32 (613 header octets) (log message incomplete)
fetchmail: Connection errors for this poll:
name 0: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused.
fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from saunders.nicholas@gmail.com@imap.gmail.com and delivering to SMTP host localhost
fetchmail: Query status=10 (SMTP)
fetchmail: 32 messages (31 seen) for saunders.nicholas@gmail.com at imap.gmail.com.
fetchmail: reading message saunders.nicholas@gmail.com@imap.gmail.com:32 of 32 (613 header octets) (log message incomplete)
fetchmail: Connection errors for this poll:
name 0: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused.
fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from saunders.nicholas@gmail.com@imap.gmail.com and delivering to SMTP host localhost
fetchmail: Query status=10 (SMTP)
Just looking to grab a single message and store it locally. I can change the fetchmail configuration, but hesitate to start downloading too many e-mails until I figure out where the ones it did save are being stored.
nicholas@mordor:~$
nicholas@mordor:~$ telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
nicholas@mordor:~$
nicholas@mordor:~$ hostname -f
mordor.saundersconsulting.tech
nicholas@mordor:~$
nicholas@mordor:~$ telnet mordor.saundersconsulting.tech 25
Trying 127.0.1.1...
telnet: Unable to connect to remote host: Connection refused
nicholas@mordor:~$
Asked by Nicholas Saunders
(565 rep)
Dec 16, 2023, 06:42 PM
Last activity: Dec 16, 2023, 09:03 PM
Last activity: Dec 16, 2023, 09:03 PM