Re: uuencode / mutt / attachments

2002-10-18 Thread Sascha Huedepohl
Hi,

* John Haviland ([EMAIL PROTECTED]) wrote:
> When I use uuencode (uuencode somefile somefile2 | mail address) it comes
> across as an attachment in outlook but not in mutt.

This is because Outlook means to know it better and interprets the
begin  file  as an atachment.
Realy it is no attachment. It is simply an encodet file, for mutt
nothing else then normal text. So mutt does not display it as an
attachment.

> When I send an
> attachment from mutt to mutt (or outlook to mutt) it comes in as an
> attachment that doesn't require uudecode.

This is because it is a correct mime-attachment. With all the headers
and so.

> My question is this - can I use
> uuencode to send an attachment that mutt will see as an attachment without
> requiring the uudecode.

AFAIK no. You should use
mutt -a 
to send attachments from commandline.

HTH & HAND
sascha


sorry for my english ;)

-- 
Fuer einen neuen Monitor bitte hier ==>[X]<== einen Nagel einschlagen.



msg31891/pgp0.pgp
Description: PGP signature


Re: ~/.mailcap confusion

2002-10-14 Thread Sascha Huedepohl

* Richard Cattien ([EMAIL PROTECTED]) wrote:

> > # HTML
> > text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html
> 
> well, this works fine, but could you explain that? thx!

please rtfm
man lynx
man mailcap

> But another one, i really like to use "links" as my html-mail-viewer, so
> I simply changed lynx to links ...but... mutt starts lynx either?

links is a softlink to lynks?
???

regards
sascha

-- 
Fuer einen neuen Monitor bitte hier ==>[X]<== einen Nagel einschlagen.



msg31809/pgp0.pgp
Description: PGP signature


Re: ~/.mailcap confusion

2002-10-14 Thread Sascha Huedepohl

* Sascha Huedepohl ([EMAIL PROTECTED]) wrote:

> HTH & HAND
> sascha
> --
> Fuer einen neuen Monitor bitte hier ==>[X]<== einen Nagel einschlagen.

s/--/-- /
sorry

-- 
Fuer einen neuen Monitor bitte hier ==>[X]<== einen Nagel einschlagen.



msg31807/pgp0.pgp
Description: PGP signature


Re: ~/.mailcap confusion

2002-10-14 Thread Sascha Huedepohl

Hi, 

* Richard Cattien ([EMAIL PROTECTED]) wrote:

> Now, when I try to watch a html-mail, links displays the html-code, but
> doesn't interpreting it. I tried it with lynx also ...the same.

try:
# HTML
text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html


HTH & HAND
sascha
--
Fuer einen neuen Monitor bitte hier ==>[X]<== einen Nagel einschlagen.




msg31806/pgp0.pgp
Description: PGP signature


Re: Howto mark all messages as read?

2002-10-01 Thread Sascha Huedepohl

Hi,

* Jose Romildo Malaquias ([EMAIL PROTECTED]) wrote:
> Hello.
> 
> Please, would someone tell me how can I mark all messages
> in the mailbox as read, with a single key command?

i use two keys, but...
## ==
## Bindings for index
## ==
macro index  ,r "T~N | ~O\nN^T~A\n"  "mark all read"

HTH & HAND
sascha

-- 
I am Homer of Borg.  Prepare to be --- Oooh! Donuts!



msg31416/pgp0.pgp
Description: PGP signature


Re: The browser

2002-09-30 Thread Sascha Huedepohl

Hi,

* Johan Svedberg ([EMAIL PROTECTED]) wrote:
> Anyone experinced mutt going to the wrong mailbox when you're in the
> browsers mailbox view and place the indicator on some mailbox and press
> enter?

i have seen such behavior, when the last box i was in was not synced.
Then mutt goes back to that box.
But it seems not to happen every time.

HTH
sascha
--
Fuer einen neuen Monitor bitte hier ==>[X]<== einen Nagel einschlagen.




msg31356/pgp0.pgp
Description: PGP signature


Re: complete-query -> input field

2002-09-25 Thread Sascha Huedepohl

