Mail server not working help please :)

garethhall

New member
Joined
Jan 25, 2010
Messages
4
Hi,

I have just gotten DA and have set it up on my VPS. I have setup a few domains and the DNS server. This all seems to run fine, however.

I am having issues to get the mail server to work.

When I send mail from gmail to the vps I get this error
"The error that the other server returned was: 550 550 No Such User Here"

And when I send mail from the VPS using SquirrelMail I get this error
"Message not sent. Server replied:
Bad sequence of commands
503 5.3.3 AUTH not available"


I have checked all in document
http://help.directadmin.com/item.php?id=16

The only thing that seem to be missing is point 7!

Here is what I see in terminal
"
server:~# cd /var/spool/virtual/
server:/var/spool/virtual# ls -al
total 8
drwxrwxrwt 2 mail mail 4096 Jan 22 09:50 .
drwxr-xr-x 6 root root 4096 Jan 22 09:50 ..
server:/var/spool/virtual#
"
If I understand the doc correctly I should be seeing a list of my domains in /var/spool/virtual but I am not.

Is my understanding correct?
How can I rectify this and get my mail server to work?
How can I test my mail server from terminal?
And the simplest question DA does have a mail server right I don't need to install anything extra?

Many thanks

Gareth
 
Thank you for your reply

I applied the update and patches but still have the same error.

Mainlog has a lot enties like this:
"
2010-01-26 03:10:57 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned
2010-01-26 03:11:01 socket bind() to port 25 for address (any IPv4) failed: Address already in use: waiting 30s before trying again (9 more tries)
2010-01-26 03:11:31 socket bind() to port 25 for address (any IPv4) failed: Address already in use: waiting 30s before trying again (8 more tries)
2010-01-26 03:12:01 socket bind() to port 25 for address (any IPv4) failed: Address already in use: waiting 30s before trying again (7 more tries)
2010-01-26 03:12:31 socket bind() to port 25 for address (any IPv4) failed: Address already in use: waiting 30s before trying again (6 more tries)
2010-01-26 03:13:01 socket bind() to port 25 for address (any IPv4) failed: Address already in use: waiting 30s before trying again (5 more tries)
2010-01-26 03:13:31 socket bind() to port 25 for address (any IPv4) failed: Address already in use: waiting 30s before trying again (4 more tries)

"
 
From a root shell run:
Code:
# lsof -i :25
to see which processes are bound to port 25.
Remember, you don't type the # character; it's just there to remind you that you need to be root.

If you don't have the lsof program installed on your server, install it.

Jeff
 
Back
Top