On 2018-02-23, ed...@pettijohn-web.com <ed...@pettijohn-web.com> wrote: > > On Feb 22, 2018 9:44 PM, mazocomp <mazoc...@disroot.org> wrote: >> >> On Thu, Feb 22, 2018 at 08:36:49PM -0600, Edgar Pettijohn wrote: >> > However, with this setup you should be able to just use sendbug(1). >> > >> > sendbug will envoke sendmail aka smtpctl and then submit it your local >> > smtpd >> > who will then relay it via gmail. >> >> Hi! >> >> Excuse me for ignorant question below. I don't have external server, so >> I use remote e-mail provider: I configured mutt to fetch mail via IMAP >> and send mail via SMTP. >> >> My question is if I'll use only base utilities (for example, mail(1)), >> with that configuration I will only be able to send mail, but not >> receive it, won't I? (I hope there is a way to use mail(1) without >> having external server) >> > > To my knowledge there is nothing in base to fetch from an imap/pop server. > However, there are some utilities in ports that do. But if you're > going to go that route you may as well just use mutt in my humble > opinion.
I would recommend fdm (in packages) if you need to fetch from an IMAP/POP server to a local mail file or maildir. For sending via a remote provider you can configure smtpd to handle SMTP authentication for sending, there's an example in the manual.