[commercial] sendmail setup request

RW rwmaillists at googlemail.com
Wed Jul 11 22:54:04 UTC 2018

On Wed, 11 Jul 2018 09:36:22 +0700
Olivier wrote:

> RW via freebsd-questions <freebsd-questions at freebsd.org> writes:
> > 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.  
> That is not exacteky what I understood.
> I think that all the OP wants a way to "use mailx on his
> mailbiox". Because mailx does not rely on a network protocol, but
> rather only works on a mbox file local to the machine where mailx
> command is used, he needs a way to get the messages to the machine
> where he will be using the command mailx.

My understanding is that he wants to be able to ssh into an internet
accessible  remote server and read his mail, which is currently on a
remote IMAP server. 

As fetchmail would be downloading the mail on an internet accessible
server there's no need to leave copies on the IMAP server. Hence the
fetchmail 'keep' option is not relevant to the OP and neither are my
comments about it.

The reason I commented is that fetchmail gets more advocacy than it
deserves and I didn't want anyone to get the idea that running 
fetchmail --keep is a good idea, when it's practically unusable in
most common use cases. 

If you want to retrieve mail from an IMAP server and leave a copy
behind it's almost always better to either switch to getmail or work
around the problem by having a server-side filter file an extra
copy of each mail into a dedicated folder where fetchmail can retrieve
and delete.

More information about the freebsd-questions mailing list