[HPADM] Re: Sendmail - From address
- From: Cisco Trader <ciscoman@xxxxxx>
- Date: Sat, 18 Feb 2006 04:02:56 +0800 (HKT)
Maren HK dot Com Ltd, +852 28654865 ext 888 fax 2865 4100
Suite 203, 80 Queens Rd East, Wan Chai, HK
On Fri, 17 Feb 2006, Roger Realsen wrote:
Gurus
HP9000 rp3440
HPUX 11.0
We have and use sendmail from this server to generate messages from
within an application running on this box. The users only ever access
this box through telnet and then go directly in to the application -
they never get to any OS functions at all.
When using a command such as:
"mailx -m -s "TEST" roger.realsen@xxxxxxxxxxxxx < some_file"
The Email comes in with a from address of
"<user>@servername.wareforce.com". Since we use Exchange and our SMTP
addresses are formatted as <firstname>.<lastname>@wareforce.com, the
above address does not work well. I know I can use the "-r" option but
I do not have access to the application functions that call the mailx
command and cannot pass in any "-r" option.
Is there any OTHER way to fix the from address at the OS level?
forget mail
use sendmail directly. you will not be able to lie on the envelope info but on the headers you can put what ever you want... which will sufice for you.
TIA
Roger Realsen
Roger Realsen | Director of IT | Wareforce | office: 949.452.1411 | fax:
949.452.1413 | roger.realsen@xxxxxxxxxxxxx
IM: TrendGod98 Yahoo: trendgod MSN: trendgod@xxxxxxx
"We make IT run better."
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@xxxxxxxxxxxxx
Name: hpux-admin@xxxxxxxxxxxxx Owner: owner-hpux-admin@xxxxxxxxxxxxx
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
- References:
- [HPADM] Sendmail - From address
- From: Roger Realsen
- [HPADM] Sendmail - From address
- Prev by Date: [HPADM] Sendmail - From address
- Next by Date: [HPADM] Integrated Web Console
- Previous by thread: [HPADM] Sendmail - From address
- Next by thread: [HPADM] Integrated Web Console
- Index(es):
Relevant Pages
|
|