Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-03-2009, 02:34 AM
Member
 
Posts: 11
Default Zimbra behind NAT and lmtp:Connection refused (port 7025)

Hello!

I try to use zimbra. (
Release 5.0.15_GA_2851.RHEL5_20090310165728 CentOS5 NETWORK edition
)

after installing, i cant receive email at all.

in logs

mailq:

BA20469E04D6 1095 Fri Apr 3 11:47:28 zimbra@pingwinlinux.ru
(mail transport unavailable)
admin@pingwinlinux.ru

/var/log/maillog

Apr 3 13:15:42 pingwinlinux postfix/lmtp[11816]: connect to pingwinlinux.ru[209.172.35.135]: Connection refused (port 7025)
Apr 3 13:15:42 pingwinlinux postfix/lmtp[11815]: 70DA069E04E8: to=, relay=none, delay=982, delays=982/0.03/0/0, dsn=4.4.1, status=deferred (connect to pingwinlinux.ru[209.172.35.135]: Connection refused)

localip 10.200.1.30
external ip 209.172.35.135

try to check

[zimbra@pingwinlinux ~]$ telnet pingwinlinux.ru 7025
Trying 10.200.1.30...
Connected to pingwinlinux.ru.
Escape character is '^]'.
220 pingwinlinux.ru Zimbra LMTP ready
quit
221 pingwinlinux.ru closing connection
Connection closed by foreign host.
[zimbra@pingwinlinux ~]$ telnet localhost 7025
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 pingwinlinux.ru Zimbra LMTP ready
quit
221 pingwinlinux.ru closing connection
Connection closed by foreign host.
[zimbra@pingwinlinux ~]$ telnet 10.200.1.30 7025
Trying 10.200.1.30...
Connected to 10.200.1.30.
Escape character is '^]'.
220 pingwinlinux.ru Zimbra LMTP ready
quit
221 pingwinlinux.ru closing connection
Connection closed by foreign host.

[zimbra@pingwinlinux ~]$ zmprov ga admin@pingwinlinux.ru | grep -i transport
zimbraMailTransport: lmtpingwinlinux.ru:7025

Now i try to increase debug_peer_level in postfix

[zimbra@pingwinlinux ~]$ postconf -d|grep debug_peer_level
audit_log_user_command(): Connection refused
debug_peer_level = 2

[zimbra@pingwinlinux ~]$ postconf -e debug_peer_level=15
audit_log_user_command(): Connection refused

[zimbra@pingwinlinux ~]$ cat /opt/zimbra/postfix/conf/main.cf|grep debug_peer_level
debug_peer_level = 15

[zimbra@pingwinlinux ~]$ postfix reload
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
postfix/postfix-script: refreshing the Postfix mail system

[zimbra@pingwinlinux ~]$ postconf -d|grep debug_peer_level
audit_log_user_command(): Connection refused
debug_peer_level = 2

WTF????

[zimbra@pingwinlinux ~]$ cat /opt/zimbra/postfix/conf/main.cf|grep debug_peer_level
debug_peer_level = 15


Where actual main.cf ? What i must do next to kick postfix in life?
Reply With Quote
  #2 (permalink)  
Old 04-03-2009, 02:40 AM
Moderator
 
Posts: 7,928
Default

As you are behind a firewall then you will need to implement a Wiki :: Split DNS architecture. If that fails to work then please post the following output
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
__________________
Reply With Quote
  #3 (permalink)  
Old 04-03-2009, 02:58 AM
Member
 
Posts: 11
Default

Thanks, it help

But one question remain - how properly changing values in postfix main.cf?
Reply With Quote
  #4 (permalink)  
Old 04-03-2009, 03:00 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by multik View Post
Thanks, it help

But one question remain - how properly changing values in postfix main.cf?
Please post the output of the information you've been asked for.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 04-03-2009, 03:03 AM
Member
 
Posts: 11
Default

Here is my log ;_)

Now i try to increase debug_peer_level in postfix

[zimbra@pingwinlinux ~]$ postconf -d|grep debug_peer_level
audit_log_user_command(): Connection refused
debug_peer_level = 2

[zimbra@pingwinlinux ~]$ postconf -e debug_peer_level=15
audit_log_user_command(): Connection refused

[zimbra@pingwinlinux ~]$ cat /opt/zimbra/postfix/conf/main.cf|grep debug_peer_level
debug_peer_level = 15

[zimbra@pingwinlinux ~]$ postfix reload
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
postfix/postfix-script: refreshing the Postfix mail system

[zimbra@pingwinlinux ~]$ postconf -d|grep debug_peer_level
audit_log_user_command(): Connection refused
debug_peer_level = 2


debug_peer* is for example. Postfix has many features, that not covered zmprov
Reply With Quote
  #6 (permalink)  
Old 04-03-2009, 03:09 AM
Moderator
 
Posts: 7,928
Default

Code:
[zimbra@office logger]$ postconf -d | grep debug_peer_level
debug_peer_level = 2
works for me just fine so have you restarted ZCS after fixing your DNS issues ? Also, please post the output both Phoenix and myself have asked for
__________________
Reply With Quote
  #7 (permalink)  
Old 04-03-2009, 03:14 AM
Member
 
Posts: 11
Default

Quote:
Originally Posted by uxbod View Post
Code:
[zimbra@office logger]$ postconf -d | grep debug_peer_level
debug_peer_level = 2
works for me just fine so have you restarted ZCS after fixing your DNS issues ? Also, please post the output both Phoenix and myself have asked for
My DNS issue is fixed ;-) (so you can mark this as solved) All works fine. So i think, that output of host&dig is not necessary any more (right? )

i have only one (now - last) question about changing postfix main.cf parameters by properly way (so they not rewriting after reloads and so on)
Reply With Quote
  #8 (permalink)  
Old 04-03-2009, 03:24 AM
Moderator
 
Posts: 7,928
Default

Code:
su - zimbra
postconf -e {attribute}={value}
postfix reload
__________________
Reply With Quote
  #9 (permalink)  
Old 04-03-2009, 03:31 AM
Member
 
Posts: 11
Default

Quote:
Originally Posted by uxbod View Post
Code:
su - zimbra
postconf -e {attribute}={value}
postfix reload
Not works

[root@pingwinlinux /]# su - zimbra
[zimbra@pingwinlinux ~]$ postconf -d|grep debug_peer_level
audit_log_user_command(): Connection refused
debug_peer_level = 2
[zimbra@pingwinlinux ~]$ postconf -e debug_peer_level=10
audit_log_user_command(): Connection refused
[zimbra@pingwinlinux ~]$ postfix reload
audit_log_user_command(): Connection refused
audit_log_user_command(): Connection refused
postfix/postfix-script: refreshing the Postfix mail system
[zimbra@pingwinlinux ~]$ postconf -d|grep debug_peer_level
audit_log_user_command(): Connection refused
debug_peer_level = 2
[zimbra@pingwinlinux ~]$ cat /opt/zimbra/postfix/conf/main.cf|grep debug_peer_level
debug_peer_level = 10


so all looks like postconf modify /opt/zimbra/postfix/conf/main.cf properly, but postfix read configuration from other file ;-)
Reply With Quote
  #10 (permalink)  
Old 04-03-2009, 03:40 AM
Moderator
 
Posts: 7,928
Default

If your getting
Quote:
audit_log_user_command(): Connection refused
then something is broken in your installation. So please post the commands we asked for before as Postfix is not being started correctly.
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.