Fonant's blog

Copying a Drupal site to a new Drupal virtual site

Copying a complete Drupal site to a new virtual site within the same Drupal installation is relatively easy. These are the steps to take:

  1. Take original site off-line to prevent changes while the copy is in progress.
  2. Copy site-specific files, themes and modules.
  3. Copy the site database (with phpMyAdmin select "Add AUTO_INCREMENT value" for this to work properly).
  4. Return original site to on-line state.
  5. Log into new copy and visit these admin pages:
    • Modules (updates the database with the new sites module paths)

Installing MailScanner on Fedora Core 8

I've happily installed MailScanner 4.66.5-3 (http://mailscanner.info) on FC8!

From a minimal FC8 server installation, I needed to install a few rpms using yum:


# yum install rpm-build
# yum install perl-devel
# yum install perl-Test-Simple

Since perl-Test-Simple is included with MailScanner, it might be possible to remove the requirement for that (and save having yum trying to update it) if it's listed earlier in the MailScanner install.sh?


hosts file not working for WinXP

Had an odd problem recently, in that my local hosts file wasn't being used to resolve domain names.

Much Googling later I found this thread, which prompted me to try editing the hosts file using edit from the windows command prompt. It worked, and now my hosts file is being used again!


Sending mail from ISPs that hijack port 25

Some ISP's "hijack" port 25, so that all mail sent goes through their mail servers. This allows them to be sure that their internet connections are not being used to send spam.

Use port 587 for sending e-mail using the Fonant mail server to avoid this.


Syndicate content