On Wed, 12 Aug 2015, Alexander Dalloz wrote: >> I have been working at trying to get cyrus to listen on 148.197.29.5 >> interface instead of the localhost - I have failed >> > No square brackets around the ip address. imap cmd="imapd" listen="imap" prefork=5 # imaps cmd="imapd -s" listen="imaps" prefork=1 imaps cmd="imapd -s" listen="148.197.29.5:imaps" prefork=1 pop3 cmd="pop3d" listen="pop3" prefork=3 [root at maui:/var/log]$ gedit /etc/cyrus.conf [root at maui:/var/log]$ service cyrus-imapd stop Shutting down cyrus-imapd: [ OK ] Exporting cyrus-imapd databases: [ OK ] [root at maui:/var/log]$ service cyrus-imapd start Importing cyrus-imapd databases: [ OK ] Starting cyrus-imapd: [ OK ] [root at maui:/var/log]$ ps -ef|grep cyrus cyrus 31699 1 0 19:13 ? 00:00:00 /usr/lib/cyrus-imapd/cyrus-master -d cyrus 31703 1 0 19:13 ? 00:00:00 idled cyrus 31705 31699 0 19:13 ? 00:00:00 imapd cyrus 31706 31699 0 19:13 ? 00:00:00 pop3d cyrus 31707 31699 0 19:13 ? 00:00:00 pop3d -s cyrus 31708 31699 0 19:13 ? 00:00:00 lmtpd -a cyrus 31709 31699 0 19:13 ? 00:00:00 imapd cyrus 31710 31699 0 19:13 ? 00:00:00 pop3d cyrus 31712 31699 0 19:13 ? 00:00:00 imapd cyrus 31713 31699 0 19:13 ? 00:00:00 imapd cyrus 31714 31699 0 19:13 ? 00:00:00 imapd cyrus 31715 31699 0 19:13 ? 00:00:00 pop3d root 31717 3627 0 19:13 pts/1 00:00:00 grep cyrus [root at maui:/var/log]$ ip a l 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:30:1b:a0:4d:cc brd ff:ff:ff:ff:ff:ff inet 148.197.29.5/24 brd 148.197.29.255 scope global eth0 inet6 fe80::230:1bff:fea0:4dcc/64 scope link valid_lft forever preferred_lft forever >> Then no "imapd -s" appears >> >> I have tried all sorts of combinations in cyrus.conf but all fail >> to LISTEN on 148.197.29.5 > > Make sure the IP address 148.197.29.5 is definitely up on any of the system's > devices. Verify running "ip address list". See above >> Why will cyrus not listen on 148.197.29.5 ? > > I am sure it is because that IP address isn't bound to any device. I must be missing something very obvious ! John A few extra tests [root at maui:/var/log]$ nmap -A -T4 -p 993 127.0.0.1 Starting Nmap 5.51 ( http://nmap.org ) at 2015-08-12 19:23 BST Nmap scan report for localhost.localdomain (127.0.0.1) Host is up (0.000049s latency). PORT STATE SERVICE VERSION 993/tcp closed imaps Too many fingerprints match this host to give specific OS details Network Distance: 0 hops OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 2.12 seconds ------------------------------------------------------------------------ [root at maui:/var/log]$ nmap -A -T4 -p 993 148.197.29.5 Starting Nmap 5.51 ( http://nmap.org ) at 2015-08-12 19:23 BST Nmap scan report for maui.jaa.org.uk (148.197.29.5) Host is up (0.000051s latency). PORT STATE SERVICE VERSION 993/tcp closed imaps Too many fingerprints match this host to give specific OS details Network Distance: 0 hops OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 2.16 seconds ------------------------------------------------------------------------ [root at maui:/var/log]$ nmap -A -T4 -p 993 maui Starting Nmap 5.51 ( http://nmap.org ) at 2015-08-12 19:20 BST Nmap scan report for maui (127.0.0.1) Host is up (0.000052s latency). Other addresses for maui (not scanned): 127.0.0.1 148.197.29.5 rDNS record for 127.0.0.1: localhost.localdomain PORT STATE SERVICE VERSION 993/tcp closed imaps Too many fingerprints match this host to give specific OS details Network Distance: 0 hops OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 2.14 seconds ------------------------------------------------------------------------ >From another machine [root at paxos:~]$ nmap -A -T4 -p 993 maui Starting Nmap 6.47 ( http://nmap.org ) at 2015-08-12 19:27 BST Nmap scan report for maui (148.197.29.5) Host is up (0.00016s latency). PORT STATE SERVICE VERSION 993/tcp closed imaps MAC Address: 00:30:1B:A0:4D:CC (Shuttle) Too many fingerprints match this host to give specific OS details Network Distance: 1 hop TRACEROUTE HOP RTT ADDRESS 1 0.16 ms 148.197.29.5 OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 1.84 seconds