1

Topic: Relay Access Denied on some domains, not on all

==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): nginx
- Linux/BSD distribution name and version:  Debian 7
- Related log if you're reporting an issue:
====

Hi there,

For some reason my first two domains work as charm. The other domains I've added via iredadmin don't work. Or atleast: I can sent mail and if people reply on my mail I'll receive them, but if people sent me a new message (without a reply) they get a 554 5.7.1 Relay access denied.

I really have no idea why it is working for two domains, but not working for the three others.

Please help me out.

Thanks in advance.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Relay Access Denied on some domains, not on all

Show us related detailed log in /var/log/mail.log please. Also, show us output of below commands:

# cd /etc/postfix/mysql/
# for cf in $(ls *cf); do echo $cf; postmap -q 'your_domain' mysql:./$cf; done
# for cf in $(ls *cf); do echo $cf; postmap -q 'user@your_domain' mysql:./$cf; done

Please replace 'your_domain' and 'user@your_domain' by the real domain name and email address.

3

Re: Relay Access Denied on some domains, not on all

Thanks for your reply. I have made a small mistake at configuring the DNS at those domains that didn't work, instead of MX 10 mail.presstowork.nl. I entered MX 10 mail.presstowork.nl

That ofcourse doesn't work. This post can be closed, perhaps you can keep it for further reference if someone has the same problem. This seems like a common reason, or atleast it does to me.