We have the option of moving our site to a box that uses either Ensim or Plesk as the control panel. (Them's the choices.)
Plesk uses Qmail and Ensim uses sendmail.
Currently all of our perl script use either calls to sendmail or Mime::Lite.
i.e
my $mail_cmd = '/usr/bin/sendmail -t';
open (MAIL, "|$mail_cmd") or Error('Mail Error',"Can't open SendMail<b
+r>Error: $!");
How difficult will it be to adapt to Qmail? Will there be a lot of re-writing or will it simply be a matter of pointing $mail_cmd to Qmail instead of sendmail??
Aside from the example above, most of our scripts make extensive use of Mime::Lite, so I'd like to make sure they don't break.
--
Filmo the Klown
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.