~rjarry/aerc-discuss

1

Using aliases

Details
Message ID
<D1ARY0GWYVE8.2ZFDKSC85UY73@tjex.net>
DKIM signature
pass
Download raw message
To send and reply from aliases:

The aliases need to be entered as values for "aliases" in accounts.conf (see 
`man aerc-accounts`). Once aliases are entered here, replying to emails 
addressed to them will result in the 'from' header being correctly filled with 
the alias address (you).

Also in accounts.conf set 'outgoing' to `msmtp --read-envelope-from`. This reads 
the addresses from the 'from' header, and looks up the entry in msmtp conf. Also 
in `man aerc-accounts`.

The aliases also need to be defined in msmtp conf (via inheritance) eg:

```text
account main@email.org
host ...
port ...
from ...
user ...
passwordeval "..."
... etc

account alias@email.org : main@email.org
from alias@email.org
```

this setup can be seen in bence's aerc config: 
https://github.com/ferdinandyb/dotfiles/tree/master/.config/aerc
Nicolas Goy <me@kuon.ch>
Details
Message ID
<D1B4WGN8EBI6.58FXB3TBHDQ0@kuon.ch>
In-Reply-To
<D1ARY0GWYVE8.2ZFDKSC85UY73@tjex.net> (view parent)
DKIM signature
pass
Download raw message
On Thu May 16, 2024 at 6:12 AM CEST, tjex wrote:
> To send and reply from aliases:
>
> The aliases need to be entered as values for "aliases" in accounts.conf (see 
> `man aerc-accounts`). Once aliases are entered here, replying to emails 
> addressed to them will result in the 'from' header being correctly filled with 
> the alias address (you).
>
> Also in accounts.conf set 'outgoing' to `msmtp --read-envelope-from`. This reads 
> the addresses from the 'from' header, and looks up the entry in msmtp conf. Also 
> in `man aerc-accounts`.
>

I was missing the msmtp part, it works now. Thanks.


-- 
Nicolas Goy
Developer and electronic engineer
Goyman SA

https://kuon.ch
https://goyman.com
Reply to thread Export thread (mbox)