Re: Setting From header based on To header

2020-02-18 Thread Jens Mueller
Kevin J. McCarthy wrote:
> On Tue, Feb 18, 2020 at 10:47:31PM +0100, Jens Mueller wrote:
> > I was looking for a way to set the From header based on the To header
> > when replying in mutt.
>
> Check out $reverse_name and also $reverse_realname.  It requires the To or
> Cc address to match an entry in your alternates list.

This works. Thank you very much. I missed it somehow when searching the
manual.

Jens


Setting From header based on To header

2020-02-18 Thread Jens Mueller
Hi,

I have a mail account with aliased mail addresses, i.e., mails sent to
me.someth...@example.com, me.somethinge...@example.com, etc. are
delivered to m...@example.com. The To header indicates which alias an
email was sent to, e.g, me.someth...@example.com.
I was looking for a way to set the From header based on the To header
when replying in mutt. This way I could set From to
me.someth...@example.com when To was me.someth...@example.com.
But I couldn't find a way to achieve this when reading on the various
configuration settings regarding the From header. How could one approach
this?
Currently I edit the From header manually when composing the reply
message.

Jens


Add replied message status flag from sent messages

2019-12-02 Thread Jens Mueller
Dear list,

>From time to time I have to answer emails on my phone. But to integrate
these mails I configured the mail user agent on the phone to also copy
messages as BCC when I'm replying from the phone. I read about this
approach somewhere but I cannot find the reference anymore. On my
computer I filter these mails locally to put them in the folder for sent
messages. This way I can see all my sent messages in mutt.
Unfortunately mutt doesn't add the replied message status flag when the
reply mail is added to the sent messages. I thought it would be able to
do this by somehow matching up the Message-ID header and In-Reply-To
header. But maybe it's not mutt jobs but some other tool's.
Do you know of a way to achieve this? Because this way mutt would
indicate to me that I replied to a mail even though I did it on the
phone which is fine for me. I use the Maildir format.
I'm also interested in other approaches to use mutt as the primary mail
user agent but integrating mobile devices somehow. I prefer a setup
where my mail is kept locally on my computer.

Jens


Re: smtp_url with IPv6 address

2010-02-03 Thread Jens Mueller
> I need to send my mail via IPv6. That's why I want to specify an IPv6
> address in smtp_url. But unfortunately I cannot make it work. I tried
> 
> set smtp_url="smtps://[2001:dB8:::1]"
> 
> with and without the square brackets.
> But mutt cannot parse this. How does one specify this?
> Sadly, I cannot use dns names since the local network has no IPv6
> nameserver and the SMTP server is IPv6 only. Further I don't have root
> access.

A solution is to use a lightweight SMTP agent. I tried msmtp and it
works.

Jens


smtp_url with IPv6 address

2010-02-01 Thread Jens Mueller
Hi,

I need to send my mail via IPv6. That's why I want to specify an IPv6
address in smtp_url. But unfortunately I cannot make it work. I tried

set smtp_url="smtps://[2001:dB8:::1]"

with and without the square brackets.
But mutt cannot parse this. How does one specify this?
Sadly, I cannot use dns names since the local network has no IPv6
nameserver and the SMTP server is IPv6 only. Further I don't have root
access.

Jens