Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2018 23:53:57 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: [commercial] sendmail setup request
Message-ID:  <20180711235357.4fd62b47@gumby.homeunix.com>
In-Reply-To: <wu78t6i1ot5.fsf@banyan.cs.ait.ac.th>
References:  <20180710184032.55346a5d@gumby.homeunix.com> <wu78t6i1ot5.fsf@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 11 Jul 2018 09:36:22 +0700
Olivier wrote:

> RW via freebsd-questions <freebsd-questions@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.








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