I have a question to you.
A sendmail function cannot be used by my PerlCGI.
I have heard that exim is used for DirectAdmin.
How do I set up, in order to use exim?
DirectAdmin + Fedora1
$sendmail = '/usr/sbin/sendmail';
open(MAIL,"| $sendmail -t") || &error("No sendmail");
print MAIL "To: $mailto\n";
print MAIL "From: $m_mailfrom\n";
print MAIL "Bcc: $bcc\n" if ($bcc);
print MAIL "Subject: $mail_sub\n";
print MAIL "MIME-Version: 1.0\n";
print MAIL "Content-type: text/plain; charset=ISO-2022-JP\n";
print MAIL "Content-Transfer-Encoding: 7bit\n";
print MAIL "X-Mailer: $ver\n\n";
print MAIL $mail_body;
close(MAIL);
A sendmail function cannot be used by my PerlCGI.
I have heard that exim is used for DirectAdmin.
How do I set up, in order to use exim?
DirectAdmin + Fedora1
$sendmail = '/usr/sbin/sendmail';
open(MAIL,"| $sendmail -t") || &error("No sendmail");
print MAIL "To: $mailto\n";
print MAIL "From: $m_mailfrom\n";
print MAIL "Bcc: $bcc\n" if ($bcc);
print MAIL "Subject: $mail_sub\n";
print MAIL "MIME-Version: 1.0\n";
print MAIL "Content-type: text/plain; charset=ISO-2022-JP\n";
print MAIL "Content-Transfer-Encoding: 7bit\n";
print MAIL "X-Mailer: $ver\n\n";
print MAIL $mail_body;
close(MAIL);