Multi-Server & RoundCube

Discussion in 'ISPConfig 3 Priority Support' started by NeonTigerUK, Mar 29, 2017.

  1. NeonTigerUK

    NeonTigerUK Member HowtoForge Supporter

    Hi Folks,

    I have a multiServer setup, which is working perfectly for email, when users are using Outlook, Apple Mail etc,

    I've just got a client who wants to use webmail only - RoundCube is setup on the server, and I can log in to it, to see and read email, however when anyone tries to send mail, they get a 454 relay access denied error.

    RoundCube is setup on Web1 on /webmail as per the tutorials on here, and the mailboxes are on Mail1

    See attached pic for full error message
     

    Attached Files:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Add the IP of the web server to the mynetworks line in postfix main.cf on the mail server and restart postfix on the mail server.
     
  3. NeonTigerUK

    NeonTigerUK Member HowtoForge Supporter

    Hi Till,

    so something like
    Code:
    mynetworks = 127.0.0.0/8 [::1]/128, 111.111.111.111/8
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I would just add the IP without network, if you have just one ip:

    mynetworks = 127.0.0.0/8 [::1]/128, 111.111.111.111
     
  5. NeonTigerUK

    NeonTigerUK Member HowtoForge Supporter

    Hi Till

    I've update the line to
    Code:
    mynetworks = 127.0.0.0/8 [::1]/128, 111.111.11.1
    
    rebooted the mail server, and still having the same problem
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Remove the "," from the mynetworks line. Sorry, I did not notice that right away.
     
  7. NeonTigerUK

    NeonTigerUK Member HowtoForge Supporter

    Hi Till,

    Still not working, same error, rebooted server

    edited /etc/postfix/main.cf (on Mail1)
    Code:
    ...
    mynetworks = 127.0.0.0/8 [::1]/128 111.111.11.1
    ...
    
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the roundcube config file and ensure that the mail server is set there as smtp server and not just as imap server.
     

Share This Page