[HPADM] Re: Sendmail - From address

From: Cisco Trader (ciscoman@hk.com)
Date: Fri Feb 17 2006 - 15:02:56 EST


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@wareforce.com < 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@wareforce.com
> IM: TrendGod98 Yahoo: trendgod MSN: trendgod@cox.net
> "We make IT run better."
>
>

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:52 EDT