SMTP Relay in Ispconfig

Discussion in 'Installation/Configuration' started by BlueScreenTT, Oct 7, 2023.

  1. BlueScreenTT

    BlueScreenTT New Member

    Hi

    how do i cinfigure ISPconfig to use my ISP's smtp relay server ?

    the server is mailout.privat.bahnhof.se and it uses port 465

    i have put this info in to serverconfig - mail - relayhost = mailout.privat.bahnhof.se:465
    and then username and password.
    i cant get it to work.

    any ideas ?
    \\BlueScreenTT
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's how you do it. Check the mail.log file to find out why your ISP rejects the messages. And it might be simply that your ISP does not allow such kind of relaying through his servers, so you might check with their support as well.
     
  3. BlueScreenTT

    BlueScreenTT New Member

    never had that problem before. this is only a new install
    ill check

    thank you
     
  4. BlueScreenTT

    BlueScreenTT New Member

    soo nothing :-(


    2023-10-07T14:20:52.216220+02:00 kira postfix/smtp[3583]: D8B1D680DC1: lost connection with mailout.privat.bahnhof.se[212.116.79.247] while receiving the initial server greeting

    2023-10-07T14:21:02.350223+02:00 kira postfix/smtp[3583]: D8B1D680DC1: to=<[email protected]>, relay=mailout.privat.bahnhof.se[79.136.2.55]:465, delay=20, delays=0.11/0.08/20/0, dsn=4.4.2, status=deferred (lost connection with mailout.privat.bahnhof.se[79.136.2.55] while receiving the initial server greeting)

    ill have to fiddle a bit more, maybe i find the error
     
  5. remkoh

    remkoh Active Member HowtoForge Supporter

    Maybe try port 25 or 587 instead of port 465.
    With proper certificates installed tls should be used while sending (mandatory when using 587).
    And put relay host between [ ... ], so you get [mailout.privat.bahnhof.se]:465
     
  6. BlueScreenTT

    BlueScreenTT New Member

    thanks for the tip.

    still cant get it to work.

    ill call Bahnhof again
    if i get it working ill post an update here
     
  7. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I use this for my gmail smtp relay (G-Suite):
    Code:
    [smtp-relay.gmail.com]:587
    Note the bracket.
     

Share This Page