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
  #11  
Old 25th March 2012, 20:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

Can you post the outputs of
Code:
netstat -tap
and
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
Sponsored Links
  #12  
Old 25th March 2012, 23:05
chaloum chaloum is offline
Member
 
Join Date: Mar 2012
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Netstat

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 1827/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 1363/rpcbind
tcp 0 0 *:ftp *:* LISTEN 2044/pure-ftpd (SER
tcp 0 0 server1.edmedia.net.:domain *:* LISTEN 1342/named
tcp 0 0 localhost.localdomai:domain *:* LISTEN 1342/named
tcp 0 0 *:ssh *:* LISTEN 1651/sshd
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 1528/cupsd
tcp 0 0 *:smtp *:* LISTEN 8238/master
tcp 0 0 *:41567 *:* LISTEN 1381/rpc.statd
tcp 0 0 localhost.localdomain:10024 *:* LISTEN 26212/amavisd (mast
tcp 0 0 *:amqp *:* LISTEN 2057/qpidd
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 8238/master
tcp 0 0 server1.edmedia.net.au:ssh 192.168.1.199:56175 ESTABLISHED 13669/sshd
tcp 0 0 server1.edmedia.net.au:ssh 192.168.1.199:58065 ESTABLISHED 17286/sshd
tcp 0 0 server1.edmedia.net.au:ssh 192.168.1.4:54420 ESTABLISHED 17636/sshd
tcp 0 0 server1.edmedia.net.au:ssh 192.168.1.199:62285 ESTABLISHED 1917/sshd
tcp 0 0 *op3 *:* LISTEN 16779/couriertcpd
tcp 0 0 *:imap *:* LISTEN 16766/couriertcpd
tcp 0 0 *:sunrpc *:* LISTEN 1363/rpcbind
tcp 0 0 *:webcache *:* LISTEN 8418/httpd
tcp 0 0 *:http *:* LISTEN 8418/httpd
tcp 0 0 *:tproxy *:* LISTEN 8418/httpd
tcp 0 0 *:ftp *:* LISTEN 2044/pure-ftpd (SER
tcp 0 0 *:domain *:* LISTEN 1342/named
tcp 0 0 *:ssh *:* LISTEN 1651/sshd
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 1528/cupsd
tcp 0 0 *:42487 *:* LISTEN 1381/rpc.statd
tcp 0 0 *:smtp *:* LISTEN 8238/master
tcp 0 0 *:https *:* LISTEN 8418/httpd
tcp 0 0 *:imaps *:* LISTEN 16773/couriertcpd
tcp 0 0 *op3s *:* LISTEN 16785/couriertcpd



iptables

Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-SSH tcp -- anywhere anywhere tcp dpt:ssh

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain fail2ban-SSH (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Reply With Quote
  #13  
Old 26th March 2012, 13:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

Looks ok. What's the output of
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
  #14  
Old 26th March 2012, 13:53
chaloum chaloum is offline
Member
 
Join Date: Mar 2012
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

the out put of getenforce os Disabled
Reply With Quote
  #15  
Old 27th March 2012, 01:31
deskartez deskartez is offline
Junior Member
 
Join Date: Mar 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Google Apps

I have setup google apps to handle all email on my previous server. All that is required is that you setup the DNS portion of your server, specifically setup a subdomain to point to google's email server.
Reply With Quote
  #16  
Old 27th March 2012, 01:43
chaloum chaloum is offline
Member
 
Join Date: Mar 2012
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Yes I've already done that and from the DNS and Google site every thing is cool but not with the web server nothing goes out from the server
Reply With Quote
  #17  
Old 27th March 2012, 02:11
deskartez deskartez is offline
Junior Member
 
Join Date: Mar 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by chaloum View Post
Yes I've already done that and from the DNS and Google site every thing is cool but not with the web server nothing goes out from the server
ah ok now i understand, yes i have had this problem as well. Basically a CMS or service like fail2ban cannot send outgoing emails on the server. My workaround for this was to have postfix and mailman installed and running on the server solely for the purpose of handling server originated email. Without a mail server like postfix a content managment system using standard php form will not be able to send any outgoing emails. Correct me if i am wrong but my understanding is that a mail server is still required to run on linux server. Google apps mail server does not and cannot handle the goings on of a servers internal mail. Hence a mail server daemon needs to be on at all times on your own server to relay and direct mail from the local server to any outbound server. That being said you have to configure your postfix and mailman installations to send email using your hosting company or ISPs SMTP Service - they designate a specific Server Name for your account. This is your smtp email relay which is required for any emails to be sent from your server.

Last edited by deskartez; 27th March 2012 at 02:32.
Reply With Quote
  #18  
Old 27th March 2012, 08:27
chaloum chaloum is offline
Member
 
Join Date: Mar 2012
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

deskartez, unfortunately the local email service is only partially working only the SMTP side of thing and emails don't get sent outside the server.

As for configuring the local services I've no head where they are located and how to configure it under the Centos/ISPConfig system

All I know is postfix and courier are in the mix
Reply With Quote
  #19  
Old 27th March 2012, 19:13
deskartez deskartez is offline
Junior Member
 
Join Date: Mar 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by chaloum View Post
deskartez, unfortunately the local email service is only partially working only the SMTP side of thing and emails don't get sent outside the server.

As for configuring the local services I've no head where they are located and how to configure it under the Centos/ISPConfig system

All I know is postfix and courier are in the mix

hello you can install postfix and mailman by just doing a yum install.
yum install postfix mailman

however yum is the package installer for fedora. I only use fedora or redhat linux. Other distros have different package installers like apt-get ....(unbunto/debian)

after installation on fedora, adjust the config files in the etc directory to reflect your smtp relay and then on the command terminal just run the cammands
Code:
service postfix start
Code:
service mailman start

Last edited by deskartez; 27th March 2012 at 19:16.
Reply With Quote
  #20  
Old 27th March 2012, 21:02
chaloum chaloum is offline
Member
 
Join Date: Mar 2012
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Been through that at least a dozen times
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
php Apps email not going through palkat General 8 21st September 2011 05:35
ISPConfig 3 Installation - Postfix queue stuck andrew971218 Installation/Configuration 21 15th July 2011 14:42
amavis & ispconfig 3 yalex2000 Installation/Configuration 20 18th February 2010 17:02
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
What can be wrong martin_rudowicz Installation/Configuration 9 11th May 2008 19:42


All times are GMT +2. The time now is 15:03.


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