Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd February 2011, 15:09
ataru ataru is offline
Member
 
Join Date: Feb 2011
Posts: 30
Thanks: 3
Thanked 1 Time in 1 Post
Default IMAP and POP3 Offline

Fresh installation of ISPConfig3 on a CentOS vps.

after a couple of days, it says that POP3 and IMAP are Offline, and, I guess, mail is not working

in mail log I've got thousands of errors like that:

Quote:
Feb 23 05:53:30 biancocelesti postfix/smtpd[15670]: warning: SASL: Connect to private/auth failed: No such file or directory
Feb 23 05:53:30 biancocelesti postfix/smtpd[15670]: fatal: no SASL authentication mechanisms
Feb 23 05:53:31 biancocelesti postfix/master[7630]: warning: process /usr/libexec/postfix/smtpd pid 15670 exit status 1
Feb 23 05:53:31 biancocelesti postfix/master[7630]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
when system tries to send a mail, I've got that:

Quote:
Feb 23 05:53:31 biancocelesti sendmail[15668]: p1NCrUAV015668: to=user@domain.com, ctladdr=web1 (5004/5005), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=31470, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection reset by [127.0.0.1]
Reply With Quote
Sponsored Links
  #2  
Old 23rd February 2011, 15:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Do you use courier or dovecot as pop3 / imap daemon?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd February 2011, 15:28
ataru ataru is offline
Member
 
Join Date: Feb 2011
Posts: 30
Thanks: 3
Thanked 1 Time in 1 Post
Default

i used to follow this guide:

http://www.howtoforge.com/perfect-se...64-ispconfig-3

so I think I'm using dovecot
Reply With Quote
  #4  
Old 23rd February 2011, 15:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

But mail was working right after you installed ispconfig? Or did you have not used mail until now?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 23rd February 2011, 15:49
ataru ataru is offline
Member
 
Join Date: Feb 2011
Posts: 30
Thanks: 3
Thanked 1 Time in 1 Post
Default

it was online, but i don't know if it was working

however,
when i try to start dovecot it says:
Quote:
[root@biancocelesti ~]# /etc/init.d/dovecot start
Starting Dovecot Imap: Error: Error in configuration file /etc/dovecot.conf line
715: Unknown protocol name (section changed in /etc/dovecot.conf at line 709)
Fatal: Invalid configuration in /etc/dovecot.conf
at line 715, in /etc/dovecot.conf, there is:
Quote:
protocol managesieve {
here are lines from 709 to 715:
Quote:
}

##
## ManageSieve specific settings
##

