Re: Muttrc example needed POP3/SMTP

2017-02-04 Thread sunrise
Thank you for all your replies and suggestions - they were greatly appreciated.

I am using dial-up email and would like to setup a cron job to 1) Dial in to 
the server,
2) Retrieve any messages (probably via getmail4 or similar) and 3) Send any 
queued
messages. So I'm looking into using msmtpq (a script for use with msmtp) with 
mutt.

Are there any suggestions for which MTA would be most suitable for this purpose 
(sending
queued messages on a system that is not online when composing messages)?

Thanks.



On Fri, 3 Feb 2017 21:31:33 +1100
Erik Christiansen  wrote:

>On 03.02.17 09:47, Chris Green wrote:
>> ... and if you're on a distribution where Postfix is the standard
>> that's also pretty easy to set up.  I personally prefer Postfix from
>> the ease of configuration point of view.
>
>+1
>
>(It also has a Sendmail compatibility interface, so that we old folks
>could move over painlessly. But now my muscle memory is Postfix oriented.)
>
>> I use Postfix and both send and receive mail using SMTP as my desktop
>> machine is on all the time.  Thus I have no need for POP3/IMAP mail
>> collection.
>
>As my machine is shut down each night, I use fetchmail to bring mail in
>via POP3. It has served me well for several decades now.
>
>Erik


Re: Muttrc example needed POP3/SMTP

2017-02-04 Thread sunrise
Thanks for your input; I will definitely be looking at the possibility of
using offlineimap. I am on a dial up connection - does offlineimap handle 
dropped
connections well?

Thanks again.


On Fri, 3 Feb 2017 21:57:21 + (UTC)
Arkadiusz Drabczyk <arkadi...@drabczyk.org> wrote:

>On 2017-02-03, sunrise <sunr...@emypeople.net> wrote:
>> I would like to start using mutt but am somewhat intimidated by all the 
>> possible
>> options in the muttrc config file. Would someone be willing to provide me 
>> with a basic
>> muttrc I could use to get started?
>>
>> Here is what I'm looking for:
>>
>> * POP3 (one provider) for retrieving messages
>
>I'd just like to add that these days you should give IMAP a try - I
>find better than POP3 because it automatically synchronizes
>everything.  It's easy to use with mutt as well.
>
>For example, I use offlineimap as the IMAP client on my Slackware box
>and K9Mail e-mail client on my phone.  When I mark a message as read
>on my phone it's automatically marked as read when downloaded with
>offlineimap in mutt, when I send a message on either device it's
>automatically shown in Sent folder on both devices, and when I move a
>a message to a given folder or delete a message it's automatically
>synchronized on both devices.  It's very convenient, especially if get
>a lot of mail.


Re: Muttrc example needed POP3/SMTP

2017-02-02 Thread sunrise


On Fri, 3 Feb 2017 04:15:23 +0100
Francesco Ariis <fa...@ariis.it> wrote:

>On Thu, Feb 02, 2017 at 08:44:34PM -0600, sunrise wrote:
>> I would like to start using mutt but am somewhat intimidated by all the 
>> possible
>> options in the muttrc config file. Would someone be willing to provide me 
>> with a basic
>> muttrc I could use to get started?
>
>This is what I have:
>
>set mbox_type=Maildir
>set folder="~/mail"
>set mask="!^\\.[^.]"
>
>mailboxes "+inbox" # ~/mail/inbox
>
>set record="+sent" # ~/mail/sent
>set postponed="+drafts" # etc.
>set trash="+trash"
>
>set realname="Plato"
>
>set envelope_from=yes
>set sendmail="msmtp -C /home/f/cfg/msmtp/msmtpall"
># msmtp is small, efficient and easy to configure
>
>macro generic \e0 'bash -ic "k echo Checking mail...; getmail -g
>~/cfg/getmail -r getmailconf; echo over"'
># alt-0 to download messages
>
>
>Mutt is a client, so you will have to configure msmtp and getmail yourself
>(they are easy enough). If you need more help fire again in the mailing
>list and please consider updating the wiki with your use case when
>you succeed.


Thanks a lot for both replies; I feel I am now several steps closer to getting 
a working
system. I already had getmail set up but didn't have msmtp installed.

One question I still have is: What are the advantages of using getmail and 
msmtp versus
using mutt's built in POP3 and SMTP capabilities?

Thank you for your time.


Muttrc example needed POP3/SMTP

2017-02-02 Thread sunrise
I would like to start using mutt but am somewhat intimidated by all the 
possible options
in the muttrc config file. Would someone be willing to provide me with a basic 
muttrc I
could use to get started?

Here is what I'm looking for:

* POP3 (one provider) for retrieving messages
* SMTP for sending
* Mail stored in maildir format in $HOME

Using Mutt 1.5.21

Thanks!