Re: failure notice

2001-11-20 Thread René Clerc

* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [20-11-2001 10:22]:

| what i would like to do is to be able to extract email address
| and put them in my aliases file
| somewhat like how i can extract url with urlview

http://webrum.uni-mannheim.de/jura/moritz/mail2muttalias.shtml

contains the information you'll need.

| ?

That goes for the subject, too ;)

|   TIA

HTH,

-- 
René Clerc  - ([EMAIL PROTECTED])

high technology, n.:
A California innovation composed of equal parts of silicon and
marijuana.



msg20586/pgp0.pgp
Description: PGP signature


Re: failure notice

2000-06-20 Thread Mikko Hänninen

Vincent Danen <[EMAIL PROTECTED]> wrote on Sun, 18 Jun 2000:
> Hi there.  I can't seem to figure this one out.  It's like sendmail
> is re-writing the Return-Path header and it's making my posts to some
> mailing lists bounce for some reason.
> 
> I insert a my_hdr Return-Path:... statement into the .muttrc for
> [EMAIL PROTECTED] but when it bounced back for the second
> time it showed the Return-Path as [EMAIL PROTECTED] (where
> devel.danen.net is the hostname for this computer).  Since I can't
> quite change the hostname on the fly, does anyone know how I can fix
> this?

I think that when you invoke sendmail as a program, it won't pick up
the return path from the Return-Path header, it only does it from
the -f command line option.  qmail uses the Return-Path, and Postfix
maybe too?, but not sendmail...

The reason why Pine works is that Pine doesn't run sendmail as a
program, instead it talks directly SMTP, in which case sendmail will not
change the return path and it's excplicitly stated already.

If you upgrade to Mutt 1.2, you can set the $envelope_from variable
which means Mutt will set the envelope sender to the same as the the
address in the From header.  If you want to solve this and stay with
Mutt 1.0.1 (which is what you're using, according to the email headers
anyway) then you need to either add the -f option to the sendmail
invocation (the $sendmail Mutt variable) or create a wrapper script
around sendmail that sets the -f option in some way.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"Are you suggesting that coconuts _migrate_?" -- The Quest For The Holy Grail



Re: failure notice

2000-06-20 Thread Vincent Danen

On Tue, Jun 20, 2000 at 10:04:02PM +0300, Mikko Hänninen wrote:

> Vincent Danen <[EMAIL PROTECTED]> wrote on Tue, 20 Jun 2000:
> > I just upgraded and have run into a few problems (see other
> > messages).  How would I use the envelope thing?
> > 
> > set envelope_from="<[EMAIL PROTECTED]>"
> 
> It's just:
> 
>   set enveloper_from
> 
> Nothing else.
> 
> What it does is that it takes the email address from the From header
> when it's sending an email, and then puts that in the mail sending
> command as -faddress.

Rocking!  That's what I wanted.  Thank you!

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 1 days 2 hrs and 02 mins.



Re: failure notice

2000-06-20 Thread Mikko Hänninen

Vincent Danen <[EMAIL PROTECTED]> wrote on Tue, 20 Jun 2000:
> I just upgraded and have run into a few problems (see other
> messages).  How would I use the envelope thing?
> 
> set envelope_from="<[EMAIL PROTECTED]>"

It's just:

  set enveloper_from

Nothing else.

What it does is that it takes the email address from the From header
when it's sending an email, and then puts that in the mail sending
command as -faddress.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Change is inevitable, except from a vending machine.



Re: failure notice

2000-06-19 Thread Mikko Hänninen

Lars Hecking <[EMAIL PROTECTED]> wrote on Tue, 20 Jun 2000:
> > I insert a my_hdr Return-Path:... statement into the .muttrc for
> 
>  That is a pretty useless thing to do, according RFC 822.

Not if you use a MTA (or rather, mail-injection-agent (MIA?)) that
picks out that header and uses it for envelope sender...  And of course,
removes the header as well.

sendmail isn't one such, though.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Money isn't everything.  There's also roleplaying games.



Re: failure notice

2000-06-19 Thread Vincent Danen

On Mon, Jun 19, 2000 at 11:34:45PM +0300, Mikko Hänninen wrote:

> Vincent Danen <[EMAIL PROTECTED]> wrote on Mon, 19 Jun 2000:
> > Hmmm...  I use Qmail as my SMTP server on my server, but not on this
> > machine.  Maybe I should use Qmail on this machine also...
> 
> Maybe, no arguments from me. :-)  (I use qmail at home too...)

  Well, I've got two servers that run Qmail, but on my personal
machine I just kept sendmail on there from the Mandrake install.  Too
lazy to put qmail on there too I suppose, although I think maybe I am
going to do that soon (after my 7.1 powerpack gets here so I can
upgrade from the beta).

> > Is there no way to get mutt to talk to sendmail in the same way as
> > Pine?
> 
> Not directly, Mutt doesn't talk SMTP at all.  What you need to do (if
> you really want to relay the mail over SMTP somewhere) is get a program
> such as sSMTP or one of the other alternatives, and use that for mail
> delivery then.  sSMTP simply takes an email message as standard input
> and sends it to some pre-configured SMTP host, nothing more.  You can
> find the link to it from the Mutt home page.

Hmmm... maybe I'll have to look into that.

> > 1.2 is the devel version, no?
> 
> No, it's the latest stable release.  Although 1.2.1 is expected "soon".

Ok, you've got me convinced...  Maybe I'll make new Mandrake RPMs for
it if there aren't any already... =)

