Unix Technical Forum

"From" email address from AIX

This is a discussion on "From" email address from AIX within the AIX Operating System forums, part of the Unix Operating Systems category; --> We have a RS6000 running AIX 4.3+. We have applications that automatically send e-mail to the Internet. I want ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 06:33 AM
SBC Global News
 
Posts: n/a
Default "From" email address from AIX

We have a RS6000 running AIX 4.3+. We have applications
that automatically send e-mail to the Internet. I want
recipients to see the mail as coming from an e-mail address
from our known mail server. A user logged on to our backend
AIX will have an Internet address of
joe@rs6000.ourdomain.com. This user has a mailbox in our
Exchange serve as joe.blow@ourdomain.com. When this user
runs the application in the AIX which auto-emails a report
to a recipient in the Internet, I want the "From" address to
read joe.blow@ourdomain.com. Note that the AIX is relaying
to our Exchange server for Internet e-mail. How can I
configure the AIX user so that he will have a "From" address
the same as his Exchange server's address?

Thanks in advance.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 06:33 AM
Andreas Schulze
 
Posts: n/a
Default Re: "From" email address from AIX

"SBC Global News" <someone@microsoft.com> schrieb im Newsbeitrag
news:f9hFd.8527$Vj3.6237@newssvr17.news.prodigy.co m...
> We have a RS6000 running AIX 4.3+. We have applications
> that automatically send e-mail to the Internet. I want
> recipients to see the mail as coming from an e-mail address
> from our known mail server. A user logged on to our backend
> AIX will have an Internet address of
> joe@rs6000.ourdomain.com. This user has a mailbox in our
> Exchange serve as joe.blow@ourdomain.com. When this user
> runs the application in the AIX which auto-emails a report
> to a recipient in the Internet, I want the "From" address to
> read joe.blow@ourdomain.com. Note that the AIX is relaying
> to our Exchange server for Internet e-mail. How can I
> configure the AIX user so that he will have a "From" address
> the same as his Exchange server's address?
>
> Thanks in advance.
>


Given that your app uses mail and given that the Exchange server does not
overwrite the reply-to field (that should not happen actually) you could
export the wanted mail address from the uers's environment file (ENV on AIX
systems is .kshrc usually) as an alias. alias mail='mail -r
joe.blow@ourdomain.com' should do the trick.

HTH,
Andreas


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 06:33 AM
C C
 
Posts: n/a
Default Re: "From" email address from AIX

Thank you so much.

"Andreas Schulze" <b79xan@gmx.de> wrote in message
news:cs5c2i$9q0$1@tgx093.str.allianz.de...
> "SBC Global News" <someone@microsoft.com> schrieb im Newsbeitrag
> news:f9hFd.8527$Vj3.6237@newssvr17.news.prodigy.co m...
> > We have a RS6000 running AIX 4.3+. We have applications
> > that automatically send e-mail to the Internet. I want
> > recipients to see the mail as coming from an e-mail address
> > from our known mail server. A user logged on to our backend
> > AIX will have an Internet address of
> > joe@rs6000.ourdomain.com. This user has a mailbox in our
> > Exchange serve as joe.blow@ourdomain.com. When this user
> > runs the application in the AIX which auto-emails a report
> > to a recipient in the Internet, I want the "From" address to
> > read joe.blow@ourdomain.com. Note that the AIX is relaying
> > to our Exchange server for Internet e-mail. How can I
> > configure the AIX user so that he will have a "From" address
> > the same as his Exchange server's address?
> >
> > Thanks in advance.
> >

>
> Given that your app uses mail and given that the Exchange server does not
> overwrite the reply-to field (that should not happen actually) you could
> export the wanted mail address from the uers's environment file (ENV on

AIX
> systems is .kshrc usually) as an alias. alias mail='mail -r
> joe.blow@ourdomain.com' should do the trick.
>
> HTH,
> Andreas
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 06:33 AM
Greg Beeker
 
Posts: n/a
Default Re: "From" email address from AIX


SBC Global News wrote:
> We have a RS6000 running AIX 4.3+. We have applications
> that automatically send e-mail to the Internet. I want
> recipients to see the mail as coming from an e-mail address
> from our known mail server. A user logged on to our backend
> AIX will have an Internet address of
> joe@rs6000.ourdomain.com. This user has a mailbox in our
> Exchange serve as joe.blow@ourdomain.com. When this user
> runs the application in the AIX which auto-emails a report
> to a recipient in the Internet, I want the "From" address to
> read joe.blow@ourdomain.com. Note that the AIX is relaying
> to our Exchange server for Internet e-mail. How can I
> configure the AIX user so that he will have a "From" address
> the same as his Exchange server's address?
>
> Thanks in advance.


I just solved a problem like this. I added the entry in the
/etc/sendmail.cf file like below:
DMourdomain.com
And did a refresh of the sendmail daemon
refresh -s sendmail.
This sets the systems masqueraded domain.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 06:34 AM
Ben Kamen
 
Posts: n/a
Default Re: "From" email address from AIX

<mumbling> Exchange.... (shudder)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com