Multiple domains, Cyrus won't listen!
Ray Anderson
rsa at i-deasatwork.com
Wed Sep 11 22:45:06 EDT 2002
That's the big mystery. It looks like it's not firing up the imap and pop
daemons...
Whenever I start up cyrus, the log just says
Sep 11 16:33:10 mad_hatter_iii master[3101]: process started
Sep 11 16:33:10 mad_hatter_iii master[3101]: ready for work
That's it, nothing more. No DB Checking, checkpointing, nothing.
netstat -an shows
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:1024 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 20 192.168.9.4:22 192.168.9.252:3977
ESTABLISHED
udp 0 0 0.0.0.0:1024 0.0.0.0:*
udp 0 0 192.168.9.4:137 0.0.0.0:*
udp 0 0 192.168.9.7:137 0.0.0.0:*
udp 0 0 192.168.9.8:137 0.0.0.0:*
udp 0 0 0.0.0.0:137 0.0.0.0:*
udp 0 0 192.168.9.4:138 0.0.0.0:*
udp 0 0 192.168.9.7:138 0.0.0.0:*
udp 0 0 192.168.9.8:138 0.0.0.0:*
udp 0 0 0.0.0.0:138 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 1348
/var/state/saslauthd/mux
unix 2 [ ACC ] STREAM LISTENING 1574
/var/lib/mysql/mysql.sock
unix 2 [ ACC ] STREAM LISTENING 1597
/tmp/.font-unix/fs7100
unix 12 [ ] DGRAM 928 /dev/log
unix 2 [ ] DGRAM 15468
unix 2 [ ] DGRAM 1709
unix 2 [ ] DGRAM 1607
unix 2 [ ] DGRAM 1522
unix 2 [ ] DGRAM 1491
unix 2 [ ] DGRAM 1399
unix 2 [ ] DGRAM 1327
unix 2 [ ] DGRAM 1135
unix 2 [ ] DGRAM 996
unix 2 [ ] DGRAM 937
?????
-=Ray
---------------------------------------------------
Ray Anderson
Senior Business Analyst
Office: 916.788.2444
Cell: 916.798.9439
PRIDE Industries
rsa at prideindustries.com
http://www.prideindustries.com
---------------------------------------------------
> > You need to specify for each domain wich ip to bind to, for example:
> >
> > SERVICES {
> > # tviund.is
> > imap cmd="imapd -C /etc/imapd.conf"
> > listen="194.144.146.145:imap"
> > prefork=1
> > pop3 cmd="pop3d -C /etc/imapd.conf"
> > listen="194.144.146.145:pop3"
> > prefork=1
> > sieve cmd="timsieved -C /etc/imapd.conf"
> > listen="194.144.146.145:sieve" prefork=0
> > lmtpunix cmd="lmtpd -C /etc/imapd.conf"
> > listen="/var/imap/socket/lmtp" prefork=1
> >
> >
> > etc. etc.
> >
> > --
> > Veigar Freyr Jökulsson
> > veigar at tviund.is
> >
>
> Thank you for your reply, however I've tried it with the hostname, the ip
> address, and the bracketed ip address as shown below:
>
> > > # UNIX sockets start with a slash and are put into /var/imap/socket
> > > SERVICES
> > > {
> > > # domain1
> > > imap-d1 cmd="imapd -C /etc/cyrus/domain1.conf"
> listen="d1.localdomain.com:imap" prefork=1
> > > pop3-d1 cmd="pop3d -C /etc/cyrus/domain1.conf"
> listen="d1.localdomain.com:pop3" prefork=1
> > > lmtpunix-d1 cmd="lmtpd -C /etc/cyrus/domain1.conf"
> listen="/var/imap/domain1.com/socket/lmtp" prefork=1
> > >
>
> Still no joy.
>
> ????
>
>
> Thanks!
>
> -=Ray
Could there be one instance of imapd/pop3 that is binding to any available
address,
you should se something similar to:
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
in netstat....
Is there nothing in the logs ?
--
Veigar Freyr Jökulsson
veigar at tviund.is
More information about the Info-cyrus
mailing list