email server setup issues
I've setup an email server awhile ago with some help from Dolda in these forums (http://www.linuxforums.org/forum/topic-27526.html) and it's been running great since then. My only problem now is, I was asked to add a second domain to it, so that they can send and recieve from either of the two domains.
I just can't seem to get the second domain to work though. Any e-mail sent using the second domain gives this message back as a reply
PERM_FAILURE: SMTP Error (state 9): 550 5.7.1 <email@example.com>... Relaying denied. Proper authentication required.
Now I looked through my old thread with Dolda and I had this exact error, except it was state 10 instead of state 9. Last time it was because I had to add the domain to /etc/mail/local-host-names but this time that isn't working. Do I have to do something after that? I restarted dovecot after just incase I needed to but still no luck.
Help, I really need help with this one.