Hi Christoph,

On Fri, Oct 17, 2008 at 10:45 PM, Christoph Berg <[EMAIL PROTECTED]> wrote:
> tags 502105 moreinfo
> thanks
>
> Re: Ennio Sr 2008-10-13 <[EMAIL PROTECTED]>
>> I've just upgraded my Debian distro from Etch to Lenny.
>> When I pressed 'y' to send a message written with mutt (from console) I
>> got the warning:
>> >>>>>> Bad IDN in "from:" ...(username)..[at]tin.it <<<<<<
>> which prevented me to send the message. I could however 'postpone' the
>> message and quit mutt.
>
> Hi,
>
> could you send the uncloaked error message in full, as well as your
> $from and relevant my_hdr settings so we have a chance to debug this?
>
> As Frank already said, I suspect a badly encoded config file to be the
> culprit.
>
> Christoph
> --
> [EMAIL PROTECTED] | http://www.df7cb.de/
>
The original error line was:
Bad IDN in "from":  'tin.it'

Here follow details of my root and user locales, main Muttrc and user
.muttrc. As I told Frank, I did try with different locales but got
always the same result, so went back again to previous mutt version.
[I'm writing this message from gmail as my [EMAIL PROTECTED] address
seems to have been blacklisted at debian.org].
Thanks for your attention.
Regards,
               Ennio

--------------------------
# root# locale
LANG=en_GB.UTF-8
LANGUAGE=en_IT:en_US:en_GB:en
LC_CTYPE="it_IT.ISO-8859-1"
LC_NUMERIC="it_IT.ISO-8859-1"
LC_TIME="it_IT.ISO-8859-1"
LC_COLLATE="it_IT.ISO-8859-1"
LC_MONETARY="it_IT.ISO-8859-1"
LC_MESSAGES="it_IT.ISO-8859-1"
LC_PAPER="it_IT.ISO-8859-1"
LC_NAME="it_IT.ISO-8859-1"
LC_ADDRESS="it_IT.ISO-8859-1"
LC_TELEPHONE="it_IT.ISO-8859-1"
LC_MEASUREMENT="it_IT.ISO-8859-1"
LC_IDENTIFICATION="it_IT.ISO-8859-1"
LC_ALL=it_IT.ISO-8859-1

# root# less /etc/Muttrc | grep -v '#'

ignore "from " received content- mime-version status x-status message-id
ignore sender references return-path lines
ignore date delivered-to precedence errors-to in-reply-to user-agent
ignore x-loop x-sender x-mailer x-msmail-priority x-mimeole x-ms- x-priority
ignore x-accept-language x-authentication-warning thread- priority importance
ignore x-original-to domainkey-signature dkim-signature
bind editor    "\e<delete>"    kill-word
bind editor    "\e<backspace>" kill-word
bind editor     <delete>  delete-char
unset use_domain
unset use_from
set sort=threads
unset write_bcc
unset bounce_delivered
macro index \eb "<search>~b " "search in message bodies"

macro index,pager \cb "<pipe-message> urlview<Enter>" "call urlview to
extract URLs out of a message"
macro attach,compose \cb "<pipe-entry> urlview<Enter>" "call urlview
to extract URLs out of a message"
macro generic <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz |
sensible-pager\n" "Show Mutt documentation"
macro index   <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz |
sensible-pager\n" "Show Mutt documentation"
macro pager   <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz |
sensible-pager\n" "Show Mutt documentation"

open-hook       \\.gz$ "gzip -cd %f > %t"
close-hook      \\.gz$ "gzip -c %t > %f"
append-hook     \\.gz$ "gzip -c %t >> %f"
open-hook       \\.bz2$ "bzip2 -cd %f > %t"
close-hook      \\.bz2$ "bzip2 -c %t > %f"
append-hook     \\.bz2$ "bzip2 -c %t >> %f"
macro index,pager y "<change-folder>?<toggle-mailboxes>" "show
incoming mailboxes list"
bind browser y exit
attachments   +A */.*
attachments   -A text/x-vcard application/pgp.*
attachments   -A application/x-pkcs7-.*
attachments   +I text/plain
attachments   -A message/external-body
attachments   -I message/external-body
color normal    white black
color attachment brightyellow black
color hdrdefault cyan black
color indicator black cyan
color markers   brightred black
color quoted    green black
color signature cyan black
color status    brightgreen blue
color tilde     blue black
color tree      red black
set pgp_decode_command="gpg --status-fd=2 %?p?--passphrase-fd 0?
--no-verbose --quiet --batch --output - %f"
set pgp_verify_command="gpg   --status-fd=2 --no-verbose --quiet
--batch  --output - --verify %s %f"
set pgp_decrypt_command="gpg   --status-fd=2 %?p?--passphrase-fd 0?
--no-verbose --quiet  --batch  --output - %f"
set pgp_sign_command="gpg    --no-verbose --batch --quiet   --output -
%?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output -
%?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg --batch
--quiet --no-verbose --output - --encrypt --textmode --armor
--always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg
%?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode
--output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r
-- %f"
set pgp_import_command="gpg  --no-verbose --import %f"
set pgp_export_command="gpg   --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg   --verbose --batch  --fingerprint
--check-sigs %r"
set pgp_list_pubring_command="gpg   --no-verbose --batch --quiet
--with-colons --list-keys %r"
set pgp_list_secring_command="gpg   --no-verbose --batch --quiet
--with-colons --list-secret-keys %r"
set pgp_good_sign="^\\[GNUPG:\\] GOODSIG"

set smime_ca_location="~/.smime/ca-bundle.crt"
set smime_certificates="~/.smime/certificates"
set smime_keys="~/.smime/keys"
set smime_pk7out_command="openssl smime -verify -in %f -noverify -pk7out"
set smime_get_cert_command="openssl pkcs7 -print_certs -in %f"
set smime_get_signer_cert_command="openssl smime -verify -in %f
-noverify -signer %c -out /dev/null"
set smime_get_cert_email_command="openssl x509 -in %f -noout -email"
set smime_import_cert_command="smime_keys add_cert %f"
set smime_encrypt_command="openssl smime -encrypt %a -outform DER -in %f %c"
set smime_sign_command="openssl smime -sign -signer %c -inkey %k
-passin stdin -in %f -certfile %i -outform DER"
set smime_decrypt_command="openssl smime -decrypt -passin stdin
-inform DER -in %f -inkey %k -recip %c"
set smime_verify_command="openssl smime -verify -inform DER -in %s %C
-content %f"
set smime_verify_opaque_command="openssl smime -verify -inform DER -in %s %C"

set mixmaster="mixmaster-filter"

source /usr/lib/mutt/source-muttrc.d|

# [EMAIL PROTECTED]:~$ locale
LANG=it_IT
LANGUAGE=en_IT:en_US:en_GB:en
LC_CTYPE="it_IT"
LC_NUMERIC="it_IT"
LC_TIME="it_IT"
LC_COLLATE="it_IT"
LC_MONETARY="it_IT"
LC_MESSAGES="it_IT"
LC_PAPER="it_IT"
LC_NAME="it_IT"
LC_ADDRESS="it_IT"
LC_TELEPHONE="it_IT"
LC_MEASUREMENT="it_IT"
LC_IDENTIFICATION="it_IT"
LC_ALL=it_IT

# [EMAIL PROTECTED]:~$ less .muttrc | grep -v '#'

alternates  "... omissis ..."
set use_from = n
set user_agent = n
set hdrs = yes
unhdr_order *
hdr_order Date: From: To: CC: BCC: Subject: Reply-To:
unhdr_order *
hdr_order Subject: From: Reply-To: Date: To: CC: BCC: Organization: \
ignore *
unignore Date: From: To: CC: BCC: Subject: Reply-To
set folder = $HOME/Mail/
set spoolfile = +incoming
set mask = ".*"
set mbox = "+Read/read-`date +%m-%Y`"
set confirmcreate = no
set mbox_type = mbox
set alias_file = +.Mutt/mutt_aliases
source $alias_file
set reverse_alias = yes
set locale = "it_IT.ISO-8859-1"
set charset = iso-8859-15
set send_charset = us-ascii:iso-8859-1:iso-8859-15:utf-8
set date_format = "%d%m%y, %H:%M"
set default_hook = "~f %s !~P | (~P ~C %s)"

unhook *
send-hook .    'my_hdr From: Ennio-Sr <[EMAIL PROTECTED]> ; \ ...
send-hook [EMAIL PROTECTED] \
                   'my_hdr From: Ennio-Sr <[EMAIL PROTECTED]> ; ...
                   .....
send-hook [EMAIL PROTECTED] \
                   'my_hdr From: Ennio-Sr <[EMAIL PROTECTED]> ; \
                   ....         
send-hook [EMAIL PROTECTED] \
                   'my_hdr From: Ennio-Sr <[EMAIL PROTECTED]> ; \
                   ....

set ...omissis...

set mailcap_path =
~/.mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap

...omissis...

macro index \ek "| formail -x From: | addysort >> ~/Mail/.Pm/black.lst\n"
macro pager \ek "| formail -x From: | addysort >> ~/Mail/.Pm/black.lst\n"

set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose
--batch --output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch
--output - %f"
set pgp_sign_command="gpg --no-verbose --batch --output -
--passphrase-fd 0 --armor \
    --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output -
--passphrase-fd 0 \
    --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg -v --batch --output - \
    --encrypt --textmode --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg
--passphrase-fd 0 -v --batch \
    --output - --encrypt --sign %?a?-u %a? --armor --always-trust --
-r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint
--check-sigs %r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons
--list-keys %r"
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons
--list-secret-keys %r"
set pgp_getkeys_command=""

mono and colors ... omissis ...

charset-hook US-ASCII     ISO-8859-1
charset-hook x-unknown    ISO-8859-1
charset-hook windows-1250 CP1250
charset-hook windows-1251 CP1251
charset-hook windows-1252 CP1252
charset-hook windows-1253 CP1253
charset-hook windows-1254 CP1254
charset-hook windows-1255 CP1255
charset-hook windows-1256 CP1256
charset-hook windows-1257 CP1257
charset-hook windows-1258 CP1258

iconv-hook iso-8859-1 8859-1

auto_view text/html application/msword
auto_view jpeg/jpg/mpeg/mpg application/image/jpeg
alternative_order text/plain text/enriched text/html

---------------------------------------

-- 
[Perche' usare Win$ozz (dico io) se ..."anche uno sciocco sa farlo.   \\?//
 Fa' qualche cosa di cui non sei capace!"  (diceva Henry Miller) ]    (°|°)
[Why use Win$ozz (I say) if ... "even a fool can do that.              )=(
 Do something you aren't good at!" (as Henry Miller used to say) ]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to