setting a ispconfig server to relay through another

Discussion in 'Installation/Configuration' started by chief, Feb 24, 2024.

  1. chief

    chief Member HowtoForge Supporter

    Hey,
    i have a new server in a datacenter which has 616k IP's, some are blacklisted causing a lvl3 blacklist, and this causes that server issues sending out to some hosts..
    how can i set above server to relay through another server i have which has a very good reputation...
    server 1. is a single server (ispconfig3) - different domain from below
    mail server is part of a multi setup. (ispconfig2 - multi setup)

    the reason i have the 1st server is my broadband at 2nd site sometimes suffers what i discribe a DDOS attack or maybe a network overload.. it swamps my router stopping everything from working. I have changed provider in december and it happened last 2 week. In 4 days each day i supposedly downloaded 4.9TB of data, about 1TB a day.. - but that is another convo..

    Actually,, how can i protect and ignore a DDOS attack if im a victim?
     
  2. chief

    chief Member HowtoForge Supporter

     
  3. chief

    chief Member HowtoForge Supporter

    ahrasis likes this.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If you are using ISPConfig, then relaying is configured under System > server config > email. The above link in #3 is for systems without ISPConfig only, you can configure relaying manually like this on ISPConfig systems too, but it might be not update safe or break when you change things under system > server config in future.
     
    ahrasis likes this.
  5. chief

    chief Member HowtoForge Supporter

    Hey Till, thanks for you advice.
    I undid the original changes and used #3, what im getting now when i use thunderbird connected to server 1 which should relay through server 2 is:
    Code:
    Sending of the message failed.
    An error occurred while sending mail. The mail server responded: <ip.ip.ip.ip.hostname[ip.ip.ip.ip]>: client host rejected: Access denied.
    Please check the message recipient "[email protected]" and try again
    not sure why im getting this now and not before..
    dave
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Ensure that you use correct login details (username = email address) and password in Thunderbird when you connect to smtp to send the emails.
     
    chief likes this.
  7. chief

    chief Member HowtoForge Supporter

    and this is the server to be relayed through = server 1
     
  8. chief

    chief Member HowtoForge Supporter

    some reason it showed ok.. but deleted and re added and now fine.. a invisible spelling mistake maybe..

    thanks till
     
    till likes this.

Share This Page