• Correcting typos in addresses

    From Keith Thompson@21:1/5 to bob prohaska on Sat Mar 23 15:40:55 2019
    bob prohaska <bp@www.zefox.net> writes:
    I have inadvertently made a few typos in addresses used in mutt,
    and unfortunately it now remembers and uses them, usually at times
    when I'm in a hurry and don't proofread the message closely.

    I've looked at the man pages and can't figure out where they live
    or how to evict them. I didn't do anything special to ask mutt to
    remember addresses, it seems to be a default behavior. This is on
    Mutt 1.5.24 (2015-08-30) running on FreeBSD-ARM (RPI2).

    Can somebody give me a hint?

    What exactly is it doing that tells you it's remembering addresses?

    When I send a message on the command line, I type
    mutt name@example.com
    and the shell doesn't do anything with the address (unless you
    have some kind of autocompletion in your shell). If I use the 'm'
    command from within mutt, it puts me into an editor where I can
    fill in the "To: " line; again my editor (vim) doesn't know about
    email addresses.

    It will expand aliases if I save from the editor and then use 'e'
    to re-edit, but as far as I know the only aliases it recognizes
    are set from my .muttrc.

    (I tried to use strace to find out what files it opens, but it hung
    for some reason and didn't tell me anything useful.)

    --
    Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst> Will write code for food.
    void Void(void) { Void(); } /* The recursive call of the void */

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From bob prohaska@21:1/5 to All on Sat Mar 23 22:16:47 2019
    I have inadvertently made a few typos in addresses used in mutt,
    and unfortunately it now remembers and uses them, usually at times
    when I'm in a hurry and don't proofread the message closely.

    I've looked at the man pages and can't figure out where they live
    or how to evict them. I didn't do anything special to ask mutt to
    remember addresses, it seems to be a default behavior. This is on
    Mutt 1.5.24 (2015-08-30) running on FreeBSD-ARM (RPI2).

    Can somebody give me a hint?

    Thanks for reading,

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eef Hartman@21:1/5 to bob prohaska on Sat Mar 23 23:35:38 2019
    bob prohaska <bp@www.zefox.net> wrote:
    Can somebody give me a hint?

    The normal name is $HOME/.mutthistory, but look at the "historyfile"
    setting in your global config for mutt (often /etc/Muttrc).
    BTW: the number of history entries remembered is set there too.

    History is stored by mutt in several different catagories (like E-mail
    address, subject, etc).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From bob prohaska@21:1/5 to Eef Hartman on Sun Mar 24 01:40:06 2019
    Eef Hartman <E.J.M.Hartman@gmail.com> wrote:
    bob prohaska <bp@www.zefox.net> wrote:
    Can somebody give me a hint?

    The normal name is $HOME/.mutthistory, but look at the "historyfile"
    setting in your global config for mutt (often /etc/Muttrc).
    BTW: the number of history entries remembered is set there too.

    History is stored by mutt in several different catagories (like E-mail address, subject, etc).

    There's nothing in my home directory, nor in /etc/, that appears related
    to mutt. Moreover, when I try to reproduce the "error" I can't. When I type
    a partial address that's what I get. Looks like the typos are fresh each time......8-(

    I'll watch more carefully, but I think this is operator error.


    Apologies and thanks for reading!

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From bob prohaska@21:1/5 to Keith Thompson on Sun Mar 24 01:31:29 2019
    Keith Thompson <kst-u@mib.org> wrote:
    bob prohaska <bp@www.zefox.net> writes:
    I have inadvertently made a few typos in addresses used in mutt,
    and unfortunately it now remembers and uses them, usually at times
    when I'm in a hurry and don't proofread the message closely.

    I've looked at the man pages and can't figure out where they live
    or how to evict them. I didn't do anything special to ask mutt to
    remember addresses, it seems to be a default behavior. This is on
    Mutt 1.5.24 (2015-08-30) running on FreeBSD-ARM (RPI2).

    Can somebody give me a hint?

    What exactly is it doing that tells you it's remembering addresses?


    I had the firm impression that it was completing partial addresses
    that I typed.

    When I tried now to reproduce the effect, the most it would do
    is append the local hostname to a recipient that didn't contain @.


    When I send a message on the command line, I type
    mutt name@example.com
    and the shell doesn't do anything with the address (unless you
    have some kind of autocompletion in your shell). If I use the 'm'
    command from within mutt, it puts me into an editor where I can
    fill in the "To: " line; again my editor (vim) doesn't know about
    email addresses.

    It will expand aliases if I save from the editor and then use 'e'
    to re-edit, but as far as I know the only aliases it recognizes
    are set from my .muttrc.

    There's no .muttrc in my home directory, and now that I try to reproduce
    the problem I'm failing.

    This is starting to look like a wetware problem....

    Sorry!

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eef Hartman@21:1/5 to bob prohaska on Sun Mar 24 08:35:10 2019
    bob prohaska <bp@www.zefox.net> wrote:
    There's no .muttrc in my home directory,

    Depending on the version of mutt there may be a .mutt OR a
    .config/mutt directory INSIDE your home directory.
    The config file then is in it, named muttrc without the leading .

    And in /etc there can be a /etc/mutt directory too, the global
    config in there is named Muttrc with an upper case M

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Uplawski@21:1/5 to bob prohaska on Sun Mar 24 14:51:57 2019
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA512

    On Sun, 24 Mar 2019 01:40:06 +0000 (UTC),
    bob prohaska <bp@www.zefox.net> wrote:

    There's nothing in my home directory, nor in /etc/, that appears related
    to mutt.

    Before we start worrying about other things than address-completion, can
    you confirm that you use other programs to fetch and send mail, like
    exim for sending and fetchmail for fetching?

    If not, i.e. if Mutt did all that for you, then the configuration has
    been deleted in the meantime and you have work to do.

    Cheerio.
    - --
    GnuPG brainpoolP512r1/5C2A258D 2015-10-02 [expires: 2018-09-28]
    sub brainpoolP512r1/53461AFA 2015-10-02 [expires: 2018-09-28]

    -----BEGIN PGP SIGNATURE-----

    iQGzBAEBCgAdFiEEw2KIzQVx1xsNdkKhaI/pZnCKAy4FAlyXi3UACgkQaI/pZnCK Ay7xXgv/fD2pf5nkorTf04UbmYjPkUB/XmxNaaBDmEbnWIegUzgXGk3/zVPABYhe vBjig/vDUM5JBFUGHU9w3iQcopa8y6j10RE7wbhvXL5vvfvPQSuUOt1HHZxDZGqu QrayTxWfsBWoukbGCbjp4+bkXMJ0LZjHdcwMa/nnIs+aykx8bvKHCqMqLuY1xn58 Jv5vdozBrmU4ink6qoVSz2Fpo22SpA8lvCQBceK3VbrEKwVYcgSRWWHylwHOCxgq h9TQGjppup9rsx5gEM6vEkco7nVgsxhynmNwiN7G6JvxXSSroMn5tCTRuNqBZoai gE5GRUGpg1KO3gnf1TEw3HtFcQRnozb23mwbf9mzFTBXZgySOffXZLki2458PLAz E27r/1zei6ygo3PsMPn+y7D9W+UtwWv0z9tSbrb20wwUpQhNabBPy4Yjjx7cb3U6 M1aEZ4XiN/bsoGwkki8WXAZr/tPfDrpMB947sxHhY398xSpdzcKFSFgD9zoQQ75P
    0mSGGelJ
    =RSpY
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From bob prohaska@21:1/5 to Michael Uplawski on Mon Mar 25 03:09:15 2019
    Michael Uplawski <michael.uplawski@uplawski.eu> wrote:
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA512

    On Sun, 24 Mar 2019 01:40:06 +0000 (UTC),
    bob prohaska <bp@www.zefox.net> wrote:

    There's nothing in my home directory, nor in /etc/, that appears related
    to mutt.

    Before we start worrying about other things than address-completion, can
    you confirm that you use other programs to fetch and send mail, like
    exim for sending and fetchmail for fetching?

    If not, i.e. if Mutt did all that for you, then the configuration has
    been deleted in the meantime and you have work to do.


    To back up a little, the system is FreeBSD 11.1-STABLE #0 r329611,
    running on a Raspberry Pi 2B. The MTA is sendmail, in whatever state
    the FreeBSD project supplies. No customization, it works out of the box.

    I used (n)mh for years, but after migrating my home directory to the Pi
    it turned out that nmh wouldn't compile from ports, so I tried mutt
    (from the ports collection) and found that it worked perfectly and
    was very easy to use. I didn't have to configure anything, it just
    worked.

    Eventually FreeBSD's nmh port started to compile on arm. I read and
    send mail in mutt, periodically saving mail I want to keep using
    nmh's inc command. Recent mail is handled with mutt, archived mail
    with nmh.

    Just for fun I ran
    find / -name \*mutt\* -depth -print
    as root. Lots of files with mutt in the name turned up, but
    nothing that looks like an active config file appears. The
    nearest misses are
    usr/local/share/examples/mutt/sample.muttrc /usr/local/share/examples/mutt/sample.muttrc-tlr

    Is it possible for mutt to use (n)mh config files,
    which _are_ present?

    Thanks for reading!

    bob prohaska

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)