Operating System - HP-UX
1834794 Members
2546 Online
110070 Solutions
New Discussion

Send mail with alias address

 
SOLVED
Go to solution
Rita Li
Frequent Advisor

Send mail with alias address

Hi All,

UX HP11.0 server with no internet access or dns, internet e-mail is sent via a smart relay host (an internal Exchange server)

/etc/mail/sendmail.cf is configured with
Dj$w.companydomain.com

Now able to send internet mail successfully but mail header shows the sender's address as
@companydomain.com, which would cause problem if people do a reply.

How can I change the sender's address to be
@companydomain.com so when people do a reply, I still can receive the mail at Exchange?

Any help is much appreciated.

Rita
7 REPLIES 7
Rajeev  Shukla
Honored Contributor

Re: Send mail with alias address

Also set the
DL and enable Kuser
Rita Li
Frequent Advisor

Re: Send mail with alias address

Pls give more info how to set the DL & Kuser

Thanks.
Niraj Kumar Verma
Trusted Contributor

Re: Send mail with alias address

Hi,

Check this

http://www.sendmail.org/faq/section3.html#3.2

I am sure u will get what u r looking for.

Regards
-Niraj
Niraj.Verma@philips.com
avsrini
Trusted Contributor

Re: Send mail with alias address

Hi Rita,
Edit the /etc/mail/sendmail.cf file
Search for Kuser.

uncomment the Kuser entry
add you exchange server's fully qualified domain name to
the DL entry.

Save the file and restart the sendmail daemon.

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start.


Srini.
Be on top.
John Meissner
Esteemed Contributor

Re: Send mail with alias address

the easiest way to change the reply to address is when you send an e-mail......


mailx -s "subject" -r alias@companydomain.com recipient@address.com < message.txt

hope this helps
All paths lead to destiny
Jochen Heuer
Respected Contributor
Solution

Re: Send mail with alias address

Hello!

You can also use the userdatabase feature of sendmail. If you have access to the knowledge trees have a look here:

http://europe.itrc.hp.com/service/iv/docDisplay.do?docId=/DE_SW_UX_sendmail_EN_01_E/userdatabase.htm
Well, yeah ... I suppose there's no point in getting greedy, is there?
Jose Mosquera
Honored Contributor

Re: Send mail with alias address

Hi,

You can try by the sendmail o mailx command options, i.e:

mailx -r target_address@domain

echo "From: "|sendmail target_address@domain

In both cases is configured like origin address.

Rgds.