Re: Is it possible to have fetchmail chk /var/spool/mail/

Peter Pentchev <[email protected]>
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
On Sat, Jan 15, 2022 at 04:26:11PM +0100, Matthias Andree wrote:
> Am 15.01.22 um 16:21 schrieb hput via Fetchmail-users:
> > If it is possible to have fetchmail check for mail at
> > /var/spool/mail/MY-USER
> > 
> > Can anyone give me a few clues as to how that would be entered into
> > ~/.fetchmailrc along with the polls of pop3 servers.
> 
> Harry,
> 
> Why would anyone need that?

It is possible that their setup is the same as mine here - fetchmail
handling a couple of remote accounts and delivering to a Maildir in
my home directory, and me wondering what to do with the messages that
my local system is sending to me - cron reports, apt-listchanges after
updates, sbuild logs, etc. For the present I've made a symlink making
it easier to point Mutt at it every now and then, and that's enough
for me personally.

> /var/spool/mail/$USER is traditionally where fetchmail would *PLACE*
> downloaded mail by means of a mail delivery agent or mail transport
> agent, not *FIND* it.
> 
> Consequently, fetchmail cannot do that, and it is unlikely it ever will,
> because that would be reversing the purpose. It is way out of scope.

Of course, one *could* run a local POP3/IMAP server with a simple
configuration that only provides access to this one account and
this one mailbox... It might be a bit of overkill, but it would allow
fetchmail to query it and move the mail somewhere else.

G'luck,
Peter

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

_______________________________________________
Fetchmail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fetchmail-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmHi8wEACgkQZR7vsCUn
3xN24g/+MN3cNjnXGBZA2eH+Oaq2cXIskexwRw5e4bSXpbQpBeQLA9b94sbGg7QD
2qXN/6MUIS71p+ek55mTwGrGpzvhxcx/uKcgjbESeLP389UzUrWPbEmrlemp+b4q
XEqQ6rmoAZGQpoEXaS2QaiG5SFp1jAneVOqnV3g8HguijGEXvb2Ad1bDayQt982t
q4AvucBdER+acx7OHUqWUWnw9cjOo4ZuZIkXHHrFEsISRan5xXf1d9JehzYMuZVI
nVt9YU1qMnbsYlo9xZCx8Gw4H1tV/ofdTeNq5g9NCQhwgBhQkw4UJ7EjhS0cnfwl
tyBKSRGEAkDHqv2EilPn2POahmNk5G7YHB7K/8kikwE5gP6sp6p+KhzWN/7gh7bk
cJiNQ3y8XgrEZu1ujwjItWkybjQ/P8oN/Uy9vJBWf6e0iJ5wAT8RNyyf3+fwZn7V
qeZ5lsD9cIK6gdpP4mVRe6iMQU7o0CMO4vha+0hs7R+G9Zia3OaD2CqR/BDy2Wp5
WggvgvEaCYM0W8r9attN9NKZT/o/GZXUPyzlJjpJIx4SzHU+hnphzRH2g52FNs7T
W/Is3MUFR9K0DvdlvO4JFkj4qM1OmaKuMhDcot3al7aPOe8P4GggzxoTgcrcQ0KR
n8ikXlus0vPxt2XZIOJM+Tw9zp89rOiDrRZ6D7+xXqR/+o9kskM=
=7r3d
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.