
22nd October 2005, 22:57
|
|
Member
|
|
Join Date: Aug 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
pop3 service alone is failed in "The Perfect Setup - Debian Sarge (3.1)"
Hi Falko,
This time I tried Debian Sarge 3.1 instructions on my Kanotix RC-11 version.
Everything went fine not even a single error. Also I omitted Courier section.
After installing ISPConfig and logged in as admin. I selected the Services section and found the following:-
Web-Server: Online
FTP-Server: Online
SMTP-Server: Online
POP3-Server: Offline
BIND-Server: Online
mySQL-Server: Online
and my nmap on localhost shows the following, i could not see any 110 port in it. Could you please tell me what might have gone wrong and how can I now get the Pop3 service running, which in the above ISPConfig would change from Offline to Online.
Please see my nmap output below:-
Code:
root@aasai:~# nmap localhost
Starting nmap 3.93 ( http://www.insecure.org/nmap/ ) at 2005-10-22 20:45 BST
Interesting ports on localhost.localdomain (127.0.0.1):
(The 1659 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
21/tcp open ftp
25/tcp open smtp
53/tcp open domain
80/tcp open http
81/tcp open hosts2-ns
443/tcp open https
631/tcp open ipp
953/tcp open rndc
3306/tcp open mysql
Nmap finished: 1 IP address (1 host up) scanned in 0.218 seconds
root@aasai:~#
Please help me to get this one right.
Many thanks for your excellent article.
Nandhu.
|

22nd October 2005, 23:17
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,192 Times in 3,208 Posts
|
|
Why did you omitt courier? It's the best pop3 and mailserver for ISPConfig under DEBIAN?
As you can see in your nmap scan you currently have no pop3 and imap server installed.
|

23rd October 2005, 08:53
|
|
Member
|
|
Join Date: Aug 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Till,
As far as I understood the steps, as described in the below section:
Code:
Postfix/POP3/IMAP
In order to install Postfix with SMTP-AUTH and TLS as well as a POP3 server that also does POP3s (port 995) and an IMAP server that is also capable of IMAPs (port 993) do the following steps:
and Also as mentioned in the Courier Section, which is described below:
Code:
Courier-IMAP/Courier-POP3
If you want to use a POP3/IMAP daemon that has Maildir support (if you do not want to use the traditional Unix mailbox format) you can install Courier-IMAP/Courier-IMAP-SSL (for IMAPs on port 993) and Courier-POP3/Courier-POP3-SSL (for POP3s on port 995). Otherwise you can proceed with the Apache configuration.
apt-get install courier-imap courier-imap-ssl courier-pop courier-pop-ssl
<- No
ipopd and UW-IMAP will then be replaced.
I thought Courier section is optional and if I want Maildir support or if I want the ipopd and Uw-IMAP servers to be replaced.
I thought I already have installed pop3 and pop3s as mentioned in the Postfix section, so why bother with Courier section.
So, is it not optional and should i do it now, will it work if I do it now, or should I start from the begining?
Many thanks,
Nandhu.
|

23rd October 2005, 12:31
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
The Courier part is optional, you don't have to use it if you're happy with a POP3/IMAP daemon that uses mbox. If you want to have Maildir, then install Courier.
So you can
a) install Courier as per the instructions in the howto,
or
b) stay with your current setup and try to fix the POP3 problem. To do so, please have a look at /etc/inetd.conf and search for appropriate entries for POP3 and IMAP. You can also post your /etc/inetd.conf here so that we can see where the problem might be.
|

