Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a win7 host running ubuntu guest through vbox. it is configured with a bridged network adapter and I am using DHCP to assign an ip of 192.168.0.5 to the guest which is mapped to smartstart.dev in my windows hosts file. I havent done anything to hosts on the ubuntu side.

I am testing a website and need sendmail working. I have installed sendmail, but the mails aren't being sent. When i look through the mail error logs I can see lots of lines like this:

Jan 14 17:00:01 djw-ss sm-msp-queue[2771]: My unqualified host name (djw-ss) unknown; sleeping for retry
Jan 14 17:01:02 djw-ss sm-msp-queue[2771]: unable to qualify my own domain name (djw-ss) -- using short name

Can anyone tell me how to get this working? Strange thing is I have a similar setup on another vb - I dont think I've done anything different and it works just fine out of the box.

share|improve this question

1 Answer

djw-ss should resolve to your computer.

The easier way is to add djw-ss to you host file (in Ubuntu) as 127.0.0.1 alias.

share|improve this answer
Sorry for the delay in trying this. I have included djw-ss as an alias. But djw-ss was already an entry as 127.0.1.1, I have commented this out and done as you suggested but sendmail, still isn't working. I'm getting the same entries in the error log. – WebweaverD Jan 29 at 14:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.