Upgraded from ubuntu 10.04 to 12.04

pop, imap is not working

Status: 
Active

Comments

Do you have any additional details on the problem you're seeing?

For example, are you seeing any errors in /var/log/mail.log when trying to access POP/IMAP?

Also, you may want to try restarting Dovecot (with "/etc/init.d/dovecot restart"), and then look in /var/log/mail.log to see if any errors are generated.

May 13 06:28:46 ns2 dovecot: pop3-login: Disconnected (no auth attempts): rip=69.71.4.193, lip=69.71.0.130 May 13 06:28:52 ns2 postfix/local[29900]: 0298D8003FC: to=hatchet-hatchetheavyhaul.com@ns2.heavyhaul-trucking.com, orig_to=<hatchet@hatch$ May 13 06:28:52 ns2 postfix/qmgr[2828]: 0298D8003FC: removed May 13 06:29:13 ns2 postfix/smtpd[29879]: connect from llwf725.servidoresdns.net[217.76.137.112] May 13 06:29:14 ns2 postfix/smtpd[29879]: D9D8780146B: client=llwf725.servidoresdns.net[217.76.137.112] May 13 06:29:15 ns2 postfix/cleanup[29882]: D9D8780146B: message-id=20120513112912.8FAC742F1688@llwf725.servidoresdns.net May 13 06:29:15 ns2 postfix/qmgr[2828]: D9D8780146B: from=oneclick@llwf725.servidoresdns.net, size=25061, nrcpt=1 (queue active) May 13 06:29:15 ns2 postfix/smtpd[29879]: disconnect from llwf725.servidoresdns.net[217.76.137.112] May 13 06:29:24 ns2 postfix/local[29900]: D9D8780146B: to=hatchet-hatchetheavyhaul.com@ns2.heavyhaul-trucking.com, orig_to=<hatchet@hatch$ May 13 06:29:24 ns2 postfix/qmgr[2828]: D9D8780146B: removed May 13 06:29:46 ns2 dovecot: pop3-login: Disconnected (no auth attempts): rip=69.71.4.193, lip=69.71.0.130 May 13 06:30:46 ns2 dovecot: pop3-login: Disconnected (no auth attempts): rip=69.71.4.193, lip=69.71.0.130 May 13 06:31:46 ns2 dovecot: pop3-login: Disconnected (no auth attempts): rip=69.71.4.193, lip=69.71.0.130 May 13 06:32:07 ns2 postfix/smtpd[31455]: connect from server.dailysilvercenter.com[184.82.154.138] May 13 06:32:07 ns2 postfix/smtpd[31455]: A7D1C800421: client=server.dailysilvercenter.com[184.82.154.138] May 13 06:32:07 ns2 postfix/cleanup[31472]: A7D1C800421: message-id=2099215926@unpo138.flambghana.com May 13 06:32:07 ns2 postfix/qmgr[2828]: A7D1C800421: from=LoanCenter@flambghana.com, size=6910, nrcpt=1 (queue active) May 13 06:32:08 ns2 postfix/smtpd[31455]: disconnect from server.dailysilvercenter.com[184.82.154.138] May 13 06:32:17 ns2 postfix/local[31487]: A7D1C800421: to=hatchet-hatchetheavyhaul.com@ns2.heavyhaul-trucking.com, orig_to=<hatchet@hatch$

Failed to start service : doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:25: 'imaps' protocol is no longer necessary, remove it doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:25: 'pop3s' protocol is no longer necessary, remove it doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:718: protocol managesieve {} has been replaced by protocol sieve { } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:886: add auth_ prefix to all settings inside auth {} and remove the auth {} section completely doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:924: passdb pam {} has been replaced by passdb { driver=pam } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1037: userdb passwd {} has been replaced by userdb { driver=passwd } doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1099: auth_user has been replaced by service auth { user } Error: socket() failed: Address family not supported by protocol Error: service(pop3-login): listen(::, 110) failed: Address family not supported by protocol Error: socket() failed: Address family not supported by protocol Error: service(pop3-login): listen(::, 995) failed: Address family not supported by protocol Error: socket() failed: Address family not supported by protocol Error: service(imap-login): listen(::, 143) failed: Address family not supported by protocol Error: socket() failed: Address family not supported by protocol Error: service(imap-login): listen(::, 993) failed: Address family not supported by protocol Fatal: Failed to start listeners

If you look at /etc/dovecot/dovecot.conf, is there a line that begins with "dovecot =" ?

If so, can you paste in what it looks like?

If not -- after a little research, it looks like you may want to add one. You can add this line to the top of your dovecot.conf:

listen = *

And then restart Dovecot by typing this:

/etc/init.d/dovecot restart

Ok thanks worked Now when You reboot the Virtualmin will not start have to login via ssh and start the webmin and usermin by command line

IS there any fix

If you look in Webmin -> System -> Bootup and Shutdown, are Webmin and Usermin marked to start at boot in there?

yes there in there and set to start at boot . But will not start at boot

This might be due to a mismatch between the boot systems used by Ubuntu 10.04 (init.d) and 12.04 (upstart).

If you go to Webmin -> System -> Bootup and Shutdown, what boot system does it display at the top of the page?

Also, what is the output from the following commands :

ls -l /etc/init.d/webmin
ls -l /etc/rc\*/webmin
ls -l /etc/init/webmin\*