23rd October 2005, 13:41
|
|
Member
|
|
Join Date: Aug 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Falko,
Correct, that's what I thought too. And that's the reason I did not proceed further to install the optional Courier.
Basically I tried when I followed the tutorial 1st time, I ended up installing Courier and ISPConfig still showed me with POP3 Service alone as Offline, and so I reinstalled Kanotix from the begining and then started all from second time. So this time I thought I will not install the optional Courier Step to find out whether it will work out this time without Courier's involvement.
Following is my /etc/inetd.conf
Code:
#<off># # /etc/inetd.conf: see inetd(8) for further informations.
#
#<off># # Internet server configuration database
#
#
#<off># # Lines starting with "#:LABEL:" or "#<off>#" should not
#<off># # be changed unless you know what you are doing!
#
#<off># # If you want to disable an entry so it isn't touched during
#<off># # package updates just comment it out with a single '#' character.
#
#<off># # Packages should modify this file by using update-inetd(8)
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#<off># #:INTERNAL: Internal services
#<off># #echo stream tcp nowait root internal
#<off># #echo dgram udp wait root internal
#<off># #chargen stream tcp nowait root internal
#<off># #chargen dgram udp wait root internal
#<off># discard stream tcp nowait root internal
#<off># discard dgram udp wait root internal
#<off># daytime stream tcp nowait root internal
#<off># #daytime dgram udp wait root internal
#<off># time stream tcp nowait root internal
#<off># #time dgram udp wait root internal
#<off># #:STANDARD: These are standard services.
#<off># ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.ftpd
#<off># #:BSD: Shell, login, exec and talk are BSD protocols.
#<off># #:MAIL: Mail, news and uucp services.
#<off># #:INFO: Info services
#<off># #<off># ident stream tcp nowait nobody /usr/sbin/nullidentd nullidentd
#<off># #:BOOT: Tftp service is provided primarily for booting. Most sites
#<off># # run this only on machines acting as "boot servers."
#<off># #:RPC: RPC based services
#:HAM-RADIO: amateur-radio services
#<off># #:OTHER: Other services
#<off># #<off># netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd
#<off># vboxd stream tcp nowait root /usr/sbin/tcpd /usr/sbin/vboxd
pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/ipop3d
pop3s stream tcp nowait root /usr/sbin/tcpd /usr/sbin/ipop3d
imap2 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/imapd
imaps stream tcp nowait root /usr/sbin/tcpd /usr/sbin/imapd
Please see what I could do to correct this problem.
Many thanks,
Nandhu.
|

23rd October 2005, 13:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,192 Times in 3,208 Posts
|
|
Quote:
|
Originally Posted by nandhu
Hi Falko,
Correct, that's what I thought too. And that's the reason I did not proceed further to install the optional Courier.
Basically I tried when I followed the tutorial 1st time, I ended up installing Courier and ISPConfig still showed me with POP3 Service alone as Offline, and so I reinstalled Kanotix from the begining and then started all from second time. So this time I thought I will not install the optional Courier Step to find out whether it will work out this time without Courier's involvement.
|
Yes, courier is optional but you wont get happy with an mbox based mailserver if you get more traffic on your server  And that's what i told you above ....
|

23rd October 2005, 13:59
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
|
Originally Posted by nandhu
Hi Falko,
Correct, that's what I thought too. And that's the reason I did not proceed further to install the optional Courier.
Basically I tried when I followed the tutorial 1st time, I ended up installing Courier and ISPConfig still showed me with POP3 Service alone as Offline, and so I reinstalled Kanotix from the begining and then started all from second time. So this time I thought I will not install the optional Courier Step to find out whether it will work out this time without Courier's involvement.
Following is my /etc/inetd.conf
Code:
#<off># # /etc/inetd.conf: see inetd(8) for further informations.
#
#<off># # Internet server configuration database
#
#
#<off># # Lines starting with "#:LABEL:" or "#<off>#" should not
#<off># # be changed unless you know what you are doing!
#
#<off># # If you want to disable an entry so it isn't touched during
#<off># # package updates just comment it out with a single '#' character.
#
#<off># # Packages should modify this file by using update-inetd(8)
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#<off># #:INTERNAL: Internal services
#<off># #echo stream tcp nowait root internal
#<off># #echo dgram udp wait root internal
#<off># #chargen stream tcp nowait root internal
#<off># #chargen dgram udp wait root internal
#<off># discard stream tcp nowait root internal
#<off># discard dgram udp wait root internal
#<off># daytime stream tcp nowait root internal
#<off># #daytime dgram udp wait root internal
#<off># time stream tcp nowait root internal
#<off># #time dgram udp wait root internal
#<off># #:STANDARD: These are standard services.
#<off># ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.ftpd
#<off># #:BSD: Shell, login, exec and talk are BSD protocols.
#<off># #:MAIL: Mail, news and uucp services.
#<off># #:INFO: Info services
#<off># #<off># ident stream tcp nowait nobody /usr/sbin/nullidentd nullidentd
#<off># #:BOOT: Tftp service is provided primarily for booting. Most sites
#<off># # run this only on machines acting as "boot servers."
#<off># #:RPC: RPC based services
#:HAM-RADIO: amateur-radio services
#<off># #:OTHER: Other services
#<off># #<off># netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd
#<off># vboxd stream tcp nowait root /usr/sbin/tcpd /usr/sbin/vboxd
pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/ipop3d
pop3s stream tcp nowait root /usr/sbin/tcpd /usr/sbin/ipop3d
imap2 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/imapd
imaps stream tcp nowait root /usr/sbin/tcpd /usr/sbin/imapd
Please see what I could do to correct this problem.
Many thanks,
Nandhu.
|
Looks ok. Can you restart inetd:
Code:
/etc/init.d/inetd restart
and post the output of here?
|

