Exim: 550 relay not permitted error

seba

Verified User
Joined
Jan 7, 2014
Messages
6
Hello,

I tried activating all email systems (exim, spamassassin, dovecot, ...) through custombuild and let custombuild manage the config files.
Since doing so, roundcube webmail still works, but I can't seem to send from my local mail client over smtp. I keep getting: Server responded: 550 relay not permitted errors.

I don't know much about exim config, but these lines are present:
Code:
addresslist whitelist_senders = lsearch;/etc/virtual/whitelist_senders
addresslist blacklist_senders = lsearch;/etc/virtual/blacklist_senders
domainlist blacklist_domains = lsearch;/etc/virtual/blacklist_domains
domainlist whitelist_domains = lsearch;/etc/virtual/whitelist_domains
domainlist local_domains = lsearch;/etc/virtual/domains
domainlist relay_domains = lsearch;/etc/virtual/domains : localhost
domainlist use_rbl_domains = lsearch;/etc/virtual/use_rbl_domains
hostlist auth_relay_hosts = *
hostlist bad_sender_hosts = lsearch;/etc/virtual/bad_sender_hosts
hostlist bad_sender_hosts_ip = net-lsearch;/etc/virtual/bad_sender_hosts
hostlist relay_hosts = net-lsearch;/etc/virtual/pophosts
hostlist whitelist_hosts = lsearch;/etc/virtual/whitelist_hosts
hostlist whitelist_hosts_ip = net-lsearch;/etc/virtual/whitelist_hosts

Which AFAIK should be correct?

It tried disabling exim management in custombuild and restarting exim, but without success.
 
I think it's RoundCube related. Please try if it works fine with SquirrelMail to be sure about that. Make sure you have no custom RoundCube configuration files, then run "./build roundcube" and see if it fixes your problems, if not, please paste what happens in /var/log/exim/mainlog & /var/log/maillog. Thank you! :)
 
Well Martynas, he said error from local mail client, so i doubt is roundcube related... maybe auth on smtp connection?

Regards
 
Oh, sorry, I haven't noticed that :) Yes, it must be SMTP authentication setup incorrectly in email client.
 
Hey, I don't think it's auth as the exact same configuration worked before (I didn't change anything in the mail client).
It might be an auth problem at the server, maybe dovecot related? Only problem is I really don't know anything about dovecot.
 
Were you relying on popb4smtp so you didn't have to provide authentication? If so then you need to make sure that it working with your current config and updating the /etc/virtual/pophosts file with your current IP address.

I would really recommend using authenticated SMTP, then you shouldn't have to worry about that to begin with.
 
How come no one has asked to see specific log-file lines? That's what we need to quickly niagnose this.

If it's only happening for some domains then either the /etc/virtual/domains file isn't properly populated with the domain names of all domains for which email is supposed to be received, or something similar, depending on whether it's external or internal domains that are having the problem.

Jeff
 
Back
Top