IP Address Change

Credits

Various bits of code, scripts, and procedures were put together with information from John Simpson's qmail.jms1.net website. It's an excellent resource on managing and setting up a Qmail server.

Changing the IP address of your mail server is more complicated than just modifying the network card settings. There's a few other places where the address needs to be changed.

dnscache
Change the IP address in /service/dnscache/env/IP, then restart the service (svc -t /service/dnscache).

SMTP
The run scripts for your SMTP service(s) need to be modified to reflect the new IP address you want them to listen on. Depending on which services you've enabled, you might need to edit:

/service/smtp-external/run
/service/smtp-internal/run
/service/smtp-ssl/run
/service/smtp-tls/run

Webmail
The IMAP server setting in your webmail configuration will need to be updated.

  • Squirrelmail
    Either use the configuration program (/var/websites/webmail/htdocs/squirrelmail/config/conf.pl) to change it, or manually edit /var/websites/webmail/htdocs/squirrelmail/config/config.php and change $imapServerAddress.

Recent Updates

  • 8 months 3 weeks ago
    1.27.2 update
  • 9 months 3 days ago
    Drupal 10/11 config
  • 9 months 5 days ago
  • PHP
    9 months 5 days ago
    PHP 8.3.11 and AlmaLinux
  • 9 months 5 days ago
    New version of Pound