[Dovecot] "dovecot dead but subsys locked" problem
Hi,
Following the advice of someone really helpfull here, I just installed Postfix/Dovecot (from rpms). I'm running CentOs 4.4. I followed this guide: http://www.howtoforge.com/linux_postfix_virtual_hosting
I've got two problems, a)my server is now listed as RCB, whatever that means, I suppose that's close to spamming. "0: Connection refused. Your IP address is blocked(Spamhaus XBL) - see http://www.spamhaus.org/query/bl?ip=216.32.68.90 "
b)[root@server ssl]# /etc/init.d/dovecot restart Stopping Dovecot Imap: [FAILED] Starting Dovecot Imap: [ OK ]
[root@server ssl]# /etc/init.d/dovecot status dovecot dead but subsys locked
I deleted the sybsys file and tried to restart it. It crashes and show the error agsin. The logs don't show up anything unusual.
I also see in the logs: Oct 25 22:50:07 server postfix/virtual[24712]: 48BA5904990: to=<carlatf@ithaki.net>, relay=virtual, delay=1, status=deferred (mailbox /var/spool/vmail/ithaki.net/carlatf: cannot open file: Is a directory) Of course it's a directory!. I created it following the guide!
I reinstalled Dovecot with the latest sources and nothing. I also turn off SSL from dovecot's config file, nothing.
Any ideas dovecot gurus!?
Best regards, Carla
Carla Tironi Farinati schrieb:
Hi,
Following the advice of someone really helpfull here, I just installed Postfix/Dovecot (from rpms). I'm running CentOs 4.4. I followed this guide: http://www.howtoforge.com/linux_postfix_virtual_hosting
I've got two problems, a)my server is now listed as RCB, whatever that means, I suppose that's close to spamming. "0: Connection refused. Your IP address is blocked(Spamhaus XBL) - see http://www.spamhaus.org/query/bl?ip=216.32.68.90 "
That is bad news; you probably built an open relay. Check the numerous postfix docs no how to avoid being an open relay - especially configure your server to use an AUTH mechanism if it is located in the open internet. It is not difficult to secure a postfix server, but you need to understand how SMTP works. Probably you should do this BEFORE you configure virtual domains and use it for mass mail serving because it will be hard to get your server off some of the lists again and in this state you will not be able to send much mail. But this all is really off-topic for an IMAP server list.
b)[root@server ssl]# /etc/init.d/dovecot restart Stopping Dovecot Imap: [FAILED] Starting Dovecot Imap: [ OK ]
[root@server ssl]# /etc/init.d/dovecot status dovecot dead but subsys locked
I'm not familiar with CentOS - did you try to build DC from source? That way you avoid problems with libraries not matching exactly.
I also see in the logs: Oct 25 22:50:07 server postfix/virtual[24712]: 48BA5904990: to=<carlatf@ithaki.net>, relay=virtual, delay=1, status=deferred (mailbox /var/spool/vmail/ithaki.net/carlatf: cannot open file: Is a directory) Of course it's a directory!. I created it following the guide!
Yes, but probably you did not tell postfix that you want to use Maildir as format for your mailboxes. But again : these questions can best be answered on a postfix list.
I reinstalled Dovecot with the latest sources and nothing. I also turn off SSL from dovecot's config file, nothing.
Did you try to build DC without SSL using --without-ssl ? Is th IP address you want to use assigned to an NIC? Are the ports free ? What happens when you do a telnet to port143 when dovecot is _NOT_ running ?
Jakob Curdes
On Fri, Oct 27, 2006 at 09:43:47PM +0200, Jakob Curdes wrote:
Carla Tironi Farinati schrieb:
I've got two problems, a)my server is now listed as RCB, whatever that means, I suppose that's close to spamming. "0: Connection refused. Your IP address is blocked(Spamhaus XBL) - see http://www.spamhaus.org/query/bl?ip=216.32.68.90 "
That is bad news; you probably built an open relay. Check the numerous postfix docs no how to avoid being an open relay - especially configure your server to use an AUTH mechanism if it is located in the open internet.
well... when I followed that link, it got me here:
http://cbl.abuseat.org/namingproblems.html
which is about mail servers using bogus HELO names (like "friend" or "mark" or "fihjjnjk"). I'm surprised (and skeptical, even) that postfix would be responsible for that. Perhaps there is something else doing direct SMTP connections from that system? At any rate it isn't a dovecot thing.
mm
On Fri, October 27, 2006 3:43 pm, Jakob Curdes wrote:
Carla Tironi Farinati schrieb:
Following the advice of someone really helpfull here, I just installed Postfix/Dovecot (from rpms). I'm running CentOs 4.4. I followed this guide: http://www.howtoforge.com/linux_postfix_virtual_hosting
I've got two problems, a)my server is now listed as RCB, whatever that means, I suppose that's close to spamming. "0: Connection refused. Your IP address is blocked(Spamhaus XBL) - see http://www.spamhaus.org/query/bl?ip=216.32.68.90 "
That is bad news; you probably built an open relay. [...] But this all is really off-topic for an IMAP server list.
If you follow the trail of links you'll see that the problem is *not* open relaying. It is that the name the server is attempting to greet with does not resolve to its IP address. The page that Spamhaus eventually points to with specific information about why the IP address is listed and how to deal with it is http://cbl.abuseat.org/namingproblems.html
Jim
Jim Trigg schrieb:
If you follow the trail of links you'll see that the problem is *not* open relaying. It is that the name the server is attempting to greet with does not resolve to its IP address. The page that Spamhaus eventually points to with specific information about why the IP address is listed and how to deal with it is http://cbl.abuseat.org/namingproblems.html
OK, I'm beaten :-) - there are many reasons you can get on these lists, not just open relaying. And there are even more errors you can make when configuring your mailserver (or the DNS/MX resolution for it) that can prevent receiving mail or sending mail or both. Hostname configuration is only a small part of it. But here we really get out of an imap-related discussion.
JC
participants (4)
-
Carla Tironi Farinati
-
Jakob Curdes
-
Jim Trigg
-
Mark E. Mallett