| 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.
|  | | 
06-10-2008, 06:19 AM
| | | [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..
| 
06-10-2008, 06:58 AM
| | | 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 ?
__________________ | 
06-10-2008, 07:02 AM
| | | Quote:
Originally Posted by uxbod 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. | 
06-10-2008, 07:47 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | Quote:
Originally Posted by simonb256 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
| 
06-10-2008, 07:50 AM
| | | 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
__________________ | 
06-10-2008, 07:53 AM
| | | Quote:
Originally Posted by phoenix 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. | 
06-10-2008, 07:58 AM
| | | Quote:
Originally Posted by uxbod 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. | 
06-10-2008, 08:05 AM
| | | 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.
__________________ | 
06-10-2008, 08:08 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,316
| | I'd suggest you also remove this from the hosts file: Code: 127.0.1.1 boredom.geek-web.co.uk
__________________
Regards
Bill
| | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |