Email Server problem - Dovecot?

lseawell

Verified User
Joined
Jul 2, 2006
Messages
14
Hello -

I believe this may have been previously address, but it's over my head so, my apologies.
Since the system (centos 5.1) has been reinstalled and all accounts restored, Nobody can connect to the mail server via pop3 email clients.
Error = "Server disconnected unexpectiedly."
The mail queue is filling up.

The following is the sole entry in the Exim Panic Log - /var/log/exim/paniclog:
008-05-05 00:08:53 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned.

DA support says,
That means there is already a smtp program listening on port 25.
Type:
netstat -lnp | grep 25
to see what's currently listening. Stop it, then start exim.

That command reveals:
[root@server ~]# netstat -lnp | grep 25
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2575/cupsd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 6213/exim
udp 0 0 0.0.0.0:631 0.0.0.0:* 2575/cupsd
unix 2 [ ACC ] STREAM LISTENING 5450 2498/dovecot /var/run/dovecot/auth-worker.2502
unix 2 [ ACC ] STREAM LISTENING 5821 2575/cupsd /var/run/cups/cups.sock
[root@server ~]#

But I don't know how or WHAT to stop or even restart exim unless I use the DA control panel.

Additionally, it looks like the Dovecot service on the new setup replaced the vm-pop3d service on the *crashed* system and now the exim logs are full of errors like this:

2008-05-05 08:19:03 [email protected] R=virtual_user T=virtual_localdelivery defer (13): Permission denied: stat() error for /home/ggtvadmin/imap/gogreentaxiva.com/gogreen/Maildir: Permission denied

Any ideas? Do the user directories from the restored accounts require permission adjustments?

TIA
 
Last edited:
Try to run the fix permissions program:

cd /usr/local/directadmin/scripts
./set_permissions.sh email
 
Back
Top