* Sven Guckes ([EMAIL PROTECTED]) wrote:
> * Sascha Huedepohl <[EMAIL PROTECTED]> [2002-09-25 12:54]:
> > i don't realy have a problem but, its a litle strange...
> > When i set "bind compose   ^T  complete-query" in .muttrc,
> > i get: "complete-query: unknown command" when i start mutt.
> 
> complete-query is not a command in that
> menu but a command for input fields.
> so you got the wrong context there.
> 
> rtfm: "2.2.  Editing Input Fields"

Ahhh, now its clear, THX
(the confusion was between the earphones)

regards
sascha



msg31215/pgp0.pgp
Description: PGP signature


complete-query

2002-09-25 Thread Sascha Huedepohl

Hi,
i don't realy have a problem but, its a litle strange...

When i set:
bind compose   ^T  complete-query
in .muttrc, i get:
complete-query: unknown command
when i start mutt.

But CTRL-T works works in the Compose-Screen.
When i remove the set from my .muttrc there is no error during
muttstartup but CTRL-T still works (as complete-query). And in
the Help of the Compose-menu there is:
^T  edit-type

strange!?

sascha

--
Fuer einen neuen Monitor bitte hier ==>[X]<== einen Nagel einschlagen.




msg31191/pgp0.pgp
Description: PGP signature


.mailcap start prog in background

2002-09-12 Thread Sascha Huedepohl

Hi,
is it possible to define a .mailcap entry that way, that the
"viewer" runs in the background and mutt is "free" to work with?

I mean something like:
image/*; feh -x %s &;

TIA
sascha

--
Sascha Huedepohl [EMAIL PROTECTED]



Re: Turn off bell and deleted mails

2002-08-01 Thread Sascha Huedepohl

Hi,

* Sven Garbade ([EMAIL PROTECTED]) wrote:
> 
> How can I turn off the bell?

setterm or xset

> Is it possible to clear the screen from mails which are marked as deleted?

sync-mailbox
bound to $

HTH & HAND
sascha
--
Sascha Huedepohl [EMAIL PROTECTED]



msg30045/pgp0.pgp
Description: PGP signature


Re: Mailbox Backup

2002-07-25 Thread Sascha Huedepohl

Hi,

* Prashanth ([EMAIL PROTECTED]) wrote:
> not working.  How can I pass the folder path to the script ? Is there
> any variable that stores the folder path ?

Why not read the variable from your .muttrc?
There should be something like

set folder=~/Mail  # directory with all mail folders

Easy task for awk

HTH & HAND
sascha

-- 
I am Homer of Borg.  Prepare to be --- Oooh! Donuts!



msg29867/pgp0.pgp
Description: PGP signature


Re: reverse_alias

2002-06-25 Thread Sascha Huedepohl

Hi,

* Sven Guckes ([EMAIL PROTECTED]) wrote:
> > > I testet it but it seems to only "convert" the
> > > first occurence of the "friend" in the index.
> > 
> > I musst add that the friend uses multiple email-addresses
> > and mutt than only converts the entrys in the index
> > with the email-address whitch occures first.
> 
> you need an alias for each address then.

i have aliases for every address. But it doesn't work.

> > After i "unset reverse_alias" in my
> > .muttrc again mutt still "convert"!?
> > (yes i reload the configuration
> > and even restartet mutt)
> 
> (un)setting on the command line only
> has an effect on the running mutt.
> you need to adjust the stup file...

stup file == .muttrc ?


sascha

-- 
I am Homer of Borg.  Prepare to be --- Oooh! Donuts!



Re: change "From:"-Header - why? what for?

2002-06-25 Thread Sascha Huedepohl

* Sascha Huedepohl ([EMAIL PROTECTED]) wrote:
> Hi,
> 
> * Sven Guckes ([EMAIL PROTECTED]) wrote:
> > 
> > but rather than rewriting all messages -
> > how about using mutt's reverse_alias feature?
> 
> ah - cool feature.
> I testet it but it seems to only "convert" the first
> occurence of the "friend" in the index.

I musst add that the friend uses multiple email-addresses
and mutt than only converts the entrys in the index
with the email-address whitch occures first.

> 
> After i "unset reverse_alias" in my .muttrc again
> mutt still "convert"!?
> (yes i reload the configuration and even restartet mutt)
> 
> regards
> sascha
> 
> -- 
> I am Homer of Borg.  Prepare to be --- Oooh! Donuts!

-- 
I am Homer of Borg.  Prepare to be --- Oooh! Donuts!



Re: change "From:"-Header

2002-06-25 Thread Sascha Huedepohl

Hi,

* David T-G ([EMAIL PROTECTED]) wrote:
> % | formail -I "From: Real Name <[EMAIL PROTECTED]>"
> % 
> % i think this should work !?
> 
> Yes.  Now you have one rule like that for every user to modify.  If you
> prefer that over a side script with all of that logic that will keep
> your procmailrc file clean, go for it.

:) you are right. But what i didn't say in my previous mail, 
there is only one "friend" for this special treatment.
From the others i get mail verry rarely.
So i would write a rule like:

:0 fw
* ? (formail -x From: | fgrep -iqf $FileWithEmailAddresses)
| formail -I "From: Real Name <[EMAIL PROTECTED]>"


regards
sascha

-- 
I am Homer of Borg.  Prepare to be --- Oooh! Donuts!



Re: change "From:"-Header - why? what for?

2002-06-25 Thread Sascha Huedepohl

Hi,

* Sven Guckes ([EMAIL PROTECTED]) wrote:
> 
> but rather than rewriting all messages -
> how about using mutt's reverse_alias feature?

ah - cool feature.
I testet it but it seems to only "convert" the first
occurence of the "friend" in the index.

After i "unset reverse_alias" in my .muttrc again
mutt still "convert"!?
(yes i reload the configuration and even restartet mutt)

regards
sascha

-- 
I am Homer of Borg.  Prepare to be --- Oooh! Donuts!



Re: change "From:"-Header

2002-06-25 Thread Sascha Huedepohl

Hi David,

* David T-G ([EMAIL PROTECTED]) wrote:
> % 
> % No i would like to set up a little procmail rule
> % to replace the From: header with a correct one.
> 
> It should be easy enough to have a rule something like
> 
>   :0 f
>   * From: [EMAIL PROTECTED]
>   | /path/to/some_clever_script

well, i thought about somethink like

:0 wf
* From: [EMAIL PROTECTED]
| formail -I "From: Real Name <[EMAIL PROTECTED]>"

i think this should work !?

regards
sascha

-- 
I am Homer of Borg.  Prepare to be --- Oooh! Donuts!



msg29225/pgp0.pgp
Description: PGP signature


change "From:"-Header

2002-06-25 Thread Sascha Huedepohl

Hi,
some friends of mine are not able to or not
willing to configure their eMail Software
in that way that the From: Header is set to:
Realname  or email@address (Realname)
And i hate it.

No i would like to set up a little procmail rule
to replace the From: header with a correct one.

What i'm not sure about is:
Is this ok for the eMail-system?
I mean: is it ok to do such thing? Or will i break
somethink up?

thanks
sascha

-- 
I am Homer of Borg.  Prepare to be --- Oooh! Donuts!



msg29222/pgp0.pgp
Description: PGP signature


Re: save-message to scp

2002-06-24 Thread Sascha Huedepohl

Hi,

* Eric Smith ([EMAIL PROTECTED]) wrote:
> According to Rocco Rutte on Mon, Jun 24, 2002 at 11:31:43AM +0200:
> > Hi,
> > 
> > * Eric Smith [02-06-24 11:22:58 +0200] wrote:
> >  > How do I create a macro that will instead of saving a file scp it
> >  > to another machine?

I think it should be possible to write a little shell script
which takes the mail per STDIN, then saves it to a .tmp file
and scp that file to the other machine.

The Command to Pipe the message to an external prog is '|' !?

HTH
sascha



msg29187/pgp0.pgp
Description: PGP signature


default recipient by folder

2002-06-21 Thread Sascha Huedepohl

Hi,
i wonder if it is possible to have a default recipient
depending on the folder i'm in when creating a new message.
Is there an easy way via hooks?

Btw: are my headers OK?
When i send a message to a mailinglist the replays are
always to me and not to the list.

regards
sascha

-- 
I am Homer of Borg.  Prepare to be --- Oooh! Donuts!



msg29140/pgp0.pgp
Description: PGP signature