BSD Hostname and Mail question.

Soldato
Joined
26 Oct 2002
Posts
3,706
Location
Surrey
Hi,

When I do:

# uname -a

I get

# thor.thor.mogmail.net

Now this server is meant to be called thor so shouldn't the uname be thor.mogmail.net? Why have I got an extra thor and how do I get rid of it? :)

Secondly I'm trying to test qmail with:

# uname -a | mail [email protected]

I get

# Mail: /usr/sbin/sendmail: No such file or directory

I've removed Sendmail completely but why is mail trying to use Sendmail, shouldn't it be using qmail?

Thanks for any help :)

-=R4z0r

Thanks,

-=R4z0r
 
Last edited:
Thanks for the reply. I should have made it clearer, I'm using OpenBSD.

I can't find any trace of my hostname is rc.local :(

And /stand/sysinstall dosen't exist :(

What's the commend to search every file on the HDD for a word? Maybe I could find "thor" or hostname to change it?
 
Thanks mate, I actually found it about 20 seconds after posting, doh! I'm gettign really lazy with this forum and asking easy questions withought looking into it! Thanks for replying though :)

I've also managed to sort out the sendmail issue as well I think! The guide I was using didn't seem to mention editing "mail"'s config to reflect the change to qmail! Oh well!

So far so good though, I installed OpenBSD to learn how to make a mailserver and so far I've learnt quite a bit! :p

-=R4z0r
 
LOL! :)

I still prefer Open tohugh :D I used FreeBSD before and must admit I didn't get on with it although I didn't try it for that long...

OpenBSD just feels cleaner to me, and I like being a bit different. The security is a plus for me as I couldn't lock down a box myself so the secure out of the box is just what I need!
 
Back
Top Bottom