Author Topic: Secure mail not working after restart  (Read 2253 times)

benja

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Secure mail not working after restart
« on: September 25, 2008, 11:26:25 am »

I've installed eBox 0.11.101 on Ubuntu 8.04 LTS Server running as a guest on VMware ESXi.
I'm using modules: networking, users and group, file server and mail.

The system installs and works perfectly well first up.
I can send and receive mail using SSL.

After restarting the system mail over SSL stops working.
Outlook doesn't connect and I can't telnet to port 995.

I've captured snapshots and run "netstat -tap". It looks like pop3s and authdaemon are not running.
The only error that appears during the startup process is one about the Short Name (NAME) missing from \etc\default\saslauthd

I've tried stopping and restarting services with no luck.
I've installed eBox again and replicated the issue.

I've saved the netstat output below.

Any ideas to get this working?


Before a restart (after installation):

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:5347                  *:*                     LISTEN      12514/jabberd2-rout
tcp        0      0 *:ldap                  *:*                     LISTEN      17083/slapd     
tcp        0      0 *:xmpp-client           *:*                     LISTEN      12534/jabberd2-c2s
tcp        0      0 localhost:10024         *:*                     LISTEN      12721/amavisd (mast
tcp        0      0 localhost:mysql         *:*                     LISTEN      4163/mysqld     
tcp        0      0 *:netbios-ssn           *:*                     LISTEN      13437/smbd     
tcp        0      0 *:www                   *:*                     LISTEN      4271/apache2   
tcp        0      0 *:ssmtp                 *:*                     LISTEN      19248/master   
tcp        0      0 *:xmpp-server           *:*                     LISTEN      12529/jabberd2-s2s
tcp        0      0 box.fusefarm.com:domain *:*                     LISTEN      8634/named     
tcp        0      0 localhost:domain        *:*                     LISTEN      8634/named     
tcp        0      0 localhost:ipp           *:*                     LISTEN      7786/cupsd     
tcp        0      0 localhost:postgresql    *:*                     LISTEN      10474/postgres 
tcp        0      0 *:3128                  *:*                     LISTEN      8474/(squid)   
tcp        0      0 *:smtp                  *:*                     LISTEN      19248/master   
tcp        0      0 localhost:953           *:*                     LISTEN      8634/named     
tcp        0      0 *:https                 *:*                     LISTEN      15467/apache2   
tcp        0      0 *:microsoft-ds          *:*                     LISTEN      13437/smbd     
tcp        0      0 localhost:ldap          localhost:33043         ESTABLISHED 17083/slapd     
tcp        0      0 localhost:ldap          localhost:33039         ESTABLISHED 17083/slapd     
tcp        0      0 localhost:33039         localhost:ldap          ESTABLISHED 19449/smtpd     
tcp        0      0 localhost:33034         localhost:ldap          ESTABLISHED 17707/saslauthd
tcp        0      0 box.fusefarm.com:https  203-206-178-158.p:65014 ESTABLISHED 15615/apache2   
tcp        0      0 localhost:ldap          localhost:33041         ESTABLISHED 17083/slapd     
tcp        0      0 localhost:ldap          localhost:33034         ESTABLISHED 17083/slapd     
tcp        0      0 localhost:ldap          localhost:33037         ESTABLISHED 17083/slapd     
tcp        0      0 localhost:5347          localhost:60379         ESTABLISHED 12514/jabberd2-rout
tcp        0      0 localhost:41007         localhost:ldap          ESTABLISHED 17705/saslauthd
tcp        0      0 localhost:ldap          localhost:41011         ESTABLISHED 17083/slapd     
tcp        0      0 localhost:5347          localhost:60380         ESTABLISHED 12514/jabberd2-rout
tcp        0      0 localhost:33038         localhost:ldap          ESTABLISHED 19452/trivial-rewri
tcp        0      0 localhost:33041         localhost:ldap          ESTABLISHED 19455/virtual   
tcp        0      0 localhost:ldap          localhost:33038         ESTABLISHED 17083/slapd     
tcp        0      0 localhost:60377         localhost:5347          ESTABLISHED 12519/jabberd2-reso
tcp        0      0 localhost:60378         localhost:5347          ESTABLISHED 12524/jabberd2-sm
tcp        0      0 localhost:33043         localhost:ldap          ESTABLISHED 19458/smtpd     
tcp        0      0 localhost:5347          localhost:60378         ESTABLISHED 12514/jabberd2-rout
tcp        0      0 localhost:60380         localhost:5347          ESTABLISHED 12534/jabberd2-c2s
tcp        0      0 localhost:33042         localhost:ldap          ESTABLISHED 17708/saslauthd
tcp        0      0 localhost:5347          localhost:60377         ESTABLISHED 12514/jabberd2-rout
tcp        0      0 localhost:ldap          localhost:33042         ESTABLISHED 17083/slapd     
tcp        0      0 localhost:41011         localhost:ldap          ESTABLISHED 19391/authdaemond
tcp        0      0 localhost:60379         localhost:5347          ESTABLISHED 12529/jabberd2-s2s
tcp        0      0 box.fusefarm.com:smtp   118.127.5.100:1485      TIME_WAIT   -               
tcp        0      0 localhost:ldap          localhost:41007         ESTABLISHED 17083/slapd     
tcp        0      0 localhost:ldap          localhost:33040         ESTABLISHED 17083/slapd     
tcp        0      0 box.fusefarm.com:https  203-206-178-158.p:65015 ESTABLISHED 15614/apache2   
tcp        0      0 localhost:33037         localhost:ldap          ESTABLISHED 19387/authdaemond
tcp        0      0 localhost:33040         localhost:ldap          ESTABLISHED 19454/cleanup   
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      14766/couriertcpd
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      14675/couriertcpd
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      19294/couriertcpd
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      19340/couriertcpd
tcp6       0      0 [::]:domain             [::]:*                  LISTEN      8634/named     
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      16463/sshd     
tcp6       0      0 ip6-localhost:953       [::]:*                  LISTEN      8634/named     



After restarting:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:5347                  *:*                     LISTEN      6079/jabberd2-route
tcp        0      0 *:ldap                  *:*                     LISTEN      4436/slapd     
tcp        0      0 *:xmpp-client           *:*                     LISTEN      6099/jabberd2-c2s
tcp        0      0 localhost:10024         *:*                     LISTEN      4249/amavisd (maste
tcp        0      0 localhost:mysql         *:*                     LISTEN      4325/mysqld     
tcp        0      0 *:netbios-ssn           *:*                     LISTEN      5974/smbd       
tcp        0      0 *:www                   *:*                     LISTEN      6192/apache2   
tcp        0      0 *:ssmtp                 *:*                     LISTEN      5739/master     
tcp        0      0 *:xmpp-server           *:*                     LISTEN      6094/jabberd2-s2s
tcp        0      0 box.fusefarm.com:domain *:*                     LISTEN      4176/named     
tcp        0      0 localhost:domain        *:*                     LISTEN      4176/named     
tcp        0      0 localhost:ipp           *:*                     LISTEN      4885/cupsd     
tcp        0      0 *:3128                  *:*                     LISTEN      6117/(squid)   
tcp        0      0 localhost:postgresql    *:*                     LISTEN      4412/postgres   
tcp        0      0 *:smtp                  *:*                     LISTEN      5739/master     
tcp        0      0 localhost:953           *:*                     LISTEN      4176/named     
tcp        0      0 *:https                 *:*                     LISTEN      5907/apache2   
tcp        0      0 *:microsoft-ds          *:*                     LISTEN      5974/smbd       
tcp        0      0 localhost:5347          localhost:52282         ESTABLISHED 6079/jabberd2-route
tcp        0      0 localhost:5347          localhost:52281         ESTABLISHED 6079/jabberd2-route
tcp        0      0 localhost:40401         localhost:ldap          ESTABLISHED 6251/smtpd     
tcp        0      0 localhost:ldap          localhost:40401         ESTABLISHED 4436/slapd     
tcp        0      0 box.fusefarm.com:https  203-206-178-158.p:65006 ESTABLISHED 5969/apache2   
tcp        0      0 localhost:52282         localhost:5347          ESTABLISHED 6099/jabberd2-c2s
tcp        0      0 localhost:52279         localhost:5347          ESTABLISHED 6084/jabberd2-resol
tcp        0      0 localhost:52280         localhost:5347          ESTABLISHED 6089/jabberd2-sm
tcp        0      0 localhost:52281         localhost:5347          ESTABLISHED 6094/jabberd2-s2s
tcp        0      0 localhost:5347          localhost:52280         ESTABLISHED 6079/jabberd2-route
tcp        0      0 localhost:5347          localhost:52279         ESTABLISHED 6079/jabberd2-route
tcp        0      0 box.fusefarm.com:https  203-206-178-158.p:65007 ESTABLISHED 5973/apache2   
tcp        0      0 localhost:40400         localhost:ldap          TIME_WAIT   -               
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      4835/couriertcpd
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      5773/couriertcpd
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      5805/couriertcpd
tcp6       0      0 [::]:domain             [::]:*                  LISTEN      4176/named     
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      5101/sshd       
tcp6       0      0 ip6-localhost:953       [::]:*                  LISTEN      4176/named     



Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Secure mail not working after restart
« Reply #1 on: September 25, 2008, 05:49:29 pm »
Hi,
  have you tried the port 110?. eBox admits pops in the regular pop port, too.
  Other question, before the restart you changed any setting or that was only a system restart for another reason?

benja

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Secure mail not working after restart
« Reply #2 on: September 26, 2008, 03:58:22 am »

Thanks for the reply.

I can receive mail without SSL (port 110). I would prefer to have SSL enabled.
I can send mail with SSL enabled.

I didn't change any settings on the server. I have a snapshot directly after the installation and can replicate the issue by restarting the machine.

Any ideas?

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Secure mail not working after restart
« Reply #3 on: September 26, 2008, 11:00:51 am »
Hi Benja,

First of all, thanks for a very detailed explanation of your issue.

Is there any chance you could try install our latest version to reproduce the issue?

The one which can be installed from:

deb http://ppa.launchpad.net/ebox-unstable/ubuntu hardy main

benja

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Secure mail not working after restart
« Reply #4 on: September 26, 2008, 11:05:08 am »

I tried 0.12 and replicated the issue again.

Any ideas?



javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Secure mail not working after restart
« Reply #5 on: September 26, 2008, 11:47:50 am »
Gonna try reproduce it here right away

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Secure mail not working after restart
« Reply #6 on: September 26, 2008, 03:15:16 pm »
Hi,

I've just uploaded ebox-mail 0.12.2 that solves this issue. Please can you confirm it works for you?

benja

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Secure mail not working after restart
« Reply #7 on: September 26, 2008, 04:53:28 pm »
Sorry for the stupid question.

But how do I install v0.12.2??

I tried:
apt-get update

Then reinstalling via:
deb http://ppa.launchpad.net/juruen/ubuntu hardy main
deb http://ppa.launchpad.net/ebox-unstable/ubuntu hardy main
deb http://ppa.launchpad.net/ebox/ubuntu hardy main

But I kept getting v.11.99

Thanks

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Secure mail not working after restart
« Reply #8 on: September 26, 2008, 05:02:05 pm »
Can you post the output of:

Code: [Select]
apt-cache policy ebox-mail
 

benja

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Secure mail not working after restart
« Reply #9 on: September 26, 2008, 06:07:39 pm »
Great. It works.
Thanks so much.

Did an apt-get update & apt-get upgrade and restarted.
SSL working perfectly.

The apt-cache policy ebox-mail shows:

ebox-mail:
  Installed: 0.12.2-0ubuntu1~ppa1~hardy1
  Candidate: 0.12.2-0ubuntu1~ppa1~hardy1
  Version table:
 *** 0.12.2-0ubuntu1~ppa1~hardy1 0
        500 http://ppa.launchpad.net hardy/main Packages
        100 /var/lib/dpkg/status

Thanks again

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Secure mail not working after restart
« Reply #10 on: September 26, 2008, 06:24:29 pm »
Glad to hear that and thank you very much for letting us know the issue :)