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 Search this Thread Display Modes
  #1 (permalink)  
Old 11-06-2010, 06:33 AM
Intermediate Member
 
Posts: 20
Default Problem when I send email through Internet

Dear sir
I get this message "Message not sent one more addresses were not accepted"
I search in the fourms to find solution I check This post
Relay access denied when sending mail out to the Internet
but I can not access the soluation
here are my informations
1- log file
Caused by:
Code:
com.zimbra.cs.mailbox.MailSender$SafeSendFailedException: 554 5.7.1 <most122@gmail.com>: Relay access denied
; chained exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 <most122@gmail.com>: Relay access denied

    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1281)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:622)
    at javax.mail.Transport.send0(Transport.java:169)
    at javax.mail.Transport.send(Transport.java:98)
    at com.zimbra.cs.mailbox.MailSender.sendMessage(MailSender.java:428)
    at com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:248)
    ... 33 more
2010-11-06 15:35:38,764 INFO  [IndexWritersSweeperThread] [] index - open index writers sweep: before=1, closed=0, after=1 (0ms)
2010-11-06 15:36:08,770 INFO  [IndexWritersSweeperThread] [] index - open index writers sweep: before=1, closed=0, after=1 (0ms)
2010-11-06 15:36:38,776 INFO  [IndexWritersSweeperThread] [] index - open index writers sweep: before=1, closed=0, after=1 (0ms)
2010-11-06 15:37:08,782 INFO  [IndexWritersSweeperThread] [] index - open index writers sweep: before=1, closed=0, after=1 (0ms)
2010-11-06 15:37:20,079 INFO  [btpool0-0] [name=mustafa@albaraka.com.sd;mid=7;ip=41.209.64.16;ua=ZimbraWebClient - [unknown] (Win)/5.0.2_GA_1975.RHEL5;] mailbox - Added message: id=283, digest=GjimEcp1BtRTcihR8xrrs5K,oN8=, folderId=6, folderName=Drafts
Code:
cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
##::1           localhost6.localdomain6 localhost6
96.1.196.30    webmail.albaraka.com.sd webmail
196.1.196.30    bmail.albaraka.com.sd  bmail

10.114.43.52    webmail.albaraka.com.sd webmail
10.114.43.52    bmail.albaraka.com.sd  bmail
Code:
[root@bmail ~]# cat /etc/resolv.conf
search albaraka.com.sd
#nameserver 127.0.0.1
nameserver 10.114.43.52
#nameserver 196.1.196.30
Code:
[root@bmail ~]# dig albaraka.com.sd mx

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> albaraka.com.sd mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47926
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;albaraka.com.sd.               IN      MX

;; ANSWER SECTION:
albaraka.com.sd.        38400   IN      MX      10 bmail.albaraka.com.sd.

;; AUTHORITY SECTION:
albaraka.com.sd.        38400   IN      NS      10.114.43.52.albaraka.com.sd.

;; ADDITIONAL SECTION:
bmail.albaraka.com.sd.  38400   IN      A       10.114.43.52

;; Query time: 0 msec
;; SERVER: 10.114.43.52#53(10.114.43.52)
;; WHEN: Sat Nov  6 16:27:08 2010
;; MSG SIZE  rcvd: 98
Code:
[root@bmail ~]# dig albaraka.com.sd any

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> albaraka.com.sd any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57159
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;albaraka.com.sd.               IN      ANY

;; ANSWER SECTION:
albaraka.com.sd.        38400   IN      SOA     bmail.albaraka.com.sd. root.albaraka.com.sd. 1223137471 10800 900 1814400 10800
albaraka.com.sd.        38400   IN      NS      10.114.43.52.albaraka.com.sd.
albaraka.com.sd.        38400   IN      A       10.114.43.52
albaraka.com.sd.        38400   IN      A       196.1.196.30
albaraka.com.sd.        38400   IN      MX      10 bmail.albaraka.com.sd.

;; ADDITIONAL SECTION:
bmail.albaraka.com.sd.  38400   IN      A       10.114.43.52

;; Query time: 0 msec
;; SERVER: 10.114.43.52#53(10.114.43.52)
;; WHEN: Sat Nov  6 16:27:40 2010
;; MSG SIZE  rcvd: 171
Code:
[root@bmail ~]# host hostname
Host hostname not found: 3(NXDOMAIN)
[root@bmail ~]#


Code:
[root@bmail ~]# host $(hostname)
bmail.albaraka.com.sd has address 10.114.43.52
Code:
[root@bmail ~]# host bmail
bmail.albaraka.com.sd has address 10.114.43.52

Last edited by phoenix; 11-06-2010 at 08:10 AM..
Reply With Quote
  #2 (permalink)  
Old 11-06-2010, 06:55 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Your hosts file is incorrect, it should only contain the loopback IP and the IP of your Zimbra server on the LAN and nothing else. I'd suggest you go to the Split DNS article and look at the 'Verify....' section, that has details of what should be in the hosts file. Fix that and restart Zimbra then see if you get any errors in the log files.

This error and the solution I've mentioned above is in the thread that you've posted the link or and many other threads in the forums.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-06-2010, 08:04 AM
Intermediate Member
 
Posts: 20
Wink

Quote:
Originally Posted by phoenix View Post
Your hosts file is incorrect, it should only contain the loopback IP and the IP of your Zimbra server on the LAN and nothing else. I'd suggest you go to the Split DNS article and look at the 'Verify....' section, that has details of what should be in the hosts file. Fix that and restart Zimbra then see if you get any errors in the log files.