protocol managesieve {

Last edited by ataru; 24th February 2011 at 10:26.
Reply With Quote
  #6  
Old 23rd February 2011, 16:11
ataru ataru is offline
Member
 
Join Date: Feb 2011
Posts: 30
Thanks: 3
Thanked 1 Time in 1 Post
Default

removed and reinstalled dovecot, now IMAP and POP3 are marked as Online.

but i still get some errors in mail log:

Quote:
Feb 23 08:01:43 biancocelesti sendmail[1414]: p1NF1gqk001414: from=web1, size=1332, class=0, nrcpts=1, msgid=<0da9407d7c5ef4fe40666546505efeb4-p8443@biancocelesti.org>, relay=web1@localhost
Feb 23 08:02:22 biancocelesti postfix/smtpd[1771]: warning: SASL: Connect to private/auth failed: No such file or directory
Feb 23 08:02:22 biancocelesti postfix/smtpd[1771]: fatal: no SASL authentication mechanisms
Feb 23 08:02:23 biancocelesti sendmail[1414]: p1NF1gqk001414: to=biancocelesti@porcapaletta.com, ctladdr=web1 (5004/5005), delay=00:00:41, xdelay=00:00:40, mailer=relay, pri=31332, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection reset by [127.0.0.1]
Feb 23 08:02:23 biancocelesti postfix/master[7630]: warning: process /usr/libexec/postfix/smtpd pid 1771 exit status 1
Feb 23 08:02:23 biancocelesti postfix/master[7630]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Feb 23 08:02:37 biancocelesti sendmail[1876]: alias database /etc/aliases rebuilt by root
Feb 23 08:02:37 biancocelesti sendmail[1876]: /etc/aliases: 77 aliases, longest 10 bytes, 779 bytes total
Feb 23 08:02:37 biancocelesti postfix/postfix-script: fatal: the Postfix mail system is already running
Feb 23 08:05:01 biancocelesti dovecot: imap-login: Disconnected: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Feb 23 08:05:01 biancocelesti dovecot: pop3-login: Disconnected: rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Reply With Quote
  #7  
Old 23rd February 2011, 16:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Dovecot has to be installed before ispconfig is installed or the dovecot configuration will not work as ispconfig has to replace the config file. As you reinstalled dovecot, you will have to run a manual ispconfig update now and choose to reconfigure the services.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
ataru (24th February 2011)
  #8  
Old 23rd February 2011, 16:19
ataru ataru is offline
Member
 
Join Date: Feb 2011
Posts: 30
Thanks: 3
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till View Post
Dovecot has to be installed before ispconfig is installed or the dovecot configuration will not work as ispconfig has to replace the config file. As you reinstalled dovecot, you will have to run a manual ispconfig update now and choose to reconfigure the services.
sorry, I'm new in ISPConfig, how can i perform a manual update?


should i have to do that?

Quote:
Manual update instructions
--------------------------

Code:

cd /tmp
wget http://www.ispconfig.org/downloads/I...-stable.tar.gz
tar xvfz ISPConfig-3-stable.tar.gz
cd ispconfig3_install/install
php -q update.php

__________________

Last edited by ataru; 23rd February 2011 at 16:26.
Reply With Quote
  #9  
Old 24th February 2011, 01:06
ataru ataru is offline
Member
 
Join Date: Feb 2011
Posts: 30
Thanks: 3
Thanked 1 Time in 1 Post
Default

nothing

Code:
[root@biancocelesti install]# php -q update.php


--------------------------------------------------------------------------------
 _____ ___________   _____              __ _         ____
|_   _/  ___| ___ \ /  __ \            / _(_)       /__  \
  | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _    _/ /
  | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |  |_ |
 _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| | ___\ \
 \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, | \____/
                                              __/ |
                                             |___/
--------------------------------------------------------------------------------


>> Update

Operating System: CentOS 5 or compatible

This application will update ISPConfig 3 on your server.
Starting incremental database update.
Reconfigure Permissions in master database? (yes,no) [no]: yes

Reconfigure Services? (yes,no) [yes]: yes

Configuring Postfix
Configuring Jailkit
Configuring Dovecot
Configuring Spamassassin
Configuring Amavisd
Configuring Getmail
Configuring Pureftpd
Configuring BIND
Configuring Apache
Configuring vlogger
Configuring Apps vhost
Configuring Database
Configuring Firewall
Updating ISPConfig
ISPConfig Port [8080]:

Create new ISPConfig SSL certificate (yes,no) [no]:

Reconfigure Crontab? (yes,no) [yes]:

Updating Crontab
Restarting services ...
Stopping MySQL:                                            [  OK  ]
Starting MySQL:                                            [  OK  ]
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]
Stopping saslauthd:                                        [  OK  ]
Starting saslauthd:                                        [  OK  ]
Shutting down Mail Virus Scanner (amavisd):                [FAILED]
Config file "/etc/amavisd/amavisd.conf" does not exist, at /usr/sbin/amavisd line 1795.
Starting Mail Virus Scanner (amavisd):                     [FAILED]
Stopping Clam AntiVirus Daemon:                            [  OK  ]
Starting Clam AntiVirus Daemon:                            [  OK  ]
Stopping Dovecot Imap:                                     [FAILED]
Error: Error in configuration file /etc/dovecot.conf line 715: Unknown protocol name (section changed in /etc/dovecot.conf at line 709)
Fatal: Invalid configuration in /etc/dovecot.conf
Starting Dovecot Imap:                                     [FAILED]
Stopping httpd:                                            [  OK  ]
[Wed Feb 23 17:01:09 2011] [warn] NameVirtualHost *:443 has no VirtualHosts
Starting httpd:                                            [  OK  ]
Stopping pure-ftpd:                                        [  OK  ]
Starting pure-ftpd:                                        [  OK  ]
Update finished.
[root@biancocelesti install]#
i have some issue with amavis and dovecot

what can I do?
Reply With Quote
  #10  
Old 24th February 2011, 02:04
ataru ataru is offline
Member
 
Join Date: Feb 2011
Posts: 30
Thanks: 3
Thanked 1 Time in 1 Post
 
Default

amavis is now ok running:

Quote:
mkdir /etc/amavisd
ln -s /etc/amavisd.conf /etc/amavisd/amavisd.conf
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restrict POP3 or IMAP for particular users in Linux. ravis007 HOWTO-Related Questions 0 31st October 2009 11:09
Can not restart dovecot - POP3 is in offline bzzik Server Operation 2 14th January 2009 20:44
Can login with users via IMAP but not POP3 gchisholm Installation/Configuration 2 5th December 2008 16:31
POP3 and IMAP stop respond thavaht Server Operation 2 1st November 2007 10:12
Running POP3 and IMAP Server at the same time? sjau Server Operation 1 26th January 2007 14:15


All times are GMT +2. The time now is 19:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.