Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
ISPConfig 3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 488
    • Issues 488
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 27
    • Merge Requests 27
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #6062

Closed
Open
Opened Feb 16, 2021 by Collin Machine@TechManPro

RSpamd Whitelist IP Template Loop Not Working

short description

I believe there may be an issue with pulling Server IPv6 from database into template loop for user.conf file in rspamd ('/etc/rspamd/local.d/user.conf'). I noticed at first that the file only had a single IP address whitelisted under whitelist-ip, which is the only IPv4 address I had under Server IP addresses in the Control Panel, which makes sense. But I wanted to whitelist additional IPv4 and IPv6 addresses, so I dug into the install/lib/installer_base.lib.php script and found that it was looping through the database for set Server IP addresses by server ID, so I added the additional IPv4 and IPv6 addresses to the Server IP addresses section and re-ran the ispconfig_update.sh script (with the --force argument), and now the whitelist-ip section is now empty, or more precisely set with ip = ""; only. I'm thinking this may be an issue with how the script is handling IPv6 addresses? Also, I'm not sure if IPv6 addresses should be enclosed with [] in the user.conf file or not for these (I know it needs the brackets [] in the bind addresses so figured it was worth mentioning).

correct behaviour

Well I would assume to list all the IPv4 and IPv6 addresses from the database in the whitelist-ip section.

environment

Server OS: Ubuntu
Server OS version: 20.04.2 ISPConfig version: 3.2.2

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: ispconfig/ispconfig3#6062