Relay access denied error -- ISPConfig v2.2.39 / CentOS 5.6 / postfix / dovecot
(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 ISPConfig.org (“CentOS 5.6 (x86_64): http://www.howtoforge.com/perfect-se...64-ispconfig-2). This box is running with domain “khameleo.ca” on a public IP (18.104.22.168) 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 (“club-ventes.com”, 2 users) and everything looks perfect with the exception of mail e.g. the web site is fine (www.club-ventes.com), FTP ok, myPHPAdmin for the db user, … but here’s the issue with mail… (for firstname.lastname@example.org for example).
From Outlook, this user can send mail to anyone using “mail.khameleo.ca” 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:
Status: 5.7.1 (Remote SMTP server has rejected address)
(NS1.KHAMELEO.CA ESMTP Postfix)
Diagnostic-code: smtp;554 5.7.1
<email@example.com>: Relay access denied
If I remove the “mydestination” param in main.cf, 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/main.cf (stripped to keep important info)
Please reconfigure the websites in ISPConfig and ensure that all domain names are typed lowercase. The mail delivery will fail if a domain is typed in uppercase lettters as the Linux filesystem is case sensitive.
Hi Till (Thanks for the reply).
I did reconfig ISPConfig, CentOS network and everything else where I suspected some Upcase, but I end up with the same result e.g. web52_sale can send message (either from Outlook or WebMail) but I get the same error message when I send eMail to firstname.lastname@example.org (showing lowercase thought) - see below (some french in the message but I'm sure you will figure the message). Attached are newer versions of my files...
Adresse du destinataire : email@example.com
Raison : Remote SMTP server has rejected address
Code de diagnostic : smtp;554 5.7.1 <firstname.lastname@example.org>: Relay access denied
Système distant : dns;mail.khameleo.ca (TCP|10.23.32.77|52990|22.214.171.124|25) (ns1.khameleo.ca ESMTP Postfix)
P.S. I really appreciate your help...
The mydestination line in your main.cf is the problem. Please run
Bingo Falko - BIG THANKS...
|All times are GMT +2. The time now is 15:18.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.