Re: send-hook problem

2001-01-08 Thread Peter Dobrev

On Monday, January 08, 2001 at 06:36:55PM, Wilhelm Wienemann wrote:
 Hello Peter!
 
 On Mon, 08 Jan 2001, Peter Dobrev wrote:
 
  ?? 07 ?? 2001?. (??) ? 20:14 , Martin ??:
   On Sunday, January 07, 2001 (CS:7.01.007) 17:38:37 [PM] (-0200)
   Peter Dobrev [[EMAIL PROTECTED]] wrote...
   
after the sending of the message. I think that if making a send-hook
for all the other (non-added in already existing send-hook) e-mails should
do it but I don't know how? I tried to add the content of the future
   
   Try this
   send-hook . *your default send-hook here*
   send-hook somepattern *somepattern send-hook here*
  Well... I tried but still the sam effect :-(
  Here is a part of my .muttrc
  
  unhook *
  set default_hook="~t %s"
  send-hook . source ~/mutt/.mutt_identity
  send-hook [EMAIL PROTECTED] source ~/mutt/.mutt_identity_bg
  
  When I send a mail to [EMAIL PROTECTED] all the stuff goes in
  Bulgarian (the headers, the locales, the signatures etc.) because of the
  send-hook. And when I try to send a mail to [EMAIL PROTECTED] the stuff is
  still in Bulgarian.. so the send-hook . source ~/mutt/.mutt_identity is not
  working in that case :(. Do you have some other suggestions?
 
 Maybe this in your '.muttrc' will help you:
 
 --- cut here  -
 #set signature='~/.sig/generic_signature'   # Signature (See send-hook!)
 ^
 
 set locale="bg_BG"  # locale settings (See send-hook section for changes!)
 
 set attribution='On %{%a, %d %b %Y}, %n wrote:\n'
 # Default Reply-Intro (See send-hook for changes!)
   ^^^
 #
 # send-hook regexp command
 # (execute command, if regexp matches recipients of the message)
 # (multiple regexp-matches are executed in the given order!)
 #
 #
 # only match "To" address for send-hooks:
 #
 set default_hook="~t %s"
 
 # First we define some defaults (english):
 send-hook . \
 "set signature=~/.sig/signature1 \
  locale=C \
  attribution='Hello %v!\n\nOn %{%a, %d %b %Y}, %n wrote:\n'"
    # On Mon, 08 Jan 2001, Peter Dobrev wrote:
 
 # Bulgarian specials:
 send-hook [.@](bg(sophia)\\.net)$ \
 "set signature=~/.Sig/bg_signature5 \
  locale=bg_BG \
  attribution='Hello_in_the_bulgarian_language %v!\n\n%n 
wrote_in_the_bulgarian_language %{%A, %d. %B %Y}:\n'"
 
 # Special signature/attribution/locale for robots:
 send-hook 
^(majordomo|pgp|newsupd|gup@|areafix|areamgr|gecho|filescan|filemgr|mail2news|request|de-alt-netdigest)
 \
 'set signature="" attribution="" locale="C"'
 --- cut here  -
  
 bye - Wilhelm
 
 -- 
 .--.  Wilhelm Wienemann, Amselweg 10, D-47546 Kalkar/Germany
|o_o |__ 
||_/ |   / /  (_) __   __  
   //   \ \ / /__/ / _ \/ // /\ \/ /   
  (| | )   //_/_//_/\_,_/ /_/\_\
 /'\_   _/`\   Registered-Linux-user: 70712 http://counter.li.org/
 \___)=(___/   Enjoy Linux and the Power of Open Source 

Thank you a lot! :-)
I solve my problem thanks to you!
--
Best Wishes, Peter !

   .~.  ___     _  _   ___ ___  __  __
   /V\  | |(_) | __ \  | | | |  \ \/ /   Peter Dobrev
  // \\ | |__  | | | | | | | |_| |  ||   Kazanlak/Bulgaria
 /(   )\|| |_| |_| |_|  \|  /_/\_\   
  ^~'^ powered by Linux - solutions  for smart penguins




Re: send-hook problem

2001-01-08 Thread Peter Dobrev

I just sorry !:)
I was too stupid and didn't see the | at the one of my multi send-hook which
and the problem is solved!
Thanks a lot guys !:)



send-hook problem

2001-01-07 Thread Peter Dobrev

Hello!
I live in Bulgaria so I want the headers, the signature and the attribution
of some messages to be in Bulgarian. Well I use send-hooks for this but here
comes the problem. Imagine this situation:
I have to reply to a Bulgarian friend and to foreign mailing list. First I
reply to the Bulgarian friend. The attribution, the signature and the
headers are set to the Bulgarian ones. I send the message and reply to the
foreign mailing list. And the headers, the attribution and the signature are
still Bulgarian. I can use another send-hook but I think I shouldn't use a
send-hook for all my e-mail contacts because I'll certainly meet another
friends and I don't want to make a send-hook for everydoby. My question is
how to make the headers, the attribution and the signature back to normal
after the sending of the message. I think that if making a send-hook
for all the other (non-added in already existing send-hook) e-mails should
do it but I don't know how? I tried to add the content of the future
send-hook (that "for all the other e-mails) directly in the .muttrc but 
it's read only once at the starting of the program and didn't help. Please
help me!
Thanks in advance!

--
Best Wishes, Peter !

   .~.  ___ _  _   ___ ___  __  __
   /V\  | |(_) | __ \  | | | |  \ \/ /   Peter Dobrev
  // \\ | |__  | | | | | | | |_| |  ||   Kazanlak/Bulgaria
 /(   )\|| |_| |_| |_|  \|  /_/\_\   
  ^~'^ powered by Linux - solutions  for smart penguins




Default Mailbox problem

2000-12-28 Thread Peter Dobrev

Hello everybody!
I've got very little experience in Mutt and I've got a problem. When Mutt
starts it automaticly open /var/spool/mail/peterdob. I've set the mbox
variable to "~/mail/Inbox". I want Mutt to open ~/mail/Inbox by default and store the
new messages there (to move them from /var/spool/mail/peterdob). Is this
possible and how? Thank you!
Best Wishes, Peter! 



Thank you and another question

2000-12-28 Thread Peter Dobrev

Thank you for the help!
Here's another question :)
Well is there any way to configure Mutt to use a STMP server?
I'll be very glad if you answer me !
Thank you!
Peter!