Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd March 2008, 16:40
hvrossum hvrossum is offline
Member
 
Join Date: Dec 2007
Posts: 66
Thanks: 8
Thanked 0 Times in 0 Posts
Default relay error on mail after DNS change

Hi,

I am trying to change the DNS settings in a way that the mail sent to mydomain.com gets delivered to my own Ubuntu server with Postfix.

I changed the MX records and other DNS settings but to no succes.
I get relay error messages when I sent an email message to a mailbox@mydomain.com
The mailbox does exist (I set it up through ISPconfig)
The website which I initially setup is perfectly reachable. And the mailbox is seen in Postfix (using Webmin)


Any idea what I am doing wrong?

error message:
----- The following addresses had permanent fatal errors ----- <mailbox@mydomain.com>
(reason: 554 5.7.1 <mailbox@mydomain.com>: Relay access denied)

----- Transcript of session follows ----- ... while talking to mydomain.com.:
>>> DATA
<<< 554 5.7.1 <mailbox@mydomain.com>: Relay access denied
554 5.0.0 Service unavailable (554 5.7.1 <mailbox@mydomain.com>: Relay access denied) <<< 554 5.5.1 Error: no valid recipients


settings with my initial hosting/DNS party are as follows.

Name TTL Class Type Data
Built in A records

Custom A records
Mydomain.com 86400 IN A xxx.xxx.xxx.xxx
*.Mydomain.com 86400 IN A xxx.xxx.xxx.xxx
www.Mydomain.com 86400 IN A xxx.xxx.xxx.xxx
mail.Mydomain.com 86400 IN A xxx.xxx.xxx.xxx

Built in MX records

Custom MX records
Mydomain.com IN MX 10 mydomain.com

Built in CNAME records

Custom CNAME records
mail. Mydomain.com 86400 IN CNAME xxx.xxx.xxx.xxx
www. Mydomain.com
86400 IN CNAME xxx.xxx.xxx.xxx
smtp. Mydomain.com 86400 IN CNAME xxx.xxx.xxx.xxx
pop. Mydomain.com 86400 IN CNAME xxx.xxx.xxx.xxx
pop3. Mydomain.com 86400 IN CNAME xxx.xxx.xxx.xxx
__________________
I am stil a Linux amateur, never thought that a sales person would like fiddling around with Linux.

Setup:
Dell Power Edge SC440
Ubuntu 8.04
ISPConfig
Webmin 1.420
Reply With Quote
Sponsored Links
  #2  
Old 3rd March 2008, 18:07
chipsafts chipsafts is offline
Senior Member
 
Join Date: Nov 2007
Posts: 184
Thanks: 2
Thanked 6 Times in 6 Posts
Default

The problem is not with the DNS.
The error message tells you that relaying is not allowed,
you will need to lookup the postfix documentation on how to allow for relaying and what safeguards to implement.
Reply With Quote
  #3  
Old 3rd March 2008, 18:32
hvrossum hvrossum is offline
Member
 
Join Date: Dec 2007
Posts: 66
Thanks: 8
Thanked 0 Times in 0 Posts
Default

I don't understand this, because I already have an another domain which mails perfectly arrives at my server. With squirrelmail and Imap this mail can be read by the different users.
__________________
I am stil a Linux amateur, never thought that a sales person would like fiddling around with Linux.

Setup:
Dell Power Edge SC440
Ubuntu 8.04
ISPConfig
Webmin 1.420
Reply With Quote
  #4  
Old 3rd March 2008, 21:00
hvrossum hvrossum is offline
Member
 
Join Date: Dec 2007
Posts: 66
Thanks: 8
Thanked 0 Times in 0 Posts
 
Thumbs up

Problem solved.

The hint that it was not dns related made do another search. And I missed the right domain in the local-host-names files in the /etc/postfix dir.

It is working now.
__________________
I am stil a Linux amateur, never thought that a sales person would like fiddling around with Linux.

Setup:
Dell Power Edge SC440
Ubuntu 8.04
ISPConfig
Webmin 1.420
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alias mappings rusty Server Operation 11 30th January 2008 17:15
Unable to read & relay mail - Postfix With SMTP-AUTH And TLS amsharma HOWTO-Related Questions 4 9th October 2007 15:26
Mail Server Problem - DNS Questions bfriend Installation/Configuration 1 1st August 2007 09:39
DNS Mail Problems? 40esp Installation/Configuration 1 1st July 2007 13:51
When External IP is Change Error on DNS Service Occurs bluegrass HOWTO-Related Questions 7 17th January 2006 18:01


All times are GMT +2. The time now is 17:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.