Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd October 2005, 22:57
nandhu nandhu is offline
Member
 
Join Date: Aug 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 22nd October 2005, 23:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,666
Thanks: 819
Thanked 5,316 Times in 4,169 Posts
Default

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.
Reply With Quote
  #3  
Old 23rd October 2005, 08:53
nandhu nandhu is offline
Member
 
Join Date: Aug 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Red face

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.
Reply With Quote
  #4  
Old 23rd October 2005, 12:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

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.
__________________
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
  #5  
Old 23rd October 2005, 13:41
nandhu nandhu is offline
Member
 
Join Date: Aug 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

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.
Reply With Quote
  #6  
Old 23rd October 2005, 13:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,666
Thanks: 819
Thanked 5,316 Times in 4,169 Posts
Default

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 ....
Reply With Quote
  #7  
Old 23rd October 2005, 13:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

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
Code:
netstat -tap
here?
__________________
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 23rd October 2005, 20:38
nandhu nandhu is offline
Member
 
Join Date: Aug 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

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.
Reply With Quote
  #9  
Old 23rd October 2005, 23:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by nandhu
Do you think I can now go ahead and install Courier-IMAP/POP3 now as Till says it is the best to have.
Sure - but if you don't have much email traffic then your current setup might be sufficient.
__________________
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 24th October 2005, 21:30
nandhu nandhu is offline
Member
 
Join Date: Aug 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi,

With the Current Step Up without Courier thing.

I installed the webmail package from ispconfig.org website and I can get to the homepage of the mail login.

From there when I try to login using my username and password that I created using the ISPConfig system, I get the following error on the login page.
Code:
------------------------------------------------------------------------------------------------------

Login error

You cannot login with the username and password entered.

Please check your username and password and try again.

                              Back
------------------------------------------------------------------------------------------------------
And I get the following error message in /var/log/mail.log

Code:
Oct 24 19:23:05 aasai ipop3d[7171]: pop3 service init from 127.0.0.1
Oct 24 19:23:05 aasai ipop3d[7171]: Command stream end of file while reading line user=??? host=localhost.localdomain [127.0.0.1]
Any hint as what is causing this problem?

Thanks.

Nandhu.
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
The Perfect Setup - Debian Woody (3.0)... sending mail from my XP box? ExCIA HOWTO-Related Questions 17 27th June 2007 18:31
Debian Sarge RAID5 killfrog Installation/Configuration 2 23rd October 2005 21:43
Perfect Debian 3.1 failed of the E-MAIL Server explorer1979 HOWTO-Related Questions 1 21st October 2005 17:43
Perfect setup (debian sarge) Pelle Installation/Configuration 4 11th October 2005 17:17
Perfect Setup for Debian Sarge benny HOWTO-Related Questions 1 8th May 2005 13:41


All times are GMT +2. The time now is 10:53.


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