Roundcube identities

Discussion in 'ISPConfig 3 Priority Support' started by Stelios, Jan 9, 2025.

  1. Stelios

    Stelios Active Member HowtoForge Supporter

    Hi all and happy new year.

    I got 3 domains, two let's say domain1 and domain2 on serverA and domain3 on serverB on a multi server setup.
    From webmail (runs on a separate web server) I can send via identities emails from different domains as long as they are on the same server (serverA). From domain3 (serverB) if I try to send it fails with:

    Gmail requires all senders to authenticate with either SPF or DKIM. 550-5.7.26 550-5.7.26 Authentication results: 550-5.7.26 DKIM = did not pass 550-5.7.26 SPF [domain3] with ip: [ipv6] = did not pass 550-5.7.26 550-5.7.26 For instructions on setting up authentication, go to 550 5.7.26

    DKIM and SPF exist for that domain and if I logged out from webmail and logged in back with the email from domain3 it works fine; it just doesn't work via roundcube identities.

    Any help is very much appreciated.
     
  2. remkoh

    remkoh Active Member HowtoForge Supporter

    When you've logged into roundcube with an account from serverA and try to send an email from domain3 which belongs on serverB with the identity you created it will probably be send through serverA which doesn't handle domain3 and therefor will not dkim sign it. Therefor you'll get a dkim failure back from the remote server (Gmail in this case).
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    You can try to change the RoundCube config like this:

    Code:
    $config['smtp_server'] = 'mx:%d';
    Roundcube will then try to look up the domain's MX record to find the correct server for sending.
     
  4. Stelios

    Stelios Active Member HowtoForge Supporter

    My current setup has $config['smtp_server'] = 'tls://%h';

    I tried with:
    $config['smtp_server'] = 'mx:%d';
    $config['smtp_server'] = 'tls://%h';

    and without the tls but it doesn't work.
     

Share This Page