* Marcelo Laia <[email protected]> [2016-06-15 21:00]:
> Em 15 de jun de 2016 15:41, "Peter P." <[email protected]> escreveu:
> >
> > I found out that the way lbdb collects the addresses from mails I send
> > from mutt via lbdb-fetchaddr will create an iso-8859-15 file unless
> > specified differently using the (-c) flag.
> > Please excuse the noise, and thanks.
> > Peter
>
> Hi,
>
> Have you solved the problem?
>
> Please, coul you share the solution?
Well I add the -c flag to lbdb-fetchaddr.
When I send mail from mutt I do it as follows:
In .muttrc I have
set sendmail="~/.mutt/mysendmail.sh"
and that script holds the line
#!/bin/bash
tee >(lbdb-fetchaddr -a -c utf8 -x "to:cc")|/home/peter/bin/msmtpq -a
account $@
which lets lbdb save all to: or cc: addresses to its database in utf8
encoding, which is the default locale on my system.