View Single Post
Old 5th July 2011, 19:48
Fairbanks Fairbanks is offline
Junior Member
Join Date: Jul 2011
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Question Relay access denied error -- ISPConfig v2.2.39 / CentOS 5.6 / postfix / dovecot

Hi Gang,

(Forgive my English as my native language is French from Canada / Quebec, and I’m no Linux guru either).

I have an old version of ISPConfig running on an old box from which I plan to migrate all sites/domains (± 35) to a newer box. This setup as been running for ±4 years on OpenSUSE.

In preparation of all this, I’ve installed the new box using the installation instruction from (“CentOS 5.6 (x86_64): This box is running with domain “” on a public IP ( which forward to the ISPConfig console (under port 81) for which an SSL certificate was bought with GoDaddy.

Having the 2 environments operating side-by-side, I’m writing a “cookbook” for my resellers that will give them instructions to move their sites from one box to the other. The idea is to create a site on the new box along with its web code, mySQL database, users, etc (with re-config of few elements) and then switch the “name servers” at the registrar over the weekend to get the domain serviced by the new box.

I’ve tested the approach with one domain (“”, 2 users) and everything looks perfect with the exception of mail e.g. the web site is fine (, FTP ok, myPHPAdmin for the db user, … but here’s the issue with mail… (for for example).

From Outlook, this user can send mail to anyone using “” as in-out POP3/SMTP servers using “outgoing server (SMTP) authentication”. The same user can send mail using Roundcube webmail which has been installed.

When trying to send mail to this user, I get the error below:
Original-recipient: rfc822;
Final-recipient: rfc822;
Action: failed
Status: 5.7.1 (Remote SMTP server has rejected address)
Remote-MTA: dns;
Diagnostic-code: smtp;554 5.7.1
<>: Relay access denied

If I remove the “mydestination” param in, the email just get lost “on the net” (I never get any mail nor any error message).

At this point, I tried trillions of changes reading forums without any success and I now rely on the wisdom of one of you guys… Attaches are config files I think would help starting the exchange, but please ask if you need something else (be clear with commands if required since I’m no expert like à said).

I thank you in advance.


Attached (all renamed *.txt)
- /etc/postfix/local-host-names
- /etc/postfix/ (stripped to keep important info)
- /etc/postfix/
- /etc/postfix/virtusertable
Attached Files
File Type: txt local-host-names.txt (423 Bytes, 143 views)
File Type: txt (1.8 KB, 154 views)
File Type: txt (4.1 KB, 95 views)
File Type: txt virtusertable.txt (533 Bytes, 109 views)
Reply With Quote
Sponsored Links