racingyacht

Setting up sendmail with Redhat RHEL5

Vote 0 Votes

Environment :
Operating System: Redhat RHEL5
MT: MT5
Dedicated virtural server (our own server, not a virtualised server from an ISP)

We are evaluating MT on one of our servers to determing if MT is the right product for us. The products looks very powerful, however we are having a few teething problems in getting the system to work with sendmail.


Reviewing 'System Information' under 'System Overview >Tools > System Information', sendmail is not operationg with MT and the following message is returned:
Mail::Sendmail
This module is required for sending mail via SMTP Server.

Your server does not have Mail::Sendmail installed, or Mail::Sendmail requires another module that is not installed. Please consult the installation instructions for help in installing Mail::Sendmail. Details:
Can't locate Mail/Sendmail.pm in @INC (@INC contains: /var/www/cgi-bin/mt/plugins/zemanta/lib /var/www/cgi-bin/mt/plugins/Textile/lib /var/www/cgi-bin/mt/plugins/spamlookup/lib /var/www/cgi-bin/mt/plugins/TypePadAntiSpam/lib /var/www/cgi-bin/mt/plugins/WXRImporter/lib /var/www/cgi-bin/mt/plugins/StyleCatcher/lib /var/www/cgi-bin/mt/plugins/WidgetManager/lib /var/www/cgi-bin/mt/plugins/MultiBlog/lib plugins/zemanta/lib plugins/Textile/lib plugins/spamlookup/lib plugins/TypePadAntiSpam/lib plugins/WXRImporter/lib plugins/StyleCatcher/lib plugins/WidgetManager/lib plugins/MultiBlog/lib /var/www/cgi-bin/mt/extlib /var/www/cgi-bin/mt/extlib /var/www/cgi-bin/mt/lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at (eval 278) line 1.
BEGIN failed--compilation aborted at (eval 278) line 1.


Sendmail is installed on the server and is found under the following paths:
/var/lock/subsys/sendmail
/usr/lib/sendmail
/usr/share/doc/sendmail
/usr/share/logwatch/scripts/services/sendmail
/usr/sbin/sendmail
/etc/rc.d/init.d/sendmail
/etc/sysconfig/sendmail

I have manually added the following path to mt-config.cgi:
MailTransfer sendmail
SendMailPath /usr/sbin/sendmail

Can someone please help to resolve the problem?

Reported on Movable Type 5

3 Replies

| Add a Reply
  • I'm also learning this,can you help me?

  • Your server does not have Mail::Sendmail installed, or Mail::Sendmail requires another module that is not installed. Please consult the installation instructions for help in installing Mail::Sendmail. Details:

    That means you have a missing Perl package. I don't know which RPM corresponds to Mail::Sendmail, but it shouldn't be too hard to find. You should be just one more RPM away from getting it working.

  • Thanks Mike.
    I'm using the Redhat perl RPM, which doesn't appear to have MT::Sendmail.
    I had naively thought that Mail::Sendmail was the same as Sendmail, the mail service that ships with Redhat Enterprise Linux. I've found the perl version on the CPAN website.

    Thank you for pointing me in the right direction.

    Regards

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012