Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using aliases

Status
Not open for further replies.

josel

Programmer
Oct 16, 2001
716
US
Howdy y'all!

I have spent a great deal of time going back and forth
with setting aliases in my SCO UNIX 5.0.6a server. I
have created my aliases file and entered all users in
it - The form of username: First.Lastname@domain.com

I then ran 'newaliases' and 'sendmail -bi'.

I am intending to have user josel, whom is set in
my aliases file as josel: Jose.Lerebours@domain.com
to appear as the sender on all messages sent out of
our application. Instead, sender appears as josel@domain.com

What am I missing? Why is this not working? I even
hashed my genericstable and created genericstable.db and
still cannot get it to do what I want.

Please help!

Thanks;


Jose Lerebours



KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
I don't think it works this way.

My understanding of the alias file + sendmail is:

When sendmail receives a mail for whomever@wherever it looks at the /etc/alias file.

if an entry for whomever exists (whomever: joe,frank@differentdomain), it will forward that incoming mail to joe@whereever and to frank@differentdomain.

If you want to affect the outgoing message I think you need to look at masquerading, but I could be wrong.

Cheers
 
OK!

So, how does this masquerading work? Can it be that I described masquedating and referred to it as aliasing?

I copied my /usr/lib/aliases file /etc/alias ... Lets see what happens. To foward, I use /usr/username/.forward, it works. I can even set a dist list this way (lazy but functional).

Any body, please, throw me a bone!!!!

Thanks;


Jose Lerebours


KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top