4th August 2008, 11:56
|
|
Member
|
|
Join Date: Apr 2007
Posts: 33
Thanks: 4
Thanked 1 Time in 1 Post
|
|
Quote:
Originally Posted by falko
The Courier part is optional, you don't have to use it if you're happy with a POP3/IMAP daemon that uses mbox. If you want to have Maildir, then install Courier.
So you can
a) install Courier as per the instructions in the howto,
or
b) stay with your current setup and try to fix the POP3 problem. To do so, please have a look at /etc/inetd.conf and search for appropriate entries for POP3 and IMAP. You can also post your /etc/inetd.conf here so that we can see where the problem might be.
|
I have done the same thing skipped this section. Now i have install the Qourier as per http://www.howtoforge.com/perfect_setup_debian_etch_p5
Quote:
12 Courier-IMAP/Courier-POP3
Run this to install Courier-IMAP/Courier-IMAP-SSL (for IMAPs on port 993) and Courier-POP3/Courier-POP3-SSL (for POP3s on port 995):
apt-get install courier-authdaemon courier-base courier-imap courier-imap-ssl courier-pop courier-pop-ssl courier-ssl gamin libgamin0 libglib2.0-0
You will be asked two questions:
Create directories for web-based administration ? <-- No
SSL certificate required <-- Ok
|
What else do i need to do? Note: I already install ISPConfig and created some 3 web site.
Thanks,
|

4th August 2008, 12:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,192 Times in 3,208 Posts
|
|
Enable Maildir in ISPConfig under management > server > settings on the mail tab.
|
|
The Following User Says Thank You to till For This Useful Post:
|
|

23rd October 2005, 20:38
|
|
Member
|
|
Join Date: Aug 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Falko,
Excellent, after restarting the inetd it worked like a charm.
I think you should add a script to start mysql,inetd,bind9,apache2,proftpd,postfix automatically after reboot as part of your Perfect Setup. Its only a suggestion. I'm sure many linux/unix guys would know to do it straightway. But it would help many budding unix chaps like me.
Anyway, following is my netstat -tap after restarting, inetd, proftpd, bind9, apache, mysql and postfix :-
Code:
root@aasai:~# 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 7974/inetd
tcp 0 0 *:pop3s *:* LISTEN 7974/inetd
tcp 0 0 localhost.localdo:mysql *:* LISTEN 8426/mysqld
tcp 0 0 *:pop3 *:* LISTEN 7974/inetd
tcp 0 0 *:imap2 *:* LISTEN 7974/inetd
tcp 0 0 *:www *:* LISTEN 8513/apache2
tcp 0 0 *:81 *:* LISTEN 4905/ispconfig_http
tcp 0 0 aasai.grandize.c:domain *:* LISTEN 8932/named
tcp 0 0 localhost.locald:domain *:* LISTEN 8932/named
tcp 0 0 *:ftp *:* LISTEN 8828/proftpd: (acce
tcp 0 0 *:ipp *:* LISTEN 4763/cupsd
tcp 0 0 localhost.localdoma:953 *:* LISTEN 8932/named
tcp 0 0 *:smtp *:* LISTEN 8638/master
tcp 0 0 *:https *:* LISTEN 8513/apache2
root@aasai:~#
Do you think I can now go ahead and install Courier-IMAP/POP3 now as Till says it is the best to have.
Thanks Till for your suggesstion.
Thanks a lot to Falko and team for yet another tutorial.
I'm sure you can say that this debian sarge one works for Kanotix_RC11 as well.  ))
- Nandhu.
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 19:04.
|
|
Recent comments
9 hours 52 min ago
19 hours 20 min ago
20 hours 9 min ago
23 hours 42 min ago
1 day 4 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 16 hours ago
1 day 21 hours ago
1 day 23 hours ago