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 509
    • Issues 509
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 32
    • Merge Requests 32
  • 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
  • #6093

Closed
Open
Created Mar 08, 2021 by Helmo@helmoReporter0 of 5 tasks completed0/5 tasks

Monitor MX records

When a domain moves to an external mail provider it's important to de-activate or remove the mail domain from ispconfig. When forgotten this can lead to mails not being delivered.

I've written a perl script to check this in the past and now ported that to ispconfig.

It resolves the server name and checks that the MX record for a mail_domain matches one of those IP's. Extra IP's can be added via $mail_config['additional_smtp_ips']

On one of my systems I use an extra IP for incomming smtp, so there I had to override the server hostname. There I've put in a `$mail_config['hostname'] = '...'; line in onRunJob() for now. I don't think we have a field for that and it's probably not worth creating it for just me. But I'm open to suggestions.

TODO

  • String updates?
  • Maybe some layout?
  • UI for $mail_config['additional_smtp_ips'] and $mail_config['additional_smtp_hostnames']?
  • Maybe remove the $app->log warning lines as it might a bit redundant
  • translation files

Anyway, feedback welcome.

Edited Mar 23, 2021 by Helmo
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None