Relay Domains Noob Question

Discussion in 'ISPConfig 3 Priority Support' started by Dave King, Dec 4, 2024.

  1. Dave King

    Dave King Member HowtoForge Supporter

    Yes done that. I added as domain and relay and now it is routing as expected.
    Further progress, I am so close now:
    (delivery temporarily suspended: Cannot start TLS: handshake failure)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    On which server when connecting from --- to?
     
  3. Dave King

    Dave King Member HowtoForge Supporter

    master to slave
    This error is showing on God
     
  4. Dave King

    Dave King Member HowtoForge Supporter

    Have an error

    2024-12-05T19:18:45.250260+00:00 god postfix/smtp[216372]: SSL_connect error to krypton.mydomain.com[192.168.98.26]:25: -1
    2024-12-05T19:18:45.250400+00:00 god postfix/smtp[216372]: warning: TLS library problem: error:0A00010B:SSL routines::wrong version number:../ssl/record/ssl3_record.c:354:
    2024-12-05T19:18:45.257808+00:00 god postfix/smtp[216372]: D2F807E016: to=<[email protected]>, relay=krypton.mydomain.com[192.168.98.26]:25, delay=459, delays=459/0.04/0.04/0, dsn=4.7.5, status=deferred (Cannot start TLS: handshake failure)

    EDIT how do I add a service to then use port 465 instead of SMTP 25?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    By adding the port separated by : to the server name. Example:

    someserver:465

    and unless you specify the relay hostname as tls:// postfix will treat it as unencrypted connection.

    However, sending to port 25 in a relay situation should be fine, and the submission port should be 587 and not 465.
     
  6. Dave King

    Dave King Member HowtoForge Supporter

    Still not working sadly
     
  7. Dave King

    Dave King Member HowtoForge Supporter

    Now getting this on Roundcube

    upload_2024-12-5_21-8-55.png
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Which error do you get on the target server? Might be that TLS is not configured correctly there.
     
  9. Dave King

    Dave King Member HowtoForge Supporter

    Somewhat made progress:
    But is is now saying the message isn't signed with DKIM, even though I have set a DKIM on the domain in ISPConfig.
    Any ideas please?
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    To sign a message with DKIM you must send the email with a user of that domain, plus a DKIM key must have been created of course.
     
  11. Dave King

    Dave King Member HowtoForge Supporter

    The domain is added, the user is added as a mailbox. I am connected to it via Outlook and sending the email. The headers show it coming from the correct server, spf passes etc.
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, then it must get signed by Rspamd. Double-check that you enabled dkim signing in the domain and that you also created a dkim key in ISPConfig in the email domain settings.
     
  13. Dave King

    Dave King Member HowtoForge Supporter

    in Email Accounts > Domain > mydomain.com I have the key there and have added it to DNS and it validates on mxtoolbox.com
    Are you saying there is another place to enable it?
     
  14. Dave King

    Dave King Member HowtoForge Supporter

    Any idea on this please?
    Postfix service is started....

    SMTP-Server: Offline
    POP3-Server: Offline
    IMAP-Server: Offline
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    No, Email and there in the email domain. Double check that its there and that its activated with the checkbox on that same page.

    It checks these services on their default ports on localhost.
     
  16. Dave King

    Dave King Member HowtoForge Supporter

    root@postman:~# telnet localhost 110
    Trying 127.0.0.1...
    telnet: Unable to connect to remote host: Connection refused
    root@postman:~#

    Note, it is open on the firewall:
    110/tcp ALLOW Anywhere
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    This is not about the firewall. It tries to connect to the service port locally, so the firewall does not matter as it is local. If it shows offline, then no service is running on that server which provides a TCP service on that port.
     
  18. Dave King

    Dave King Member HowtoForge Supporter

    I have realised the issue here, I used --nomail in the install command. I have enabled mailserver in the GUI and it has added SMTP, but how to manually add POP3 and IMAP please?
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    Enabling mailserver later will only allow you to select this system in the GUI when adding mail accounts but it does not make a system a mail server, so neither mail services are installed nor are the modules installed or enabled to configure them. Also SMTP was not added and configured then, so you will not be able to use SMTP functions in ISPConfig either. What was added is just a simple unconfigured postfix used for local-only mail delivery between system users and local cronjobs.

    Better reinstall the system and do not skip the services you want to use.
     
  20. Dave King

    Dave King Member HowtoForge Supporter

    Damn this is the one with my master MySQL service on it. Can I run the installer over the top instead to reconfigure?
    EDIT: where is update.php please? I searched the manual and it is not mentioned.
    EDIT 2: I found the above, but:


    PHP Warning: include_once(/usr/local/ispconfig/server/lib/config.inc.php): Failed to open stream: No such file or directory in /tmp/ispconfig3_install/install/update.php on line 112
    PHP Warning: include_once(): Failed opening '/usr/local/ispconfig/server/lib/config.inc.php' for inclusion (include_path='.:/usr/share/php') in /tmp/ispconfig3_install/install/update.php on line 112
    PHP Warning: Undefined variable $conf in /tmp/ispconfig3_install/install/update.php on line 113
    PHP Warning: Trying to access array offset on null in /tmp/ispconfig3_install/install/update.php on line 160
    PHP Warning: Trying to access array offset on null in /tmp/ispconfig3_install/install/update.php on line 161
    PHP Warning: Trying to access array offset on null in /tmp/ispconfig3_install/install/update.php on line 163
    PHP Warning: Trying to access array offset on null in /tmp/ispconfig3_install/install/update.php on line 164
    PHP Warning: Trying to access array offset on null in /tmp/ispconfig3_install/install/update.php on line 165
    PHP Warning: Trying to access array offset on null in /tmp/ispconfig3_install/install/update.php on line 167
    PHP Warning: Trying to access array offset on null in /tmp/ispconfig3_install/install/update.php on line 168
    PHP Deprecated: gethostbyname(): Passing null to parameter #1 ($hostname) of type string is deprecated in /tmp/ispconfig3_install/install/update.php on line 186
     
    Last edited: Dec 8, 2024

Share This Page