Re: What's the 'from'-variable up to?

2000-11-23 Thread Thorsten Haude

Hi,

>didnt notice Thorsten Haude's incorrectly set mail-followup-to header
So didn't I. How can I fix it?

Thorsten



Re: What's the 'from'-variable up to?

2000-11-23 Thread Suresh Ramasubramanian

Apologies for cc'ing Mike Elkins on the last post - didnt notice Thorsten
Haude's incorrectly set mail-followup-to header, which included M.E :(

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
You will feel hungry again in another hour.



Re: What's the 'from'-variable up to?

2000-11-23 Thread Suresh Ramasubramanian

Thorsten Haude proclaimed on mutt-users that: 

> Didn't test that. I may need it for my alias mungling. How do you
> handle different aliases (eg. for mailing lists)?
 
 Take a look at part of my .muttrc (used with set envelope_from)

folder-hook . set sort=threads
folder-hook . set signature=/tmp/sig.mallet
folder-hook . 'set attribution = "Using a large mallet, %n whacked out:"'
folder-hook . my_hdr From: [EMAIL PROTECTED] (Suresh Ramasubramanian)
folder-hook . my_hdr Reply-To: [EMAIL PROTECTED] (Suresh Ramasubramanian)
folder-hook . my_hdr Organization: The Lumber Cartel, India (tinlcI)

folder-hook mutt set sort=threads
folder-hook mutt set signature=/tmp/sig.mallet
folder-hook mutt 'set attribution="%n proclaimed on mutt-users that: "'
folder-hook mutt my_hdr From: [EMAIL PROTECTED] (Suresh Ramasubramanian)
folder-hook mutt my_hdr Reply-To: [EMAIL PROTECTED] (Suresh Ramasubramanian)
folder-hook mutt my_hdr Organization: The Lumber Cartel, India (tinlcI)

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
"But officer, I was only trying to gain enough speed so I could coast
to the nearest gas station."



Re: What's the 'from'-variable up to?

2000-11-23 Thread Thorsten Haude

Hi,

On 00-11-20, Michael Elkins wrote:
>> So I ask myself, what's 'from' all about?
>`from' sets the default From: line in the mail header.  The sendmail -f
>option sents the envelope return address (what normally goes in the From
>line of mbox format mailboxes).
OK I tested this. There's no difference between
set realname="Thorsten Haude"
set [EMAIL PROTECTED]
and
set from="Thorsten Haude <[EMAIL PROTECTED]>"

and no difference between
set envelope_from
and
folder-hook . 'set sendmail="/usr/sbin/sendmail -oem -oi -f \
[EMAIL PROTECTED]"' 

While that does probably not surprise you, I'm glad to be sure.

>I'm not sure setting $from didn't work for you.
Well, I didn't use $envelope_from, because I thought $from would suffice.

>Does my_hdr also not work?
Didn't test that. I may need it for my alias mungling. How do you
handle different aliases (eg. for mailing lists)?

The list-reply didn't worl for this message? Is that because you used
[EMAIL PROTECTED], which is not in my $lists?

>me
I would suffer from shizophrenia in minutes.

Thorsten



Re: What's the 'from'-variable up to?

2000-11-22 Thread Thorsten Haude

Hi,

On 00-11-22, Thomas Roessler wrote:
>>  set from="Thorsten Haude" <[EMAIL PROTECTED]>
>
>This is bad syntax.
Jep, I noticed that only after I send the mail. It must be
set from="Thorsten Haude <[EMAIL PROTECTED]>"

Sorry
Thorsten



Re: What's the 'from'-variable up to?

2000-11-22 Thread Thomas Roessler

On 2000-11-22 19:05:06 +0100, Thorsten Haude wrote:

>   set from="Thorsten Haude" <[EMAIL PROTECTED]>

This is bad syntax.

-- 
Thomas Roessler <[EMAIL PROTECTED]>



Re: What's the 'from'-variable up to?

2000-11-22 Thread Thorsten Haude

Hi,

On 00-11-20, David Alban wrote:
>I use:
>
>  my_hdr From: David Alban <[EMAIL PROTECTED]>
In my understanding (which is obviously flawed) that should only cover the
'set from', not the envelope. Could somebody comment this?

On a related issue: I now use
set from="Thorsten Haude <[EMAIL PROTECTED]>
set reverse_name
set envelope_from
(Note the missing ")
and no sendmail mods. Why is the From: not set to the address I use on the
list, "Thorsten Haude" <[EMAIL PROTECTED]>?

Thorsten



Re: What's the 'from'-variable up to?

2000-11-22 Thread Thorsten Haude

Hi,

On 00-11-20, Michael Tatge wrote:
>set realname="Thorsten Haude"
>set [EMAIL PROTECTED]
Why is this different from
set from="Thorsten Haude" <[EMAIL PROTECTED]>
?

Thorsten



Re: What's the 'from'-variable up to?

2000-11-21 Thread David Alban

Thorsten,

At 2000/11/20/11:44 +0100 Thorsten Haude <[EMAIL PROTECTED]> wrote:
> I use
>   set from="Thorsten Haude <[EMAIL PROTECTED]>
> to change my address from local user to provider's user. It did not work
> until I changed 'sendmail' from
>   sendmail="/usr/sbin/sendmail -oem -oi"
> to 
>   sendmail="/usr/sbin/sendmail -oem -oi -f [EMAIL PROTECTED]"
> 
> So I ask myself, what's 'from' all about?

(Although this doesn't directly answer your question...)

I use:

  my_hdr From: David Alban <[EMAIL PROTECTED]>

and it works.

David
-- 
Live in a world of your own, but always welcome visitors.



Re: What's the 'from'-variable up to?

2000-11-21 Thread Michael Elkins

On Mon, Nov 20, 2000 at 11:44:31AM +0100, Thorsten Haude wrote:
> I use
>   set from="Thorsten Haude <[EMAIL PROTECTED]>
> to change my address from local user to provider's user. It did not work
> until I changed 'sendmail' from
>   sendmail="/usr/sbin/sendmail -oem -oi"
> to 
>   sendmail="/usr/sbin/sendmail -oem -oi -f [EMAIL PROTECTED]"
> 
> So I ask myself, what's 'from' all about?

`from' sets the default From: line in the mail header.  The sendmail -f
option sents the envelope return address (what normally goes in the From
line of mbox format mailboxes).  I'm not sure setting $from didn't work for
you.  Does my_hdr also not work?

