Closed Relay bulk import of allowed IPs? schaf
    Closed Relay bulk import of allowed IPs? Synametrics Support

From: schaf
Date: 6/3/24 11:59 AM
Topic: Closed Relay bulk import of allowed IPs?
Type: General Discussions
Post a follow up

SMTP Relaying is set to "Closed Relay".  I plan to only allow specific IP addresses to allow relaying.  I need to add about 150 IPs.  Is there a way to bulk import or copy the Allow list from one Xeams server to another?  Is there a limit to the number of IPs that I can allow?

Thank you.

Top

From: Synametrics Support
Date: 6/3/24 2:33 PM
Topic: Closed Relay bulk import of allowed IPs?
Type: General Discussions
Post a follow up

The current version of Xeams does not allow bulk IP addresses to be imported. I can certainly add a request to add this feature in a future release.

I have a couple of suggestions as a workaround:

  1. You can add the IP addresses in the CIDR notation. For example, if the IP addresses are in the same subnet, such as 1.2.3.4, 1.2.3.6, and 1.2.3.10, you can write something like 1.2.3.0/25 instead of adding them separately.
  2. IP addresses for relaying are saved in $INSTALL_DIR\config\StagingServerConfig.xml file. You can write a script to change this XML file with your desired values.
Top