Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

ISPConfig Notes

E-mail Print PDF

Domains

When setting up web hosting 'www.xyz.com', a co-domain will also be automatically created 'xyz.com'. If you want this web site to respond to other domain names, add them as co-domains.

E-Mail

Global Blacklist

You can blacklist someone globally by editing the /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/local.cf file. Add an entry like this at the end:

blacklist_from *douglaspublications.com

To Host or Not to Host E-Mail

If you do not want ISPconfig to host the mail for a particular web site (domain), you must set the Mailserver setting in Options to 'External Mailserver'. Don't forget to set the co-domain too!

  • ISP Manager
    • Sites
      • Web Site
        • Options
          • Mailserver
        • Co-Domains
          • IP Address of Co-Domain
            • Options
              • Mailserver

Rebuilding Configuration Files

Run this command:

/root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php

If you get a segmentation fault (segfault), check the:

  • Management
    • Server
      • Settings
        • DNS

Make sure it is set properly. On a Centos 4.4 host with bind chrooted:

/var/named/chroot/var/named

DNS

See here and here also.

Reverse DNS

Classless Reverse (CIDR)

More Name Servers

If you want more than two name servers per domain, you must edit /root/ispconfig/isp/conf/pri.domain.master and put it in the /root/ispconfig/isp/conf/customized_templates directory.

If you simply edit the file in place, your edits will not survive the next ISPconfig upgrade.

DNS Zone Files Not Updating

chmod 755 /var/named/
chmod 775 /var/named/chroot/
chmod 775 /var/named/chroot/var/
chmod 755 /var/named/chroot/var/named/
chmod 775 /var/named/chroot/var/run/
chmod 777 /var/named/chroot/var/run/named/
cd /var/named/chroot/var/named/
ln -s ../../ chroot

Check the Management->Server->Settings->DNS

Zonefiles Dir: /var/named/chroot/var/named

Spamassassin

vi /usr/share/spamassassin/sa-update.cron

/usr/bin/sa-update --channel saupdates.openprotect.com \
--gpgkey D1C035168C1EBC08464946DA258CDB3ABDE9DC10 && \
/etc/init.d/spamassassin condrestart

wget http://saupdates.openprotect.com/pub.gpg

sa-update --import pub.gpg

vi /etc/cron.d/sa-update

ll /var/lib/spamassassin/...

sa-learn --dump magic
sa-learn -D --dump magic

Last Updated on Sunday, 28 December 2008 13:23