me



Re: What's the 'from'-variable up to?

2000-11-21 Thread Michael Tatge

Thorsten Haude muttered:
> I use
>   set from="Thorsten Haude <[EMAIL PROTECTED]>
> to change my address from local user to provider's user. It did not work
> until I changed 'sendmail' from
>   sendmail="/usr/sbin/sendmail -oem -oi"
> to 
>   sendmail="/usr/sbin/sendmail -oem -oi -f [EMAIL PROTECTED]"
> 
> So I ask myself, what's 'from' all about?

  6.3.49.  from

  Type: e-mail address
  Default: ""

  When set, this variable contains a default from address.  It can be
  overridden using my_hdr (including from send-hooks) and
  `reverse_name''.

set realname="Thorsten Haude"
set [EMAIL PROTECTED]
set use_from
set envelope_from=yes

HTH,

Michael

P.S. please post to [EMAIL PROTECTED]

-- 
I must have slipped a disk -- my pack hurts!

PGP-Key: http://www.stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: What's the 'from'-variable up to?

2000-11-21 Thread John Wright

On Mon, Nov 20, 2000 at 11:44:31AM +0100, Thorsten Haude wrote:
> Hi list,
> 
> I use
>   set from="Thorsten Haude <[EMAIL PROTECTED]>
> to change my address from local user to provider's user. It did not work
> until I changed 'sendmail' from
>   sendmail="/usr/sbin/sendmail -oem -oi"
> to 
>   sendmail="/usr/sbin/sendmail -oem -oi -f [EMAIL PROTECTED]"
> 
> So I ask myself, what's 'from' all about?
> 
> Thorsten

It sticks it in your From: field don't it.

And mutt will do the -f thing if you set envelope_from=yes




Re: What's the 'from'-variable up to?

2000-11-21 Thread Thomas Roessler

On 2000-11-20 11:44:31 +0100, Thorsten Haude wrote:

> I use
>   set from="Thorsten Haude <[EMAIL PROTECTED]>
> to change my address from local user to provider's user. It did not work
> until I changed 'sendmail' from
>   sendmail="/usr/sbin/sendmail -oem -oi"
> to 
>   sendmail="/usr/sbin/sendmail -oem -oi -f [EMAIL PROTECTED]"
> 
> So I ask myself, what's 'from' all about?

The $from variable sets the From mail header.  If you send the
$envelope-from variable, the -f command line parameter you describe
will be automatically added to sendmail's invocation.

-- 
Thomas Roessler <[EMAIL PROTECTED]>



Re: What's the 'from'-variable up to?

2000-11-20 Thread Martin

Received Monday, November 20, 2000 (1.47.325) 11:44:31 [AM] (+0100)
from Thorsten Haude
at   [EMAIL PROTECTED]

> I use
>   set from="Thorsten Haude <[EMAIL PROTECTED]>
> to change my address from local user to provider's user. It did not work
> until I changed 'sendmail' from
>   sendmail="/usr/sbin/sendmail -oem -oi"
> to 
>   sendmail="/usr/sbin/sendmail -oem -oi -f [EMAIL PROTECTED]"
> 
> So I ask myself, what's 'from' all about?
> 

Hello Thorsten,

if you put set envelope_from
into your muttrc then mutt will call sendmail with that -f flag and sets the
from-header to whatever you specified in your muttrc with set from.

If you have several mail accounts you could use some send-hooks to change
your from header depending on what account you are using

Hope that helps
martin

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
gpgkey: http://www.crosswinds.net/~trappedvector/tr.asc keyID: 6E6C3431
Linux - Because Penguins DO fly!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -







 PGP signature