Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd March 2012, 07:31
chaloum chaloum is offline
Member
 
Join Date: Mar 2012
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default Mail services offline and cant seem to restart

I'm reasonable sure that when I set the server up the smtp-server pop3-server and imap-server where all online.

now the servers in ISPConfig it says the servers are off-line and I cant seem to get them started.

I'm asking two questions

1) how do i get mail servers running started, ive done /etc/init.d/courier-imap restart etc it the systems doesn't say if it was successful in restarting
2) how would i get this working with google apps?


thanks
Reply With Quote
Sponsored Links
  #2  
Old 23rd March 2012, 13:03
kwickcut kwickcut is offline
Senior Member
 
Join Date: Nov 2005
Location: nj usa
Posts: 223
Thanks: 14
Thanked 11 Times in 10 Posts
Default

what distro are you using and what howto did you use
assuming that you have postfix installed try

Code:
sudo /etc/init.d/postfix restart
__________________
Operating system Ubuntu Linux 10.04.4
ISPConfig Version: 3.0.4.3
Webmin version 1.580
Kernel and CPU Linux 2.6.32-40-server on x86_64
Processor information AMD Phenom(tm) II X4 945 Processor, 4 cores
Real memory 4.0 GB total
Reply With Quote
  #3  
Old 23rd March 2012, 13:05
chaloum chaloum is offline
Member
 
Join Date: Mar 2012
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Centos 6.2 ISPConfig 3..0.4.3


i don the /etc/init.d/postfix restart many times it say it stopped and started but in ISPConfig it says off line

Last edited by chaloum; 23rd March 2012 at 13:08.
Reply With Quote
  #4  
Old 23rd March 2012, 13:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,467
Thanks: 813
Thanked 5,253 Times in 4,119 Posts
Default

Please post the output of:

neststat -tap
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 23rd March 2012, 13:15
chaloum chaloum is offline
Member
 
Join Date: Mar 2012
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

command not found! Im sure I used to earlier today
Reply With Quote
  #6  
Old 23rd March 2012, 13:17
chaloum chaloum is offline
Member
 
Join Date: Mar 2012
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

typo

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 13796/master
tcp 0 0 *:41567 *:* LISTEN 1381/rpc.statd
tcp 0 0 *:amqp *:* LISTEN 2057/qpidd
tcp 0 0 localhost.localdomain:10024 *:* LISTEN 1867/amavisd (maste
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 13796/master
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:42115 ESTABLISHED 1827/mysqld
tcp 0 0 localhost.localdomain:42052 localhost.localdomain:mysql ESTABLISHED 2051/amavisd (ch2-a
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.4:62809 ESTABLISHED 2328/sshd
tcp 51 0 localhost.localdomain:35257 localhost.localdomain:10025 CLOSE_WAIT 2052/amavisd (ch1-a
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:42052 ESTABLISHED 1827/mysqld
tcp 0 0 localhost.localdomain:42115 localhost.localdomain:mysql ESTABLISHED 2052/amavisd (ch1-a
tcp 0 0 *op3 *:* LISTEN 1893/couriertcpd
tcp 0 0 *:imap *:* LISTEN 1880/couriertcpd
tcp 0 0 *:sunrpc *:* LISTEN 1363/rpcbind
tcp 0 0 *:webcache *:* LISTEN 13342/httpd
tcp 0 0 *:http *:* LISTEN 13342/httpd
tcp 0 0 *:tproxy *:* LISTEN 13342/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 13796/master
tcp 0 0 *:https *:* LISTEN 13342/httpd
tcp 0 0 *:imaps *:* LISTEN 1887/couriertcpd
tcp 0 0 *op3s *:* LISTEN 1899/couriertcpd
tcp 0 0 server1.edmedia.ne:webcache CPE-124-188-240-27.ns:49462 ESTABLISHED 13382/httpd
Reply With Quote
  #7  
Old 23rd March 2012, 18:21
alleks alleks is offline
Senior Member
 
Join Date: Nov 2010
Posts: 157
Thanks: 9
Thanked 9 Times in 9 Posts
Default

I see the instance of smtp running, weird.

Try this
Code:
service postfix restart
or this
Code:
postfix stop && postfix start

Last edited by alleks; 23rd March 2012 at 18:24.
Reply With Quote
  #8  
Old 23rd March 2012, 22:25
chaloum chaloum is offline
Member
 
Join Date: Mar 2012
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I've done that several times before but did it again and still getting the same results

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 32116/master
tcp 0 0 *:41567 *:* LISTEN 1381/rpc.statd
tcp 0 0 localhost.localdomain:10024 *:* LISTEN 26857/amavisd (mast
tcp 0 0 *:amqp *:* LISTEN 2057/qpidd
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 32116/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.4:62809 ESTABLISHED 2328/sshd
tcp 0 0 server1.edmedia.net.au:ssh 192.168.1.199:58065 ESTABLISHED 17286/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 14389/httpd
tcp 0 0 *:http *:* LISTEN 14389/httpd
tcp 0 0 *:tproxy *:* LISTEN 14389/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 32116/master
tcp 0 0 *:https *:* LISTEN 14389/httpd
tcp 0 0 *:imaps *:* LISTEN 16773/couriertcpd
tcp 0 0 *op3s *:* LISTEN 16785/couriertcpd
Reply With Quote
  #9  
Old 23rd March 2012, 23:03
alleks alleks is offline
Senior Member
 
Join Date: Nov 2010
Posts: 157
Thanks: 9
Thanked 9 Times in 9 Posts
Default

than you should check your logs:
Errors:
Code:
tail -f /var/log/mail.err
Info
Code:
tail -f /var/log/mail.log
Reply With Quote
  #10  
Old 23rd March 2012, 23:05
chaloum chaloum is offline
Member
 
Join Date: Mar 2012
Posts: 83
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

tail: cannot open `/var/log/mail.log' for reading: No such file or directory
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


All times are GMT +2. The time now is 11:09.


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