Re: sync_server refused connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29/01/13 16:16, Patrick Boutilier wrote:
>
> What are the contents of /etc/hosts.allow and /etc/hosts.deny ?
>
>
>
Sorry, been away on something else. I thought for a second there that's 
what it would be but it isn't. I've appended config file output and some 
other information below.

# cat /etc/hosts.{allow,deny}
#
# /etc/hosts.allow
#

sshd:ALL
imap:ALL
csync:ALL

# End of file
#
# /etc/hosts.deny
#

ALL: ALL

# End of file

# grep csync /etc/services
csync 2005/tcp # Cyrus-IMAP replication

# telnet localhost csync
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

# systemctl status cyrus-master
cyrus-master.service - Cyrus IMAP mail server
Loaded: loaded (/etc/systemd/system/cyrus-master.service; enabled)
Active: active (running)
Process: 217 ExecStart=/usr/lib/cyrus/bin/master -d (code=exited, 
status=0/SUCCESS)
Main PID: 221 (master)
CGroup: name=systemd:/system/cyrus-master.service
├─221 /usr/lib/cyrus/bin/master -d
└─390 /usr/lib/cyrus/bin/sync_server

Jan 31 09:58:29 sodium ctl_cyrusdb[226]: recovering cyrus databases
Jan 31 09:58:30 sodium ctl_cyrusdb[226]: skiplist: checkpointed 
/srv/mail/cyrus/mailboxe...ond
Jan 31 09:58:30 sodium ctl_cyrusdb[226]: skiplist: checkpointed 
/srv/mail/cyrus/annotati...nds
Jan 31 09:58:30 sodium master[221]: unable to setsocketopt(IP_TOS): 
Operation not supported
Jan 31 09:58:30 sodium master[221]: ready for work
Jan 31 09:58:30 sodium master[282]: about to exec 
/usr/lib/cyrus/bin/ctl_cyrusdb
Jan 31 09:58:30 sodium ctl_cyrusdb[282]: checkpointing cyrus databases
Jan 31 09:58:30 sodium ctl_cyrusdb[282]: archiving database file: 
/srv/mail/cyrus/mailboxes.db
Jan 31 09:58:30 sodium ctl_cyrusdb[282]: archiving database file: 
/srv/mail/cyrus/annota....db
Jan 31 09:58:31 sodium master[221]: process 282 exited, status 0
Jan 31 10:02:45 sodium master[390]: about to exec 
/usr/lib/cyrus/bin/sync_server
Jan 31 10:02:46 sodium syncserver[390]: executed
Jan 31 10:02:46 sodium syncserver[390]: refused connection from 127.0.0.1

------------------------------------------------------------
Cyrus configs:

#cat /etc/cyrus/cyrus.conf
# standard standalone server implementation

START {
# do not delete this entry!
recover cmd="ctl_cyrusdb -r"

# this is only necessary if using idled for IMAP IDLE
# idled cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
# imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
# pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0

# these are only necessary if receiving/exporting usenet via NNTP
# nntp cmd="nntpd" listen="nntp" prefork=0
# nntps cmd="nntpd -s" listen="nntps" prefork=0

# at least one LMTP is required for delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/srv/mail/cyrus/socket/lmtp" prefork=0

# this is required if using notifications
# notify cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" 
prefork=1

syncserver cmd="/usr/lib/cyrus/bin/sync_server" listen="csync"
}

EVENTS {
# this is required
checkpoint cmd="ctl_cyrusdb -c" period=30

# this is only necessary if using duplicate delivery suppression,
# Sieve or NNTP
delprune cmd="cyr_expire -E 3" at=0400

# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400
}

------------------------------------------------------------

# cat /etc/cyrus/imapd.conf
configdirectory: /srv/mail/cyrus
partition-default: /srv/mail/cyrus/mail
admins: cyrus
sasl_pwcheck_method: saslauthd
sasl_saslauthd_path: /var/run/saslauthd/mux
sasl_mech_list: PLAIN
allowplaintext: yes
altnamespace: yes
unixhierarchysep: yes
virtdomains: userid
defaultdomain: mydomain.com
hashimapspool: true

------------------------------------------------------------



----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux