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

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 Display Modes
  #21 (permalink)  
Old 06-19-2009, 02:47 AM
Senior Member
 
Posts: 55
Default

Quote:
Originally Posted by phoenix View Post
Let's check that everything is working correctly. I don't know if Ubuntu installs another MTA but do you have any other mailserver running on your system? Run the following commands on your server:

Code:
su - zimbra
zmcontrol status
That should show all the services running, if the MTA isn't running then do this:

Code:
telnet localhost 25
If you get a valid response from that then you have another MTA running and it needs to be stopped and disabled. If you need to stop it then restart Zimbra again and see if you can send email. If there's still the same problem then run these commands again and post the output:

Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- note backticks and not single quotes
Ubuntu also has Apparmor but I don't know if it's enabled by default, can you check and disable it if it's running and you should also make sure there's no firewall running on that server.


zimbra@pop:/root$ zmcontrol status
Host pop.ksfe.com
antispam Running
antivirus Running
ldap Running
mailbox Running
mta Running
snmp Running
spell Running
stats Running



Then I stopped Zimbra and executed the command


zimbra@pop:/root$ telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

I have already recorded the details in my previous post.
for host and mx records,


Any way thanks a lot for getting support from all of you.:
Reply With Quote
  #22 (permalink)  
Old 06-19-2009, 02:58 AM
Senior Member
 
Posts: 55
Default

Quote:
Originally Posted by ask2me007 View Post
zimbra@pop:/root$ zmcontrol status
Host pop.ksfe.com
antispam Running
antivirus Running
ldap Running
mailbox Running
mta Running
snmp Running
spell Running
stats Running



Then I stopped Zimbra and executed the command


zimbra@pop:/root$ telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

I have already recorded the details in my previous post.
for host and mx records,


Any way thanks a lot for getting support from all of you.:

Sorry to say again.


Jun 19 14:26:45 pop amavis[8208]: (08208-01) extra modules loaded: /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al, IO/Socket/SSL.pm, Net/LDAP/Extension.pm, Net/SSLeay.pm
Jun 19 14:26:45 pop postfix/smtp[11758]: 9A71B802312: to=<ebas@gmail.com>, relay=none, delay=0.09, delays=0.09/0/0/0, dsn=4.4.1, status=deferred (connect to 59.93.43.183[59.93.43.183]: Connection refused)
Reply With Quote
  #23 (permalink)  
Old 06-19-2009, 03:05 AM
Moderator
 
Posts: 5,806
Default

Post post the zone information I have asked for
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #24 (permalink)  
Old 06-19-2009, 03:24 AM
Senior Member
 
Posts: 55
Default

Quote:
Originally Posted by uxbod View Post
Post post the zone information I have asked for


//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
#####added ask
options {
directory "/var/cache/bind";

query-source address * port 53;

forwarders {
218.248.240.208; 218.248.240.135;
};

auth-nxdomain no; # conform to RFC1035

};
//forwarders { ip_addr [port ip_port] ; [ ip_addr [port ip_port] ; ... ] };
Reply With Quote
  #25 (permalink)  
Old 06-19-2009, 03:53 AM
Moderator
 
Posts: 5,806
Default

So where have you specified your domain zone file ? All I can see in that file is two forwarders. This means all your DNS queries are being sent upstream so it will always resolve to your external IP and not the internal one.
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #26 (permalink)  
Old 06-19-2009, 05:00 AM
Senior Member
 
Posts: 55
Default

Quote:
Originally Posted by uxbod View Post
So where have you specified your domain zone file ? All I can see in that file is two forwarders. This means all your DNS queries are being sent upstream so it will always resolve to your external IP and not the internal one.

I have included the followin in named.conf

zone "domain.com" {
type master;
file "/etc/bind/db.domain.com";
};

Now the


zimbra@pop:/root$ dig domain.com mx

; <<>> DiG 9.4.2 <<>> domain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 568
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;domain.com. IN MX

;; ANSWER SECTION:
domain.com. 604800 IN MX 10 pop.domain.com.

;; AUTHORITY SECTION:
domain.com. 604800 IN NS pop.domain.com.

;; ADDITIONAL SECTION:
pop.domain.com. 604800 IN A 192.168.10.5

;; Query time: 0 msec
;; SERVER: 192.168.10.5#53(192.168.10.5)
;; WHEN: Fri Jun 19 16:19:41 2009
;; MSG SIZE rcvd: 76

Again when sending mail it says the following error



Jun 19 16:29:48 pop postfix/smtp[32579]: C1E68802329: to=<ask2me007@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=12, delays=0.09/0.01/0/12, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 5D7AD80232A)
Jun 19 16:29:48 pop postfix/qmgr[20509]: C1E68802329: removed
Jun 19 16:29:48 pop postfix/smtp[32750]: 5D7AD80232A: to=<ask2me007@gmail.com>, relay=none, delay=0.09, delays=0.08/0.01/0/0, dsn=4.4.1, status=deferred (connect to 59.93.43.183[59.93.43.183]: Connection refused)
Reply With Quote
  #27 (permalink)  
Old 06-19-2009, 07:02 AM
Zimbra Consultant & Moderator
 
Posts: 11,517
Default

Quote:
Originally Posted by ask2me007 View Post
zimbra@pop:/root$ telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
That would indicate to me that you have a firewall of AppArmor blocking the connection. Check this article and disable AppAromor: https://help.ubuntu.com/community/Ap...or%20framework and also disable your firewall: https://help.ubuntu.com/8.04/serverg.../firewall.html
__________________
Regards


Bill
Reply With Quote
  #28 (permalink)  
Old 06-19-2009, 07:16 AM
Zimbra Consultant & Moderator
 
Posts: 11,517
Default

Quote:
Originally Posted by ask2me007 View Post
Jun 19 14:26:45 pop postfix/smtp[11758]: 9A71B802312: to=<ebas@gmail.com>, relay=none, delay=0.09, delays=0.09/0/0/0, dsn=4.4.1, status=deferred (connect to 59.93.43.183[59.93.43.183]: Connection refused)
In addition, this would also indicate that you're still picking up your external IP address rather than your LAN IP address.
__________________
Regards


Bill
Reply With Quote
  #29 (permalink)  
Old 06-19-2009, 07:21 AM
Zimbra Consultant & Moderator
 
Posts: 11,517
Default

Can you also post the output of the following command:

Code:
cat /etc/nsswitch.conf
__________________
Regards


Bill
Reply With Quote
  #30 (permalink)  
Old 06-19-2009, 07:37 AM
Senior Member
 
Posts: 55
Default

Quote:
Originally Posted by phoenix View Post
That would indicate to me that you have a firewall of AppArmor blocking the connection. Check this article and disable AppAromor: https://help.ubuntu.com/community/Ap...or%20framework and also disable your firewall: https://help.ubuntu.com/8.04/serverg.../firewall.html


Dear Phoenix

As you said i checked firewall ,and there is no firewall loaded here.

root@pop:~# sudo ufw status
Firewall not loaded
And the apparmor disabled by using the following commands

sudo /etc/init.d/apparmor stop
sudo update-rc.d -f apparmor remove

Any way the problem i still there

Jun 19 19:05:04 pop postfix/smtp[11562]: EAD18802336: to=<ask2me007@gmail.com>, relay=none, delay=0.08, delays=0.08/0.01/0/0, dsn=4.4.1, status=deferred (connect to 59.93.43.183[59.93.43.183]: Connection refused)
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

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

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0