Re: Using several SMTP servers

2022-08-12 Thread Daniel Tameling
On Fri, Aug 12, 2022 at 03:58:02PM +, Sam Kuper wrote:
> -   Test/tweak/re-test msmtp until working.  (E.g. using Mutt or GNU
> Mailutils's `mail` command to send emails from the command-line,
> with relevant command-line options set so as to ensure that msmtp is
> used as the MTA).  Hopefully it would work first time, if configured
> correctly and if your computer has a suitable internet connection.

You can check whether msmtp is working with just the echo command. See the
"Test functionality" section at https://wiki.archlinux.org/title/msmtp

The whole page is valuable if your starting with msmtp.

--
Best regards,
Daniel


Re: muttrc for gmx.com emails

2022-08-05 Thread Daniel Tameling
Hi,

> Also I haven't figured out how to save a copy of my sent meil to my
> gmx sent filder.

I also had this problem when adapting my mutt configuration from gmail to 
gmx.de.
(I download the mail with mbsync instead of using imap in mutt, but this should 
still apply)
I had to add this to my configuration:

set copy="yes"
set record="+Gesendet"

You just need to find out, what your sent folder is called and use that in 
record.

btw: at least the German gmx uses a flat folder structure. So I don't need the 
[GMX]/ you have in your config. 

> I can receive gmx.com mail, I can send gmx.com mail, but when starting
> mutt, I have to change folders to INBOX.

Did you try

set spoolfile=+INBOX

-- 
Best,
Daniel


Re: Why uw.edu not accepted my signed email?

2021-11-17 Thread Daniel Tameling
On Tue, Nov 16, 2021 at 04:36:43PM -0500, Andrew D. Arenson wrote:
>   I receive email using IMAP via a davmail process that in turn interacts 
> with Indiana University's Office 365 Exchange instance.

If you use davmail, you don't have to use TLS for sendmail: "SSL is not 
necessary when DavMail is used in workstation mode, as communication between 
clients and DavMail remain local. However, in server (shared) mode e.g. with a 
smartphone connecting to DavMail over the internet, you should make sure 
encryption is enabled." (http://davmail.sourceforge.net/sslsetup.html)

If you want to use TLS, the link contains also information on how to set that 
up.

The TLS connection between davmail and the Exchange server is taken care of by 
davmail itself and it seems to be working in your setup as you can read emails 
through davmail.

Personally I use msmtp instead of sendmail. I'm currently not at my work 
notebook but a quick google search turned up this with a .msmtprc that looks 
reasonable: https://cstan.io/?p=8790=en

It shouldn't be too much work to set that up in case you want to try it in 
order to be sure your setup is otherwise correct.

-- 
Best regards,
Daniel