<<< Date Index >>>     <<< Thread Index >>>

Re: questions regarding mutt as newsreader



Hello Rocco,

Rocco [19.Mär.2009 13:25]:

You probably want something like:

     folder-hook . 'set record="^"'
     folder-hook ^news 'set record="=articles"'

which would store all copies of outgoing articles to $folder/articles
mailbox.

Your suggestion works perfectly, thank you!

folder-hook is the right one to use but the order matters. What's the
order you tried? You can also try to use the URL from the above error
message as that's apparently the folder URL:

      folder-hook newss://user@xxxxxxxxxxxxxxxxxxx:563 ...

The order in which my hooks were defined was:

        folder-hook . 'set record="^"'
        ...
        folder-hook newss://news.motzarella.org 'set record="!"'

I then went from defining a folder-hook to just setting

        set record = '^'

in muttrc, above all hooks.

I understand that the latter hook should replace the previous one, so I
put all my folder-wide settings above all, then change some
individually.

What nntp patch do you use? (mutt -v should tell you)

Have a look at the end of this message for the output.

There is another thing that came to my attention. In order to post with
a valid message-id I need to set the hostname to

        set hostname = 'mysubdomain.motzarella.org'

If I do that close to the beginning of my muttrc, all is fine. But if I
try to define that closer to the end of muttrc, the hostname will keep
the system default setting. Which variable is causing that, since I
define 'hostname=sample.name' just once (either at the top or at the
bottom of muttrc)?

This is basically what I get from 'mutt -v' (although no version-number
of an nntp-patch, as far as I gather):

-----8<-----
Mutt 1.5.16 (2007-06-09)
System: Linux 2.6.22-gentoo-r10 (i686)
ncurses: ncurses 5.6.20061217 (compiled with 5.6)
-DOMAIN
-DEBUG
+HOMESPOOL -USE_SETGID +USE_DOTLOCK +DL_STANDALONE -USE_FCNTL +USE_FLOCK -USE_INODESORT +USE_POP +USE_NNTP +USE_IMAP +USE_SMTP -USE_GSS +USE_SSL_OPENSSL -USE_SSL_GNUTLS -USE_SASL +HAVE_GETADDRINFO -HAVE_REGCOMP +USE_GNU_REGEX +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME -EXACT_ADDRESS -SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +COMPRESSED +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS -HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE -ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="Maildir"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc/mutt"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"

vvv.nntp
patch-1.5.6.dw.pgp-timeout.1
patch-1.5.6.dw.mbox-hook.1
patch-1.5.16.rr.compressed.1
patch-1.5.4.lpr.collapse_flagged Lukas P. Ruf <lukas.ruf@xxxxxx>
-----8<-----

Thank you for your help so far!


JP

--
Time flies like the wind, but fruit flies like bananas.