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 06-10-2008, 06:19 AM
Active Member
 
Posts: 34
Default [SOLVED] Unable to send mail

After a fresh install on Ubuntu I have come to a small issue where users are unable to send any email. the log reflects this with:

NOQUEUE: reject: RCPT from boredom.geek-web.co.uk[87.194.16.78]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo=
Jun 10 13:50:24 boredom postfix/smtpd[11646]: disconnect from boredom.geek-web.co.uk[87.194.16.78]

The error the users are getting:

Message not sent; one or more addresses were nor accepted.
Rejected addresses: user@domain.com

Any suggestions please??

I've took a guess and added the external IP of the server to the trusted servers in the MTA but that seems to have resolved it but im not sure that it is very safe to do this.

Last edited by simonb256; 06-10-2008 at 06:22 AM..
Reply With Quote
  #2 (permalink)  
Old 06-10-2008, 06:58 AM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

Code:
boredom.geek-web.co.uk[87.194.16.78]
is that your server or the one attempting to send emails to you ?
__________________
Reply With Quote
  #3 (permalink)  
Old 06-10-2008, 07:02 AM
Active Member
 
Posts: 34
Default

Quote:
Originally Posted by uxbod View Post
Welcome to the forums

Code:
boredom.geek-web.co.uk[87.194.16.78]
is that your server or the one attempting to send emails to you ?
It's my server, which is the server im trying to send from. No matter who I sent to i still got the same error.
Reply With Quote
  #4 (permalink)  
Old 06-10-2008, 07:39 AM
Moderator
 
Posts: 7,928
Default

Did you follow ZimbraMtaMyNetworks - Zimbra :: Wiki and then restart the MTA ?
__________________
Reply With Quote
  #5 (permalink)  
Old 06-10-2008, 07:47 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by simonb256 View Post
I've took a guess and added the external IP of the server to the trusted servers in the MTA but that seems to have resolved it but im not sure that it is very safe to do this.
I would guess from that comment that you are behind a NAT Router, would that be correct? If so, you'll need a Split DNS set-up. As you suspect, it's not wise to have your external IP in the mynetwork setting unless you actually are on a public and not behind NAT.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 06-10-2008, 07:50 AM
Moderator
 
Posts: 7,928
Default

Just to validate your setting if you were to post the following we can take a look
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig geek-web.co.uk any
dig geek-web.co.uk mx
host `hostname` <- note backticks and not double quotes
__________________
Reply With Quote
  #7 (permalink)  
Old 06-10-2008, 07:53 AM
Active Member
 
Posts: 34
Default

Quote:
Originally Posted by phoenix View Post
I would guess from that comment that you are behind a NAT Router, would that be correct? If so, you'll need a Split DNS set-up. As you suspect, it's not wise to have your external IP in the mynetwork setting unless you actually are on a public and not behind NAT.
Nope im not NATed, i was up until I installed the software, but after having NAT issues I just gave up and gave it the public IP.
Reply With Quote
  #8 (permalink)  
Old 06-10-2008, 07:58 AM
Active Member
 
Posts: 34
Default

Quote:
Originally Posted by uxbod View Post
Just to validate your setting if you were to post the following we can take a look
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig geek-web.co.uk any
dig geek-web.co.uk mx
host `hostname` <- note backticks and not double quotes
Below is the result of all the requested commands.
Thank you for you help.
Code:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2008.06.10 15:57:08 =~=~=~=~=~=~=~=~=~=~=~=
cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
127.0.1.1 boredom.geek-web.co.uk
87.194.16.78 boredom.geek-web.co.uk boredom


root@boredom: ~root@boredom:~# cat /etc/resolv.conf 
### BEGIN INFO
#
# Modified_by:  NetworkManager
# Process:      /usr/bin/NetworkManager
# Process_id:   5027
#
### END INFO

search config geek-web.co.uk




nameserver 208.67.222.222
nameserver 208.67.220.220
domain geek-web.co.uk


root@boredom: ~root@boredom:~# dig geek-web.co.uk any

; <<>> DiG 9.4.2 <<>> geek-web.co.uk any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31467
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;geek-web.co.uk.			IN	ANY

;; ANSWER SECTION:
geek-web.co.uk.		84921	IN	NS	ns0.lcn.biz.
geek-web.co.uk.		84921	IN	NS	ns1.lcn.biz.

;; Query time: 17 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Tue Jun 10 15:55:40 2008
;; MSG SIZE  rcvd: 75



root@boredom: ~root@boredom:~# dig geek-web.co.uk mx

; <<>> DiG 9.4.2 <<>> geek-web.co.uk mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9653
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;geek-web.co.uk.			IN	MX

;; ANSWER SECTION:
geek-web.co.uk.		86400	IN	MX	10 boredom.geek-web.co.uk.
geek-web.co.uk.		86400	IN	MX	20 mailforward.lcn.com.
geek-web.co.uk.		86400	IN	MX	30 backupmx.lcn.com.

;; Query time: 52 msec
;; SERVER: 208.67.222.222#53(208.67.222.222)
;; WHEN: Tue Jun 10 15:55:48 2008
;; MSG SIZE  rcvd: 116



root@boredom: ~root@boredom:~# host `hostname`
boredom.geek-web.co.uk has address 87.194.16.78
Also it is worth mentioning that I am not NAT'ed, the server has its own public address, as shown above.
Reply With Quote
  #9 (permalink)  
Old 06-10-2008, 08:05 AM
Moderator
 
Posts: 7,928
Default

That looks okay as I have checked remotely aswell. You need to check your Postfix MTA settings as in my prior post (wiki) and ensure that its has been restarted.
__________________
Reply With Quote
  #10 (permalink)  
Old 06-10-2008, 08:08 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

I'd suggest you also remove this from the hosts file:

Code:
127.0.1.1 boredom.geek-web.co.uk
__________________
Regards


Bill
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.