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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 4th September 2006, 16:50
jjw jjw is offline
Member
 
Join Date: Aug 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Also, I stopped xinetd (to stop pop services) and started dovecot, as I am using Maildir format.

<edit>

Here is the netstat -tap output showing dovecot on poppops & imap/imaps:

Code:
tcp        0      0 *:imaps                     *:*                         LISTEN      32673/dovecot
tcp        0      0 *:32769                     *:*                         LISTEN      1651/rpc.statd
tcp        0      0 *:pop3s                     *:*                         LISTEN      32673/dovecot
tcp        0      0 *:mysql                     *:*                         LISTEN      5245/mysqld
tcp        0      0 *:pop3                      *:*                         LISTEN      32673/dovecot
tcp        0      0 *:imap                      *:*                         LISTEN      32673/dovecot
tcp        0      0 *:sunrpc                    *:*                         LISTEN      1633/portmap
tcp        0      0 *:81                        *:*                         LISTEN      28766/ispconfig_htt
tcp        0      0 mail.wnetworks.net:domain   *:*                         LISTEN      28886/named
tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      28886/named
tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      1960/cupsd
tcp        0      0 localhost.localdomain:5335  *:*                         LISTEN      1942/mDNSResponder
tcp        0      0 *:smtp                      *:*                         LISTEN      30484/master
tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      28886/named
tcp        1      0 mail.wnetworks.net:46490    mail.wnetworks.net:ssh      CLOSE_WAIT  29412/ssh
tcp        0      0 *:http                      *:*                         LISTEN      28789/httpd
tcp        0      0 *:ftp                       *:*                         LISTEN      30249/proftpd: (acc
tcp        0      0 *:ssh                       *:*                         LISTEN      2020/sshd
tcp        0      0 *:https                     *:*                         LISTEN      28789/httpd

Last edited by jjw; 4th September 2006 at 17:19.
Reply With Quote
Sponsored Links
  #22  
Old 4th September 2006, 17:44
jjw jjw is offline
Member
 
Join Date: Aug 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My mail client can't get mail no matter what settings I use. So I stopped dovecot, turned it off with chkconfig, moved the pop & imap services back into xinetd.d, restart the whole system, and still can't connect no matter what I do. But I can from the command line. this is so frurstrating. I am going to yank it all out by the roots, use mbox, and see if I can get it to work.

jjw
Reply With Quote
  #23  
Old 4th September 2006, 21:36
jjw jjw is offline
Member
 
Join Date: Aug 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Allrighty,

I've done yet another reinstall (taking default on certificate building). I've *not* checked Maildir (using mbox format), and I am getting the CTX messages when using a client with SSL (not secure authentication):
Code:
Sep  4 13:59:13 mail ipop3d[3933]: Unable to load certificate from /usr/share/ssl/certs/ipop3d.pem, host=[192.168.0.13]
Sep  4 13:59:13 mail ipop3d[3933]: SSL error status: error:02001002:system library:fopen:No such file or directory
Sep  4 13:59:13 mail ipop3d[3933]: SSL error status: error:20074002:BIO routines:FILE_CTRL:system lib
Sep  4 13:59:13 mail ipop3d[3933]: SSL error status: error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib

Nothing at all happens when I uncheck "Secure Authentication" *and* SSL, and nothing happens when "Secure Authentication" is checked.

netstat -tap (using xinetd services for pop3/s imap/s:
Code:
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 *:imaps                     *:*                         LISTEN      1998/xinetd
tcp        0      0 *:32769                     *:*                         LISTEN      1632/rpc.statd
tcp        0      0 *:pop3s                     *:*                         LISTEN      1998/xinetd
tcp        0      0 *:mysql                     *:*                         LISTEN      2092/mysqld
tcp        0      0 *:pop3                      *:*                         LISTEN      1998/xinetd
tcp        0      0 *:imap                      *:*                         LISTEN      1998/xinetd
tcp        0      0 *:sunrpc                    *:*                         LISTEN      1614/portmap
tcp        0      0 *:81                        *:*                         LISTEN      2415/ispconfig_http
tcp        0      0 mail.wnetworks.net:domain   *:*                         LISTEN      3083/named
tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      3083/named
tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      1941/cupsd
tcp        0      0 localhost.localdomain:5335  *:*                         LISTEN      1923/mDNSResponder
tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      3083/named
tcp        0      0 *:smtp                      *:*                         LISTEN      3058/master
tcp        0      0 mail.wnetworks.net:35977    host-213-160-98-160.tc:http TIME_WAIT   -
tcp        0      0 *:http                      *:*                         LISTEN      2985/httpd
tcp        0      0 *:ftp                       *:*                         LISTEN      3099/proftpd: (acce
tcp        0      0 *:ssh                       *:*                         LISTEN      1989/sshd
tcp        0      0 *:https                     *:*                         LISTEN      2985/httpd

So, I decided to disable the xinetd service for imap/imaps & pop3/pop3s, and enable dovecot. I then restart the server completely.

I then log in with the email client, using SSL (not Secure Authentication), and am successful:

/var/log/dovecot:
Code:
dovecot: Sep 04 14:07:49 Info: Dovecot starting up
pop3-login: Sep 04 14:11:42 Info: Login: web1_test5 [192.168.0.13]
netstat -tap (using Dovecot):
Code:
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 *:imaps                     *:*                         LISTEN      2080/dovecot
tcp        0      0 *:32769                     *:*                         LISTEN      1632/rpc.statd
tcp        0      0 *:pop3s                     *:*                         LISTEN      2080/dovecot
tcp        0      0 *:mysql                     *:*                         LISTEN      2059/mysqld
tcp        0      0 *:pop3                      *:*                         LISTEN      2080/dovecot
tcp        0      0 *:imap                      *:*                         LISTEN      2080/dovecot
tcp        0      0 *:sunrpc                    *:*                         LISTEN      1614/portmap
tcp        0      0 *:81                        *:*                         LISTEN      2397/ispconfig_http
tcp        0      0 mail.wnetworks.net:domain   *:*                         LISTEN      3032/named
tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      3032/named
tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      1908/cupsd
tcp        0      0 localhost.localdomain:5335  *:*                         LISTEN      1890/mDNSResponder
tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      3032/named
tcp        0      0 *:smtp                      *:*                         LISTEN      3007/master
tcp        0      0 *:http                      *:*                         LISTEN      2935/httpd
tcp        0      0 *:ftp                       *:*                         LISTEN      3048/proftpd: (acce
tcp        0      0 *:ssh                       *:*                         LISTEN      1956/sshd
tcp        0      0 *:https                     *:*                         LISTEN      2935/httpd
But I cannot login using 'Secure Authentication', nor can I log in with both options unchecked (SSL & Secure Authentication). the logs are empty and the client times ot.

This is driving me crazy.

So, I tried sending email. With SSL checked in connection, I tried to send an email to remoteEmail@domain.tld (I used a real address that accepts mail from my other mail server on my LAN). I tried using both TLS and SSL in the outgoing SMTP server settings:

using 'TLS, if available'

Quote:
An error occured while sending mail. The mail server responded: <remoteEmail@domain.tld>; Relay access denied. Please verify that your email address is correct in your Mail preferrences and try again.

using 'SSL'


Quote:
Sending of message failed.

The message could not be sent because conneting to server 192.168.0.10 failed. The server may be unavailable or is refusing SMTP connections. Please verify that your SMTP server setting is correct and try again, or else contact your network administrator.
This is really killing my sleep.
Reply With Quote
  #24  
Old 4th September 2006, 23:57
jjw jjw is offline
Member
 
Join Date: Aug 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Am I doomed to failure?
Reply With Quote
  #25  
Old 5th September 2006, 11:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Quote:
An error occured while sending mail. The mail server responded: <remoteEmail@domain.tld>; Relay access denied. Please verify that your email address is correct in your Mail preferrences and try again.
You must enable smtp authentication in your mail client to be able to send email to domains that are not hosted on your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #26  
Old 5th September 2006, 13:12
jjw jjw is offline
Member
 
Join Date: Aug 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
You must enable smtp authentication in your mail client to be able to send email to domains that are not hosted on your server.
I understand that Till. When I do that, the server times out.
Reply With Quote
  #27  
Old 5th September 2006, 18:50
jjw jjw is offline
Member
 
Join Date: Aug 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anyone else have any ideas?

Am I doomed to failure?
Reply With Quote
  #28  
Old 5th September 2006, 19:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by jjw
My mail client can't get mail no matter what settings I use. So I stopped dovecot, turned it off with chkconfig, moved the pop & imap services back into xinetd.d, restart the whole system, and still can't connect no matter what I do. But I can from the command line. this is so frurstrating. I am going to yank it all out by the roots, use mbox, and see if I can get it to work.

jjw
Are you sure SELinux is disabled and your firewall allows POP3 and SMTP?
__________________
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
  #29  
Old 5th September 2006, 20:03
jjw jjw is offline
Member
 
Join Date: Aug 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, Falko: iptables stopped (and set to not run at boot time), ISPConfig firewall open for everything, services running, and SElinux disabled.
Reply With Quote
  #30  
Old 6th September 2006, 09:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

What's the output of
Code:
iptables -L
? Are you trying to connect from within your LAN or from outside?
Might also be an issue with your desktop firewall (if you use one).
__________________
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
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
Fedora Core 5 graphical install rlhesson Installation/Configuration 2 14th August 2006 18:00
quota question on perfect install fedora core 5.0 bmayock HOWTO-Related Questions 7 6th July 2006 14:20
Regarding the Fedora Core 5 Perfect Install - Quota EricS HOWTO-Related Questions 4 30th May 2006 05:21
Fedora Core 5 x64 Perfect Install Question? gjcomputer Installation/Configuration 1 26th April 2006 10:27
Fresh Install of FC4 using Perfect Install HowTo latcarf HOWTO-Related Questions 21 10th August 2005 23:55


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


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