> > Hmmm...  I think I want to get 1.0.1
> > working properly first... =)
> 
> As you wish, your choice, although I would recommend 1.2 as it has a
> number of useful features (including $envelope_from) in addition to some
> bugfixes.

I'm going to look into it and see about making an RPM for it.  I like
to keep a "clean" system, which is why I hedge on some upgrades.  =)

> > How can I pass the active email address
> > to the $sendmail variable?  Ie. sometimes I send as
> > [EMAIL PROTECTED] and sometimes I send as
> > [EMAIL PROTECTED]?  Obviously I don't want the Return-Path to be
> > [EMAIL PROTECTED] when I send from the admin address?  Is
> > there a variable like, say, $email I can put in there like:
> > 
> > sendmail="/usr/lib/sendmail -oi -oem -f$email"
> 
> No, you can't use a Mutt variable like that, unfortunately (the variable
> *would* be $from in Mutt 1.2, nothing like that in Mutt 1.0.1, but you
> still can't refer to other variables in 1.2...)
> 
> So you're stuck to setting $sendmail directly in whatever place also
> changes your From header address.  Again, in Mutt 1.2 you wouldn't need
> to do that since you could use $envelope_from. :-)

dOh!  Again, you've got me convinced... thanks, Mikko!

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org



Re: failure notice

2000-06-19 Thread Mikko Hänninen

Vincent Danen <[EMAIL PROTECTED]> wrote on Mon, 19 Jun 2000:
> Hmmm...  I use Qmail as my SMTP server on my server, but not on this
> machine.  Maybe I should use Qmail on this machine also...

Maybe, no arguments from me. :-)  (I use qmail at home too...)

> Is there no way to get mutt to talk to sendmail in the same way as
> Pine?

Not directly, Mutt doesn't talk SMTP at all.  What you need to do (if
you really want to relay the mail over SMTP somewhere) is get a program
such as sSMTP or one of the other alternatives, and use that for mail
delivery then.  sSMTP simply takes an email message as standard input
and sends it to some pre-configured SMTP host, nothing more.  You can
find the link to it from the Mutt home page.

> 1.2 is the devel version, no?

No, it's the latest stable release.  Although 1.2.1 is expected "soon".

> Hmmm...  I think I want to get 1.0.1
> working properly first... =)

As you wish, your choice, although I would recommend 1.2 as it has a
number of useful features (including $envelope_from) in addition to some
bugfixes.

> How can I pass the active email address
> to the $sendmail variable?  Ie. sometimes I send as
> [EMAIL PROTECTED] and sometimes I send as
> [EMAIL PROTECTED]?  Obviously I don't want the Return-Path to be
> [EMAIL PROTECTED] when I send from the admin address?  Is
> there a variable like, say, $email I can put in there like:
> 
> sendmail="/usr/lib/sendmail -oi -oem -f$email"

No, you can't use a Mutt variable like that, unfortunately (the variable
*would* be $from in Mutt 1.2, nothing like that in Mutt 1.0.1, but you
still can't refer to other variables in 1.2...)

So you're stuck to setting $sendmail directly in whatever place also
changes your From header address.  Again, in Mutt 1.2 you wouldn't need
to do that since you could use $envelope_from. :-)


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
All I ask is a chance to prove that money can't make me happy.



Re: failure notice

2000-06-19 Thread Vincent Danen

On Mon, Jun 19, 2000 at 10:27:05PM +0300, Mikko Hänninen wrote:

> > I insert a my_hdr Return-Path:... statement into the .muttrc for
> > [EMAIL PROTECTED] but when it bounced back for the second
> > time it showed the Return-Path as [EMAIL PROTECTED] (where
> > devel.danen.net is the hostname for this computer).  Since I can't
> > quite change the hostname on the fly, does anyone know how I can fix
> > this?
> 
> I think that when you invoke sendmail as a program, it won't pick up
> the return path from the Return-Path header, it only does it from
> the -f command line option.  qmail uses the Return-Path, and Postfix
> maybe too?, but not sendmail...

Hmmm...  I use Qmail as my SMTP server on my server, but not on this
machine.  Maybe I should use Qmail on this machine also...

> The reason why Pine works is that Pine doesn't run sendmail as a
> program, instead it talks directly SMTP, in which case sendmail will not
> change the return path and it's excplicitly stated already.

Is there no way to get mutt to talk to sendmail in the same way as
Pine?

> If you upgrade to Mutt 1.2, you can set the $envelope_from variable
> which means Mutt will set the envelope sender to the same as the the
> address in the From header.  If you want to solve this and stay with
> Mutt 1.0.1 (which is what you're using, according to the email headers
> anyway) then you need to either add the -f option to the sendmail
> invocation (the $sendmail Mutt variable) or create a wrapper script
> around sendmail that sets the -f option in some way.

1.2 is the devel version, no?  Hmmm...  I think I want to get 1.0.1
working properly first... =)  How can I pass the active email address
to the $sendmail variable?  Ie. sometimes I send as
[EMAIL PROTECTED] and sometimes I send as
[EMAIL PROTECTED]?  Obviously I don't want the Return-Path to be
[EMAIL PROTECTED] when I send from the admin address?  Is
there a variable like, say, $email I can put in there like:

sendmail="/usr/lib/sendmail -oi -oem -f$email"

??

Thanks for helping me out with this.  I do appreciate it.  If there
is no way to do it I might have to switch to qmail from sendmail on
this machine too...

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org