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 30th October 2011, 12:13
VidalCastillo VidalCastillo is offline
Junior Member
 
Join Date: Oct 2011
Posts: 7
Thanks: 4
Thanked 0 Times in 0 Posts
Exclamation POP3 IMAP CentOS 5.7 x86_64 [ISPConfig 3]

Hi team,
great work with all the tutorials you have created so far, keep going.

I have used the tutorial to install and configure a perfect web server running CentOS.
All is just fine except the mail server, when I check in the ISPConfig 3.0.3.3 Monitor page I see:

Web-Server: Online
FTP-Server: Online
SMTP-Server: Online
POP3-Server: Offline
IMAP-Server: Offline
DNS-Server: Online
mySQL-Server: Online

1 - As I am really new, please let me know what should I check, post in here so you could help me bring the services up and running.

2- I have to mention that I am behind a router and I would also have to open some ports, could you please give me a hint which should be forwarded to my LAN IP.

3- I am using freedns.afraid.org and I have :
mydomain.com (G) A 89.xxx.xxx.xxx
mydomain.com (G) MX 10:mail.mydomain.com
ftp.mydomain.com (G) A 89.xxx.xxx.xxx
mail.mydomain.com (G) A 89.xxx.xxx.xxx
www.mydomain.com (G)A 89.xxx.xxx.xxx

I have also bought the manual, checked the page (24/308) - 3.2.1.3 Installing The Mail Server does not help me too much.

Huge thanks in advance for your help

PS:
As I see, my questions are also related to [ISPConfig 3], so please feel fre to move my post to the appropriate section.

Last edited by VidalCastillo; 30th October 2011 at 13:03.
Reply With Quote
Sponsored Links
  #2  
Old 31st October 2011, 10:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by VidalCastillo View Post
Hi team,
great work with all the tutorials you have created so far, keep going.

I have used the tutorial to install and configure a perfect web server running CentOS.
All is just fine except the mail server, when I check in the ISPConfig 3.0.3.3 Monitor page I see:

Web-Server: Online
FTP-Server: Online
SMTP-Server: Online
POP3-Server: Offline
IMAP-Server: Offline
DNS-Server: Online
mySQL-Server: Online

1 - As I am really new, please let me know what should I check, post in here so you could help me bring the services up and running.
What's the output of
Code:
netstat -tap
?

Quote:
Originally Posted by VidalCastillo View Post
2- I have to mention that I am behind a router and I would also have to open some ports, could you please give me a hint which should be forwarded to my LAN IP.
20,21 - FTP
22 - SSH
25 - SMTP
53 (TCP and UDP!) - DNS
80 - HTTP
110 - POP3
143 - IMAP
443 - HTTPS
993 - IMAPS
995 - POP3S
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 31st October 2011, 12:45
VidalCastillo VidalCastillo is offline
Junior Member
 
