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 8th November 2011, 17:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

Your server seems to be configured for dovecot though. Please post the output of:

which dovecot

Make a backup of the postfix main.cf file, search for the lines:

smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth

and comment them out. Then searc for the line:

virtual_transport = dovecot

and change it to:

virtual_transport = maildrop

and then restart postfix.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
zenny (8th November 2011)
Sponsored Links
  #12  
Old 8th November 2011, 18:04
zenny zenny is offline
Senior Member
 
Join Date: Nov 2006
Posts: 176
Thanks: 20
Thanked 6 Times in 6 Posts
Default

Thanks Till.

[QUOTE]Your server seems to be configured for dovecot though. Please post the output of:

Code:
which dovecot
Quote:
/usr/bin/which: no dovecot in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

Quote:
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
No idea how come dovecot appeared in my main.cf? hmmmmm...


virtual_transport is already maildrop

Postfix restared, can send emails but not receive!
Reply With Quote
  #13  
Old 8th November 2011, 18:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

Quote:
Postfix restared, can send emails but not receive!
Please post the errors from the maillog.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #14  
Old 8th November 2011, 18:20
zenny zenny is offline
Senior Member
 
Join Date: Nov 2006
Posts: 176
Thanks: 20
Thanked 6 Times in 6 Posts
Default

