Movable Type

Movable Type is a blog publishing application.

Configuring Movable Type to Send Mail

To configure Movable Type to be able to send email messages during the installation’s the Mail Configuration page:

  1. In the Send email via menu, click to select Sendmail.
  2. In the Mail address to which test email should be sent enter an email address where you wish to receive a test email.
  3. In the From mail address field, enter an email address configured in the WebFaction control panel.
  4. Click the Continue button.
  5. Complete the installation.
  6. Log in to the Movable Type User Dashboard.
  7. Next to User Dashboard, click the navigation icon and then click System Overview. The System Overview page appears.
  8. Click Settings ‣ General. The General Settings page appears.
  9. In the System Email field, enter the email address Movable Type should send mail as. This address must be configured in the WebFaction control panel.
  10. Click the Save Changes button.

To configure Movable Type to be able to send email messages at any other time:

  1. Open an SSH session to your account.

  2. Switch the Movable Type directory. Enter cd ~/webapps/mt where mt is the name of the Movable Type application as it appears on the control panel, and press Enter.

  3. Open mt-config.cgi in a text editor (the file may be in a subdirectory depending on where you install the Movable Type application files).

  4. Modify or add these configuration directives:

    MailTransfer sendmail
    SendMailPath /usr/sbin/sendmail
    EmailAddressMain <address>
    

    where <address> is Movable Type’s outgoing email address. This address must be registered on the WebFaction control panel.

  5. Save and close the file.

Configuring Movable Type to Send Email with SMTP

Optionally, you may configure Movable Type to send mail with an SMTP server. WebFaction’s SMTP server and others require authentication. By default, Movable Type cannot send mail through an SMTP server that requires authentication; to overcome this obstacle, install and configure a plugin to enable SMTP authentication. We recommend the SMTP Auth Plugin. To install and configure the plugin:

  1. Install these CPAN Modules:

    • Net::SMTP
    • Authen::SASL
    • Net::SMTP::SSL
    • IO::Socket::SSL
    • Net::SSLeay
  2. Install SMTP Auth Plugin.

    1. Open an SSH session to your account.
    2. Switch the Movable Type directory. Enter cd ~/webapps/mt where mt is the name of the Movable Type application as it appears on the control panel, and press Enter.
    3. Download SMTP Auth Plugin. Enter wget http://tweezersedge.com/gems/SMTPAuth-1.0.zip and press Enter. An archive containing the plugin is created in the current directory.
    4. Unzip the archive. Enter unzip SMTPAuth-1.0.zip and press Enter.
    5. Copy the static files. Enter cp -r SMTPAuth-1.0/mt-static/ . and press Enter.
    6. Copy the plugin files. Enter cp -r SMTPAuth-1.0/plugins/ . and press Enter.
    7. Remove the installation files. Enter rm -r SMTPAuth-1.0 SMTPAuth-1.0.zip and press Enter.
  3. Configure the plugin.

    1. Open ~/webapps/mt/mt-config.cgi in a text editor.

    2. Edit or add these directives if they do not already exist:

      MailTransfer smtpauth
      EmailAddressMain <address>
      EmailReplyTo 1
      

      where <address> is an email address registered on the WebFaction control panel.

    3. Save and close the file.

    4. Log in to the Movable Type User Dashboard.

    5. Next to User Dashboard, click the navigation icon and then click System Overview. The System Overview page appears.

    6. Click Tools. The Tools menu expands.

    7. Click Plugins. The System Plugin Settings page appears.

    8. Click SMTP Auth 1.0. The SMTP Auth 1.0 plugin pane expands.

    9. Click Settings. The settings form appears.

    10. In the SMTP Server, Account Name, Password, SMTP Connection, and Use secure connection (SSL) fields, enter the SMTP server connection details. For the WebFaction SMTP server, use these values:

      SMTP Server

      smtp.webfaction.com

      Account Name

      A mailbox name.

      Password

      The mailbox password.

      Use secure connection (SSL)

      Yes

      SMTP Connection

      465

    11. Click the Save Changes button.