Hi Lorenzo
Thanks for that. I wonder if my version of mutt is too old as I get a
Error in /etc/Muttrc, line 167: from: unknown variable
source: errors in /etc/Muttrc
when I add a line
set from="[EMAIL PROTECTED]"
into /etc/Muttrc as a test.
Peter
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Lorenzo Martignoni
Sent: 07 August 2001 13:44
To: Mutt Users' List
Subject: Re: Sending a mail with
Quoting Peter Stokes <[EMAIL PROTECTED]>:
> I now want to use it to send any requests from my webserver via a perl
> script back to me. I host more than one vitual domain on the server and
> therefore would like to have the email appear to come from that domain.
The
> perl script usually runs as user Nobody on the server for security
reasons.
>
> Domain 1 - ashlyn.co.uk
>
> I would want email to appear to come from [EMAIL PROTECTED]
>
> Domain 2 - argentcs.com
>
> I would want email to appear to come from [EMAIL PROTECTED]
>
> Can this be done with any version of mutt, either by config files or
> environment variable or command line?
create different configuration files, one for every virtualdomain.
In the configuration files set the from field,
set from="[EMAIL PROTECTED]"
and the other stuff.
include "-F domainconfigurationfiles" in your mutt's command line.
The "domainconfigurationfiles" must change according to the virtual
domain.
lorenzo
--
Lorenzo Martignoni <[EMAIL PROTECTED]>
Be liberal in what you accept, and conservative in what you send.
- RFC1123 -