This error and the solution I've mentioned above is in the thread that you've posted the link or and many other threads in the forums.
Thanks Mr Bill Because you are trying to help me for the second time ;I dont know what do you mean By zimbra IP Address.. Ihave 2 Ipaddress one is for LAN 10.114.43.52 and the other 196 is for external IP so Is server address is same of zimbra ip address?
Please give me more patience im new in zimbra and linux world
Reply With Quote
  #4 (permalink)  
Old 11-06-2010, 08:07 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by most View Post
Thanks Mr Bill Because your help me before I dont know what do you mean By zimbra IP Address.. Ihave 2 Ipaddress one is for LAN 10.114.43.52 and the other 196 is for external IP so Is lan address is same of zimbra ip address?
I've already told you in my rpevious reply, the LAN IP address of the Zimbra server - and nothing else (apart from the loopback IP). The format is given in the Split DNS article including a full explanation of what's needed in the hosts file.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 11-07-2010, 12:46 AM
Intermediate Member
 
Posts: 20
Default

My hostfile after I have changed it is correct now?
[root@bmail ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.114.43.52 bmail.albaraka.com.sd bmail
##::1 localhost6.localdomain6 localhost6
Reply With Quote
  #6 (permalink)  
Old 11-07-2010, 01:02 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by most View Post
My hostfile after I have changed it is correct now?
Yes, it is.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 11-07-2010, 02:51 AM
Intermediate Member
 
Posts: 20
Default

Quote:
Originally Posted by phoenix View Post
Yes, it is.
Thank You let me check and iwill inform you
Reply With Quote
  #8 (permalink)  
Old 11-07-2010, 03:57 AM
Intermediate Member
 
Posts: 20
Default

After checked again there were no error message and the message "Messgae sent " appear but when I check my inbox I found nothing this the same thing when I send from me to me!!!
Reply With Quote
  #9 (permalink)  
Old 11-07-2010, 04:56 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by most View Post
After checked again there were no error message and the message "Messgae sent " appear but when I check my inbox I found nothing this the same thing when I send from me to me!!!
You need to tail the log files and post the information you see when you send an email from a Zimbra account to somewhere else.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 11-07-2010, 09:39 PM
Intermediate Member
 
Posts: 20
Default

Quote:
Originally Posted by phoenix View Post
You need to tail the log files and post the information you see when you send an email from a Zimbra account to somewhere else.
This is the log file:-

Code:
2010-11-08 07:36:04,607 INFO  [btpool0-1] [name=admin@albaraka.com.sd;mid=2;ip=10.114.43.52;ua=ZimbraWebClient - FF3.0 (Linux)/5.0.2_GA_1975.RHEL5;] SendMsg - <SendMsg> LC(mbox=64b2927e-6784-4a60-bd30-c90bc34e8865, sessions=115)
2010-11-08 07:36:04,609 INFO  [btpool0-1] [name=admin@albaraka.com.sd;mid=2;ip=10.114.43.52;ua=ZimbraWebClient - FF3.0 (Linux)/5.0.2_GA_1975.RHEL5;] smtp - Sending message: Message-ID=<22486527.61289219764609.JavaMail.root@bmail.albaraka.com.sd>, replyType=r
2010-11-08 07:36:04,631 INFO  [btpool0-1] [name=admin@albaraka.com.sd;mid=2;ip=10.114.43.52;ua=ZimbraWebClient - FF3.0 (Linux)/5.0.2_GA_1975.RHEL5;] mailbox - Added message: id=302, digest=qR4gdvpQHiUkOXytVm2P,JtWNDI=, folderId=5, folderName=Sent
2010-11-08 07:36:12,131 WARN  [btpool0-19] [] log - /service/proxy: java.net.UnknownHostException: j.maxmind.com
2010-11-08 07:36:12,407 WARN  [btpool0-12] [] log - /service/proxy: java.net.UnknownHostException: api.maps.yahoo.com
2010-11-08 07:36:32,896 INFO  [IndexWritersSweeperThread] [] index - open index writers sweep: before=1, closed=0, after=1 (0ms)
2010-11-08 07:36:37,682 INFO  [btpool0-22] [name=admin@albaraka.com.sd;mid=2;ip=10.114.43.52;ua=ZimbraWebClient - FF3.0 (Linux)/5.0.2_GA_1975.RHEL5;] SendMsg - <SendMsg> LC(mbox=64b2927e-6784-4a60-bd30-c90bc34e8865, sessions=115)
2010-11-08 07:36:37,683 INFO  [btpool0-22] [name=admin@albaraka.com.sd;mid=2;ip=10.114.43.52;ua=ZimbraWebClient - FF3.0 (Linux)/5.0.2_GA_1975.RHEL5;] smtp - Sending message: Message-ID=<14468322.91289219797683.JavaMail.root@bmail.albaraka.com.sd>, replyType=r
2010-11-08 07:36:37,697 INFO  [btpool0-22] [name=admin@albaraka.com.sd;mid=2;ip=10.114.43.52;ua=ZimbraWebClient - FF3.0 (Linux)/5.0.2_GA_1975.RHEL5;] mailbox - Added message: id=303, digest=ercVsGQ91lfg0OSLTepQB,3zwZk=, folderId=5, folderName=Sent

Last edited by phoenix; 11-08-2010 at 02:51 AM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.