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!

local-host-names?

Status
Not open for further replies.

martynh

Technical User
Oct 17, 2001
73
GB
We have a simple requirement. We have Bugzilla configured to send email to our internet mail addresses, e.g. martyn.hodgson@mycompany.com. However at the moment we just want the server running Bugzilla to send these messages to the local user accounts, e.g. martyn@buzillaserver.lan without reference to the internet.

I thought that all I had to do was add an entry to the local-host-names saying:

mycompany.com

and an entry in /etc/aliases saying:

martyn.hodgson@bugzilla.lan: martyn

However, this doesn't work. Does anyone know what I'm doing wrong?

Thanks

Martyn Hodgson
 
No, that doesn't work because martyn.hodgson is not a local user and I believe that /etc/aliases is only for local users.

I have also tried putting an entry in /etc/mail/virtusertable of:

martyn.hodgson@iipay.com martyn

This didn't work either!
 
That is the whole point of the aliases file - it maps names that are not actual users to actual users ...

--------------------------------------------------
Free Database Connection Pooling Software
 
Don't forget to run /usr/bin/newaliases after aswell

--------------------------------------------------
Free Database Connection Pooling Software
 
For posterity:

We (or rather a colleague) solved our problem. It required entries in local-host-names for the various domains and an entry in virtusertable for each user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top