Code:
# tail -n 20 /var/log/maillog
Quote:
Nov 8 18:05:05 server1 postfix/smtpd[2256]: lost connection after CONNECT from server1.freeregistrar.net[127.0.0.1]
Nov 8 18:05:05 server1 postfix/smtpd[2256]: disconnect from server1.freeregistrar.net[127.0.0.1]
Nov 8 18:05:07 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:05:07 server1 imapd: LOGIN, user=my@email.tld, ip=[::ffff:127.0.0.1], port=[33924], protocol=IMAP
Nov 8 18:05:07 server1 imapd: LOGOUT, user=my@email.tld, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4102, time=0
Nov 8 18:05:19 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:05:19 server1 imapd: LOGIN, user=my@email.tld, ip=[::ffff:127.0.0.1], port=[33931], protocol=IMAP
Nov 8 18:05:19 server1 imapd: LOGOUT, user=my@email.tld, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4102, time=0
Nov 8 18:06:19 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:06:20 server1 imapd: LOGIN, user=my@email.tld, ip=[::ffff:127.0.0.1], port=[33935], protocol=IMAP
Nov 8 18:06:20 server1 imapd: LOGOUT, user=my@email.tld, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4102, time=0
Nov 8 18:07:19 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:07:19 server1 imapd: LOGIN, user=my@email.tld, ip=[::ffff:127.0.0.1], port=[34322], protocol=IMAP
Nov 8 18:07:19 server1 imapd: LOGOUT, user=my@email.tld, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4102, time=0
Nov 8 18:08:19 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:08:19 server1 imapd: LOGIN, user=my@email.tld, ip=[::ffff:127.0.0.1], port=[34333], protocol=IMAP
Nov 8 18:08:19 server1 imapd: LOGOUT, user=my@email.tld, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4102, time=0
Nov 8 18:09:19 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:09:19 server1 imapd: LOGIN, user=my@email.tld, ip=[::ffff:127.0.0.1], port=[34344], protocol=IMAP
Nov 8 18:09:19 server1 imapd: LOGOUT, user=my@email.tld, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4102, time=0
Code:
#getenforce
Quote:
Disabled
Code:
#netstat -tap
Quote:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 server1.myhostdomain.:smtp *:* LISTEN 29088/sendmail: MTA
tcp 0 0 server1.myhostdomain:10024 *:* LISTEN 15025/amavisd (mast
tcp 0 0 server1.myhostdomain:10025 *:* LISTEN 380/master
tcp 0 0 server1.myhostdomain.:7787 *:* LISTEN 16961/ruby
tcp 0 0 server1.myhostdomain:dyna-access *:* LISTEN 15048/clamd
tcp 0 0 server1.myhostdomain:submission *:* LISTEN 23021/sendmail: MTA
tcp 0 0 *:sunrpc *:* LISTEN 4939/portmap
tcp 0 0 *:http *:* LISTEN 22973/apache2
tcp 0 0 *:ftp *:* LISTEN 15148/pure-ftpd (SE
tcp 0 0 192.168.122.1:domain *:* LISTEN 2903/dnsmasq
tcp 0 0 server1.myhostdomain.:7767 *:* LISTEN 17008/ruby
tcp 0 0 server1.myhostdomain.n:ipp *:* LISTEN 6255/cupsd
tcp 0 0 *:remoteware-cl *:* LISTEN 16974/ruby
tcp 0 0 *:smtp *:* LISTEN 380/master
tcp 0 0 *:921 *:* LISTEN 4979/rpc.statd
tcp 0 0 *:ssh *:* LISTEN 23038/sshd
tcp 0 0 server1.myhostdomain:48283 *:* LISTEN 16974/ruby
tcp 0 0 server1.myhostdomain.:7787 server1.myhostdomain:40313 ESTABLISHED 16961/ruby
tcp 0 0 server1.myhostdomain:34605 server1.myhostdomain:mysql ESTABLISHED 15046/amavisd (ch1-
tcp 0 0 server1.myhostdomain:56436 server1.myhostdomain.:7767 TIME_WAIT -
tcp 0 0 server1.myhostdomain:56433 server1.myhostdomain.:7767 TIME_WAIT -
tcp 0 0 server1.myhostdomain:56432 server1.myhostdomain.:7767 TIME_WAIT -
tcp 0 0 server1.myhostdomain:56435 server1.myhostdomain.:7767 TIME_WAIT -
tcp 0 0 server1.myhostdomain:56434 server1.myhostdomain.:7767 TIME_WAIT -
tcp 0 0 server1.myhostdomain:56429 server1.myhostdomain.:7767 TIME_WAIT -
tcp 0 0 server1.myhostdomain:56428 server1.myhostdomain.:7767 TIME_WAIT -
tcp 0 0 server1.myhostdomain:56431 server1.myhostdomain.:7767 TIME_WAIT -
tcp 0 0 server1.myhostdomain:56430 server1.myhostdomain.:7767 TIME_WAIT -
tcp 0 0 server1.myhostdomain:56425 server1.myhostdomain.:7767 TIME_WAIT -
tcp 0 0 server1.myhostdomain:56427 server1.myhostdomain.:7767 TIME_WAIT -
tcp 0 0 server1.freer:remoteware-cl server1.myhostdomain:42975 TIME_WAIT -
tcp 62 0 server1.myhostdomain:52024 server1.myhostdomain:10025 CLOSE_WAIT 15046/amavisd (ch1-
tcp 0 0 server1.myhostdomain:40313 server1.myhostdomain.:7787 ESTABLISHED 16974/ruby
tcp 0 0 *:imaps *:* LISTEN 31739/couriertcpd
tcp 0 0 *op3s *:* LISTEN 307/couriertcpd
tcp 0 0 *:mysql *:* LISTEN 14901/mysqld
tcp 0 0 *op3 *:* LISTEN 301/couriertcpd
tcp 0 0 *:imap *:* LISTEN 31732/couriertcpd
tcp 0 0 *:webcache *:* LISTEN 16754/httpd
tcp 0 0 *:http *:* LISTEN 16754/httpd
tcp 0 0 *:tproxy *:* LISTEN 16754/httpd
tcp 0 0 *:ftp *:* LISTEN 15148/pure-ftpd (SE
tcp 0 0 *:ssh *:* LISTEN 6242/sshd
tcp 0 0 *:https *:* LISTEN 16754/httpd
tcp 0 0 server1.myhostdomain.:imap server1.myhostdomain:34322 TIME_WAIT -
tcp 0 0 server1.myhostdomain:mysql server1.myhostdomain:34605 ESTABLISHED 14901/mysqld
tcp 0 0 ns1.myhostdomain.net:ssh 178.199.126.212.static:56371 ESTABLISHED 14783/0
tcp 0 6720 ns1.myhostdomain.net:ssh 178.199.126.212.static:52749 ESTABLISHED 19173/1
*Please note that the sendmail is running in a container, not host.
Reply With Quote
  #15  
Old 8th November 2011, 18:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

The log lines are ok, no errors. Pleases end a email to your server and then check which error gest logged in the maillog.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #16  
Old 8th November 2011, 19:03
zenny zenny is offline
Senior Member
 
Join Date: Nov 2006
Posts: 176
Thanks: 20
Thanked 6 Times in 6 Posts
Default

I tried to send an email to the server from outside and this is what I am repeatedly getting:

Code:
# tail -f /var/log/maillog
Quote:
Nov 8 18:50:03 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:50:03 server1 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Nov 8 18:50:03 server1 pop3d: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:50:03 server1 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Nov 8 18:50:03 server1 postfix/smtpd[18461]: connect from server1.MYHOSTDOMAIN.TLD[127.0.0.1]
Nov 8 18:50:03 server1 postfix/smtpd[18461]: lost connection after CONNECT from server1.MYHOSTDOMAIN.TLD[127.0.0.1]
Nov 8 18:50:03 server1 postfix/smtpd[18461]: disconnect from server1.MYHOSTDOMAIN.TLD[127.0.0.1]
Nov 8 18:50:19 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:50:19 server1 imapd: LOGIN, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], port=[55101], protocol=IMAP
Nov 8 18:50:19 server1 imapd: LOGOUT, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4106, time=0
Nov 8 18:51:19 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:51:19 server1 imapd: LOGIN, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], port=[55112], protocol=IMAP
Nov 8 18:51:19 server1 imapd: LOGOUT, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4106, time=0
Nov 8 18:52:19 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:52:19 server1 imapd: LOGIN, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], port=[38036], protocol=IMAP
Nov 8 18:52:19 server1 imapd: LOGOUT, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4106, time=0
Nov 8 18:52:33 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:52:33 server1 imapd: LOGIN, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], port=[38037], protocol=IMAP
Nov 8 18:52:33 server1 imapd: LOGOUT, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4106, time=0
Nov 8 18:53:19 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:53:19 server1 imapd: LOGIN, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], port=[38050], protocol=IMAP
Nov 8 18:53:19 server1 imapd: LOGOUT, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4106, time=0
Nov 8 18:54:19 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:54:19 server1 imapd: LOGIN, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], port=[38065], protocol=IMAP
Nov 8 18:54:19 server1 imapd: LOGOUT, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4106, time=0
Nov 8 18:54:38 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:54:38 server1 imapd: LOGIN, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], port=[38066], protocol=IMAP
Nov 8 18:54:38 server1 imapd: LOGOUT, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4106, time=0
Nov 8 18:54:40 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:54:40 server1 imapd: LOGIN, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], port=[38067], protocol=IMAP
Nov 8 18:54:41 server1 imapd: LOGOUT, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], headers=352, body=32053, rcvd=348, sent=33908, time=1
Nov 8 18:55:02 server1 postfix/smtpd[19214]: connect from server1.MYHOSTDOMAIN.TLD[127.0.0.1]
Nov 8 18:55:02 server1 postfix/smtpd[19214]: lost connection after CONNECT from server1.MYHOSTDOMAIN.TLD[127.0.0.1]
Nov 8 18:55:02 server1 postfix/smtpd[19214]: disconnect from server1.MYHOSTDOMAIN.TLD[127.0.0.1]
Nov 8 18:55:02 server1 pop3d: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:55:02 server1 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Nov 8 18:55:02 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:55:02 server1 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Nov 8 18:55:14 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:55:14 server1 imapd: LOGIN, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], port=[38084], protocol=IMAP
Nov 8 18:55:14 server1 imapd: LOGOUT, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], headers=259, body=0, rcvd=548, sent=5876, time=0
Nov 8 18:55:19 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:55:19 server1 imapd: LOGIN, user=ME@MYDOMAIN.TLD, ip=[::ffff:127.0.0.1], port=[38085], protocol=IMAP
Nov 8 18:55:19 server1 imapd: LOGOUT, user=ME@MYDOMAIN.TLD, ip=[::Nov 8 18:55:02 server1 pop3d: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:55:02 server1 pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Nov 8 18:55:02 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Nov 8 18:55:02 server1 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Nov 8 18:55:14 server1 imapd: Connection, ip=[::ffff:127.0.0.1]
ffff:127.0.0.1], headers=0, body=0, rcvd=79, sent=4102, time=0
But the mail from outside is never delivered! :-(
Reply With Quote
  #17  
Old 8th November 2011, 19:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

The mail from outsude never reached your server. According to the logfile, no external system tried to contact your server. You should check your dns records and firewall.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #18  
Old 8th November 2011, 20:07
zenny zenny is offline
Senior Member
 
Join Date: Nov 2006
Posts: 176
Thanks: 20
Thanked 6 Times in 6 Posts
Default

I will check the DNS records. But it was a working system before I upgraded to 3.0.4 perfectly.

I encountered a similar problem when upgraded from 3.0.0.2 to 3.0.3.3. It was fixed. I just upgraded to 3.0.4 for SNI support. In recent times, upgrading ISPConfig in a production server seems not out of chaos!
Reply With Quote
  #19  
Old 8th November 2011, 20:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
 
Default

Quote:
In recent times, upgrading ISPConfig in a production server seems not out of chaos!
I dont think so. There are several thousand successfull upgrades already to 3.0.4, also all my servers upgraded without a single problem by just running ispconfig_update.sh. Its sad to see that your upgrade failed and I will try to help you to find the problem, but you should be aware that you not only installed a ispconfig update, you also installed and compiled a lot of system software at the same time and the software versions and compile settings that you used to install the software had not been tested on centos with ispconfig. The tested setup is what you find in the perfect setup guide, if you use different software or software versions, you will have to check if they and the compile settings ypu used are compatible with ispconfig.

If you had this problem already with ISPConfig 3.0.3.3, then you should post which solution you used that time so I might be able to tell you what the reason for the problem is.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Mailserver problem after upgrading to 3.0.4 zenny Installation/Configuration 3 7th November 2011 10:20
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
BIG Problem Postfix issue admins Installation/Configuration 11 13th November 2009 10:05
postfix mysql on fedora core5 igongora Installation/Configuration 7 17th April 2007 04:40


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


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