Dada Mail documentation

1. Dealing with Installation Issues

One of my ISP comes with Dada Mail, I played with it a little and it seems pretty nice. I installed it today at another ISP that only offers majordomo. There are a couple of minor issues, so I am documenting it here, in case it can help others (may help me later on!).

  • Source: download latest version at: http://mojo.skazat.com/ (current most stable release is 2.10.15)
  • Install using: tar -xvzf [file-name]
  • after updating the 4 variables, moving the tree under cgi-bin and creating the data directory, the mail.cgi came back with the following errors (same as someone else reported in this post):

Program Error (Server Error 500)

More information about this error may be available in the server error log and/or program error log.

Can’t locate Scalar/Util.pm in @INC (@INC contains: ./ ../ ../../ ../../../ ./../../DADA ../../perllib /home/justin/perllib/ ../../DADA ../perllib ./dada ../dada ./DADA ../DADA ./DADA/perllib ../DADA/perllib /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at DADA/perllib/HTML/Template.pm line 916.
BEGIN failed–compilation aborted at DADA/perllib/HTML/Template.pm line 916.
Content-type: text/html
Program Error (Server Error 500)

More information about this error may be available in the server error log and/or program error log.

2. Configure Dada Mail to send Chinese (or other languages)

Since we want to send Big5 messages by default, we needed to make the following mods to the Config.pm

  • Change $HTML_CHARSET (around line 2190), from:
    • $HTML_CHARSET ||= ‘iso-8859-1′;
      to:
    • $HTML_CHARSET ||= ‘big5′;
  • Add big5 to the available list
    • search for: “@CHARSETS” (around line 2245), and add the following after utf-8 line
      • ‘ChineseT (big5)[tab] big5′,
      • NOTE that it is important to replace [tab] by a real tab!
  • Set the advance sending option
    • search for “charset” (around line 3484), and replace the ‘charset’ value to the same as what we set above
      • ‘ChineseT (big5)[tab] big5′,
      • NOTE that it is important to replace [tab] by a real tab!

In the List, go to Manage List->Sending Options->Adance Sending Options

  • Change the Default Character Set of Mailings to Chinese T (big5)