Join Date: Oct 2011
Posts: 7
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Thank you Falko,
here is the requested output:
Code:
[root@bulldozer ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 bulldozer.com:10024         *:*                         LISTEN      2670/amavisd (maste
tcp        0      0 bulldozer.com:10025         *:*                         LISTEN      2739/master
tcp        0      0 *:mysql                     *:*                         LISTEN      2620/mysqld
tcp        0      0 bulldozer.com:dyna-access   *:*                         LISTEN      2535/clamd
tcp        0      0 *:sunrpc                    *:*                         LISTEN      2195/portmap
tcp        0      0 *:webcache                  *:*                         LISTEN      2798/httpd
tcp        0      0 *:http                      *:*                         LISTEN      2798/httpd
tcp        0      0 *:tproxy                    *:*                         LISTEN      2798/httpd
tcp        0      0 *:721                       *:*                         LISTEN      2235/rpc.statd
tcp        0      0 *:ftp                       *:*                         LISTEN      2814/pure-ftpd (SER
tcp        0      0 bulldozer.com:domain        *:*                         LISTEN      2167/named
tcp        0      0 bulldozer.com:domain        *:*                         LISTEN      2167/named
tcp        0      0 *:ssh                       *:*                         LISTEN      2517/sshd
tcp        0      0 *:smtp                      *:*                         LISTEN      2739/master
tcp        0      0 bulldozer.com:rndc          *:*                         LISTEN      2167/named
tcp        0      0 *:https                     *:*                         LISTEN      2798/httpd
tcp        0   1924 bulldozer.com:ssh           192.168.230.254:catchpole   ESTABLISHED 2666/0
[root@bulldozer ~]#
I have just added these 2, all the other were already in my router configuration.
993 - IMAPS
995 - POP3S

I have posted an extract of this file:
more var/log/maillog
Code:
Oct 30 10:09:46 bulldozer sendmail[6772]: p9U99jHH006772: Authentication-Warning: bulldozer.pro: apache set sender to office@albert.com using -f
Oct 30 10:09:46 bulldozer sendmail[6772]: p9U99jHH006772: from=office@albert.com, size=8137, class=0, nrcpts=1, msgid=<20111030090945.26044.731476411.swift@albert.com>, relay=apache@localhost
Oct 30 10:09:46 bulldozer postfix/smtpd[6775]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 30 10:09:46 bulldozer postfix/smtpd[6775]: fatal: no SASL authentication mechanisms
Oct 30 10:09:47 bulldozer sendmail[6772]: p9U99jHH006772: to=Alin Mataselu <alinmataselu@yahoo.com>, ctladdr=office@albert.com (48/48), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=38137, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connectionreset by [127.0.0.1]
Oct 30 10:09:47 bulldozer postfix/master[2734]: warning: process /usr/libexec/postfix/smtpd pid 6775 exit status 1
Oct 30 10:09:47 bulldozer postfix/master[2734]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Oct 30 10:10:40 bulldozer sendmail[6852]: p9U9Aemj006852: Authentication-Warning: bulldozer.pro: apache set sender to office@albert.com using -f
Oct 30 10:10:40 bulldozer sendmail[6852]: p9U9Aemj006852: from=office@albert.com, size=8136, class=0, nrcpts=1, msgid=<20111030091040.26044.1770564610.swift@albert.com>, relay=apache@localhost
Oct 30 10:10:47 bulldozer postfix/smtpd[6856]: warning: SASL: Connect to private/auth failed: No such file or directory
Oct 30 10:10:47 bulldozer postfix/smtpd[6856]: fatal: no SASL authentication mechanisms
Oct 31 18:35:02 bulldozer postfix/smtpd[23957]: fatal: no SASL authentication mechanisms
Oct 31 18:35:03 bulldozer postfix/master[2739]: warning: process /usr/libexec/postfix/smtpd pid 23957 exit status 1
Oct 31 18:35:03 bulldozer postfix/master[2739]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

Please let me know what other details I should provide in order for you to be able to help me with my issue.

Thank you in advance

Last edited by VidalCastillo; 31st October 2011 at 19:51.
Reply With Quote
  #4  
Old 1st November 2011, 12:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

There's no POP3/IMAP daemon running. Please start Dovecot.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
VidalCastillo (1st November 2011)
  #5  
Old 1st November 2011, 12:35
VidalCastillo VidalCastillo is offline
Junior Member
 
Join Date: Oct 2011
Posts: 7
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
There's no POP3/IMAP daemon running. Please start Dovecot.
Hi falko,

I have done this:
Code:
[root@bulldozer ~]# /etc/init.d/dovecot start
Starting Dovecot Imap: If you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
This message goes away after the first successful login.
Error: socket() failed: Address family not supported by protocol
Fatal: listen(::, 143) failed: Address family not supported by protocol
                                                           [FAILED]
[root@bulldozer ~]#
vi /etc/dovecot.conf
Code:
... and added the line listen = *:
Code:
[...]
#listen = *, [::]
listen = *
[...]
after reboot, this is how it looks
Code:
[root@bulldozer ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 *:imaps                     *:*                         LISTEN      2651/dovecot
tcp        0      0 *:pop3s                     *:*                         LISTEN      2651/dovecot
tcp        0      0 bulldozer.com:10024         *:*                         LISTEN      2674/amavisd (maste
tcp        0      0 bulldozer.com:10025         *:*                         LISTEN      2743/master
tcp        0      0 *:mysql                     *:*                         LISTEN      2619/mysqld
tcp        0      0 *:pop3                      *:*                         LISTEN      2651/dovecot
tcp        0      0 bulldozer.com:dyna-access   *:*                         LISTEN      2534/clamd
tcp        0      0 *:imap                      *:*                         LISTEN      2651/dovecot
tcp        0      0 *:sunrpc                    *:*                         LISTEN      2194/portmap
tcp        0      0 *:webcache                  *:*                         LISTEN      2774/httpd
tcp        0      0 *:http                      *:*                         LISTEN      2774/httpd
tcp        0      0 *:720                       *:*                         LISTEN      2234/rpc.statd
tcp        0      0 *:tproxy                    *:*                         LISTEN      2774/httpd
tcp        0      0 *:ftp                       *:*                         LISTEN      2790/pure-ftpd (SER
tcp        0      0 bulldozer.com:domain        *:*                         LISTEN      2166/named
tcp        0      0 bulldozer.com:domain        *:*                         LISTEN      2166/named
tcp        0      0 *:ssh                       *:*                         LISTEN      2516/sshd
tcp        0      0 *:smtp                      *:*                         LISTEN      2743/master
tcp        0      0 bulldozer.com:rndc          *:*                         LISTEN      2166/named
tcp        0      0 *:https                     *:*                         LISTEN      2774/httpd
tcp        0      0 bulldozer.com:60442         bulldozer.com:mysql         ESTABLISHED 2994/smtpd
tcp        0      0 bulldozer.com:60443         bulldozer.com:mysql         ESTABLISHED 2994/smtpd
tcp        0      0 bulldozer.com:60440         bulldozer.com:mysql         ESTABLISHED 2995/proxymap
tcp        0      0 bulldozer.com:60441         bulldozer.com:mysql         ESTABLISHED 2998/trivial-rewrit
tcp        0      0 bulldozer.com:60444         bulldozer.com:mysql         ESTABLISHED 2994/smtpd
tcp        0      0 bulldozer.com:60439         bulldozer.com:mysql         ESTABLISHED 2995/proxymap
tcp        0      0 bulldozer.com:mysql         bulldozer.com:60444         ESTABLISHED 2619/mysqld
tcp        0      0 bulldozer.com:mysql         bulldozer.com:60440         ESTABLISHED 2619/mysqld
tcp        0      0 bulldozer.com:mysql         bulldozer.com:60441         ESTABLISHED 2619/mysqld
tcp        0      0 bulldozer.com:mysql         bulldozer.com:60442         ESTABLISHED 2619/mysqld
tcp        0      0 bulldozer.com:mysql         bulldozer.com:60443         ESTABLISHED 2619/mysqld
tcp        0      0 bulldozer.com:mysql         bulldozer.com:60439         ESTABLISHED 2619/mysqld
tcp        0      0 bulldozer.com:smtp          info3.prestashop.com:54522  TIME_WAIT   -
tcp        0      0 bulldozer.com:webcache      deibp9eh1--blueice4n2:21374 TIME_WAIT   -
tcp        0   4444 bulldozer.com:ssh           deibp9eh1--blueice4n2:60524 ESTABLISHED 3005/0
tcp        0      0 bulldozer.com:webcache      deibp9eh1--blueice4n2:22131 TIME_WAIT   -
tcp        0      0 bulldozer.com:webcache      deibp9eh1--blueice4n2:41683 TIME_WAIT   -
tcp        0      0 bulldozer.com:webcache      deibp9eh1--blueice4n2:46823 TIME_WAIT   -
tcp        0      0 bulldozer.com:webcache      deibp9eh1--blueice4n2:34699 TIME_WAIT   -
tcp        0      0 bulldozer.com:webcache      deibp9eh1--blueice4n2:31626 TIME_WAIT   -
tcp        0      0 bulldozer.com:webcache      deibp9eh1--blueice4n2:49540 TIME_WAIT   -
tcp        0      0 bulldozer.com:webcache      deibp9eh1--blueice4n2:tsilb TIME_WAIT   -
tcp        0      0 bulldozer.com:webcache      deibp9eh1--blueice4n2.:4793 TIME_WAIT   -
tcp        0      0 bulldozer.com:webcache      deibp9eh1--blueice4n2:33714 TIME_WAIT   -
[root@bulldozer ~]#
in Monitor tab of ISPConfit it is the same status:

POP3-Server: Offline
IMAP-Server: Offline

Please let me know what other action I can try now
Reply With Quote
  #6  
Old 2nd November 2011, 18:27
VidalCastillo VidalCastillo is offline
Junior Member
 
Join Date: Oct 2011
Posts: 7
Thanks: 4
Thanked 0 Times in 0 Posts
Post

Hi there,

is there any hint in regards of my problem?

Thank you in advance
Reply With Quote
  #7  
Old 2nd November 2011, 19:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

netstat output is ok. Are POP3 and IMAP still shown as offline? If so, what are the outputs of
Code:
ifconfig
and
Code:
getenforce
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 2nd November 2011, 19:58
VidalCastillo VidalCastillo is offline
Junior Member
 
Join Date: Oct 2011
Posts: 7
Thanks: 4
Thanked 0 Times in 0 Posts
Post

Hi there,

here are the requested details:

Code:
root@bulldozer ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 6C:62:6D:E0:E9:5D
          inet addr:192.168.230.109  Bcast:192.168.230.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:196004 errors:0 dropped:0 overruns:0 frame:0
          TX packets:155444 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:83785370 (79.9 MiB)  TX bytes:96543931 (92.0 MiB)
          Interrupt:233 Base address:0x6000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:21913 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21913 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1761472 (1.6 MiB)  TX bytes:1761472 (1.6 MiB)

[root@bulldozer ~]#
Code:
[root@bulldozer ~]# getenforce
Disabled
[root@bulldozer ~]#

Than you in advance
Reply With Quote
  #9  
Old 3rd November 2011, 13:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Are POP3 and IMAP still shown as offline?

What's the output of
Code:
iptables -L
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 2nd August 2012, 12:56
sharktech sharktech is offline
Junior Member
 
Join Date: Aug 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko View Post
Are POP3 and IMAP still shown as offline?

What's the output of
Code:
iptables -L
?
i also have this error im at the dovecot stage now trying to get it to run. attached is my error and iptables-L and getenforce
Attached Images
 
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
Setting-up DNS CentOS 5.7 x86_64 [ISPConfig 3] VidalCastillo Installation/Configuration 4 27th October 2011 19:23
Problems connecting my HTC Desire outgoing mail client to Postfix and ISP Config 2 j.smith1981 Server Operation 6 12th July 2010 20:07
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 17:22
Fetchmail retrieval configuration on the clients side perfectpol7 Server Operation 8 19th May 2009 16:26
Running POP3 and IMAP Server at the same time? sjau Server Operation 1 26th January 2007 15:15


All times are GMT +2. The time now is 18:12.


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