Hello, all:
I have been trying to do something very, very simple for two days now.
No real luck yet.
I have a user on a machine behind a firewall that has a bogus domain
name - "hotcube"
The prompt looks like this:
[oracle@hotcube oracle] _
I want to send mail using /bin/mail but *change* the "From:" field on
the outgoing mail, since replying to oracle@hotcube (or even
[EMAIL PROTECTED]) is not what I desire; I want the "From" field
to contain the e-mail addresses of our customer service managers - but I
can't go and change the hostname on this box and I can't make an account
with a name identical to the customer service manager's external (email)
userid; there are multiple addresses and the From has to change
depending on the purpose of the sent e-mail.
I have been trying to do this using sendmail, but sendmail is, well, a
beast -- and it only lets you masquerade the domain name. I need to be
able to specify the *username* as well. For example:
Instead of
From: Oracle User <oracle@hotcube>
or
From: Oracle User <[EMAIL PROTECTED]>
I need
From: Grapple-Grommets Customer Service <[EMAIL PROTECTED]>
I have looked at nmh, and it is a bit more powerful than /bin/mail, but
still, it only seems to let you change the domain name -- it still
insists on using the userid in the e-mail address.
So, to summarize briefly:
Can I use qmail just to transmit outgoing mail, even if I don't have a
proper FQDN configured on the qmail server? I can't have things locking
up...
Are there any good *command-line* mail clients (like /bin/mail or mh or
nmh) that will let me specify the "From:" field? Is there any that would
work with qmail to accomplish this?
I can use a hand here - any help is appreciated.
-Stephen-