[HPADM] Re: Sendmail - From address





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)



Relevant Pages

  • [HPADM] Sendmail - From address
    ... We have and use sendmail from this server to generate messages from ... command and cannot pass in any "-r" option. ... IM: TrendGod98 Yahoo: trendgod MSN: trendgod@xxxxxxx ...
    (HP-UX-Admin)
  • ISP SMTP Sent EMails Not Getting Through
    ... Because the server does not have its own domain name I have told Sendmail to use my ISP's SMTP server to send the emails. ... The 'mail' command does not let me change the from address so I have resorted to using sendmail directly in the script. ... Is there a better command? ...
    (comp.mail.sendmail)
  • Re: [opensuse] Sending mail via my ISP relay using sendmail
    ... I have to use sendmail because the actual application is ... the PHP5 "mail" command, ... So the real problem seems to lie with the sender domain. ... acm.org seems to be handled by Postini, and it is possible that the comcast server tried to serve as proxy and immediately resend the smtp commands of your smtp client to the remote Postini server that is responsible for acm.org. ...
    (SuSE)
  • Re: Is anyone on the list using "formmail" CGI script on their RH Apache implementations?
    ... >I tested the script from command line and it's fine, ... >script is good as well as the permissions. ... printing something before and after the open to sendmail line. ... Once you get something working on your server it's likely to ...
    (RedHat)
  • RE: Sendmail - IMAP-UW - Cyrus-SASL2 - SMTPAUTH problems
    ... away from the server arena. ... We run SMTP AUTH but we don't run SSL SMTP. ... e-mail clients that can't handle SSL SMTP. ... Sendmail - IMAP-UW - Cyrus-SASL2 - SMTPAUTH problems ...
    (freebsd-questions)