Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2018 18:40:32 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: [commercial] sendmail setup request
Message-ID:  <20180710184032.55346a5d@gumby.homeunix.com>
In-Reply-To: <20180709083526.c4b4924f.freebsd@edvax.de>
References:  <6e21b74531c2b6ca7ca89cfc37add6a2@kathe.in> <wu7h8l90xxm.fsf@banyan.cs.ait.ac.th> <20180709083526.c4b4924f.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 9 Jul 2018 08:35:26 +0200
Polytropon wrote:



> but fetchmail can "copy" messages, i. e., leave them on the server,
> and upon invocation, only load the unread messages). Check
> "man fetchmail" for the keep / nokeep keyword.

It's already been clarified that the fetchmail instance would also be
remote, so this doesn't apply to the OP, but for the record, getmail
handles the above better.

With IMAP fetchmail handles 'download and leave on server' through the
IMAP '/SEEN' flag, it downloads unread mail, marking everything it
downloads as read. This has two obvious flaws, anything you read
online wont get downloaded, and anything that's downloaded gets marked
as read on the server.

getmail keeps track of what it's downloaded using timestamped
UID+UIDVALIDITY pairs, so:

1. it downloads reliably

2. it wont mark your IMAP mail as read (unless you want it to)    

3. it supports an option to delete server-side mail N days
   after download.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180710184032.55346a5d>