Re: strange characters in lbdb file make mutt throw "standard input "
* Peter P.[06-15-16 16:32]: > * Marcelo Laia [2016-06-15 21:00]: > > Em 15 de jun de 2016 15:41, "Peter P." 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. there is also /usr/bin/lbdb-fetchaddr which contains the line: additional_param="" where it can be added. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535@ http://linuxcounter.net
Re: strange characters in lbdb file make mutt throw "standard input "
* Marcelo Laia[2016-06-15 21:00]: > Em 15 de jun de 2016 15:41, "Peter P." 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.
[SPAM?] Re: [SPAM?] strange characters in lbdb file make mutt throw "standard input "
Hi list, (replying to myself below) * Peter P.[2016-06-15 19:47]: > Hi list, > > as the subject says, I am trying to query the little brother database > (lbdb) for an email address that contains a german umlaut in its > realname. While querying the database from bash works somehow (using the > lbdbq command) and only replacing the umlaut with a question mark > symbol, the query function from within mutt throws > "standard input ". 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
[SPAM?] strange characters in lbdb file make mutt throw "standard input "
Hi list, as the subject says, I am trying to query the little brother database (lbdb) for an email address that contains a german umlaut in its realname. While querying the database from bash works somehow (using the lbdbq command) and only replacing the umlaut with a question mark symbol, the query function from within mutt throws "standard input ". This error message sounds a lot like grep, and I suspect mutt (or lbdb) to just grep the database file when searching. Now grep has flag (-a) that forces it to treat the input file(s) as ascii whatsoever and I am wondering if mutt could at least use that one to query lbdb? Nevertheless, if someone has an idea how lbdb could handle non-standard characters in realnames of email addresses I would be delighted to know. best, Peter