Hi Mikko!
I think you miss my point, I have the following email addresses into this box:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
.... (5 more)
I send an email to a majordomo but the primary email is set to
[EMAIL PROTECTED] as per my default hook.
But I may decide to use another problem and unless I have every possible
majordomo in send-hooks then there is no way to use multiple local addresses.
Sean
On Sat, 13 Nov 1999, Mikko Hänninen wrote:
> Sean Rima <[EMAIL PROTECTED]> wrote on Sat, 13 Nov 1999:
> > Does the set from= allow you to use Regexp expresssions. I use 4 different
> > email addresses from this account and wish to be able to set the from
> > sometimes.
>
> Well, as far as I've understood, the $from variable works practically
> just like my_hdr From: with the only difference being that you can use
> it with $reverse_name set. That is, $reverse_name takes precedence over
> $from. With my_hdr From:, $reverse_name is overridden which is mostly
> an undesired behaviour.
>
> So depending on how you want to use regexp expressions this may or may
> not help you. You can already use a variable From header address based
> on recipient with send-hooks (or other hooks too), as in
> send-hook (condition) my_hdr From: (name and address)
>
>
> This brings my mind a question to "those who know", can I choose to
> use $reverse_name in send-hooks? Ie. if I have
>
> send-hook . set reverse_name; blah blah
> send-hook '~t some@recipient' unset reverse_name; blah blah
>
> Will something like that work? The idea is of course that I only want
> $reverse_name to work for *some* of my email addresses. And
> particularly, if someone happens to send me email at eg.
> [EMAIL PROTECTED] I want the reply to go out as
> [EMAIL PROTECTED] I'm not sure if using send-hooks for
> $reverse_name setting solves this problem, but it might help.
>
>
> Regards,
> 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 /
> Gather 'round like cattle and ye shall be herd.
>
Sean
--
Born Nov 12 1999 Amber Rose and Victoria May at
2.36pm and 2.49pm. Mother and babies doing fine
*all donations of Beer welcome*
Linux Uptime = 0 Days, 18 Hours and 31 Minutes