Find the answer to your Linux question:
Results 1 to 2 of 2
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, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Nov 2004
    Posts
    127

    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 <username@servername.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.

  2. #2
    Linux Newbie
    Join Date
    Nov 2004
    Posts
    127
    NM, I figured it out. I'd forgotten to edit the /etc/mail/sendmail.mc file and add the MASQUERADE_DOMAIN(newdomain.com) entry at the bottom.

    Once I did that, recompiled sendmail.mc (like it says at the top of the file) and restarted sendmail, it was all working just fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •