home   |   about us   |   our network   |   services   |   affiliates   |   contact
 
Services
» Web Hosting
» Reseller Hosting
» Dedicated Servers
» Windows/ASP.net Hosting
» Managed Web Hosting
» Server Security / Auditing
» Remote Backup / Storage
» Linux VDS
» Windows VDS
 
Support
» Support Desk
» Client Login
» Forums
» FAQs
» Help Files
» Acceptable Use Policy
» Client Testimonials
» Blog
 
Tutorials
» Dedicated Server Tutorial
» Website Optimization
» Search Engine Optimization
» Web Hosting Tutorials
» Web Programming Tutorials
» Networking Tutorials
» Virtual Server Tutorials
» Resources

The Crucial Blog - Archive

May 22, 2009

How to install Sendmail on a new server?

yum install sendmail

If you are getting the following error in /var/log/maillog while sending an email
————————–
Dec 4 09:01:28 servername sendmail[12467]: iA4H1SCV012467: to=whoever@domain.com, ctladdr=whatever
(whatever/groupid), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30059, relay=[127.0.0.1]
[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
——————————-

1) Make sure that 127.0.0.1 is listed in /etc//access and /etc/hosts.

2) In the file /etc//sendmail.mc comment out the line below by prepending it with ‘dnl”,like

dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA’)

3 Rebuild sendmail.cf

m4 /etc//sendmail.mc > /etc//sendmail.cf

4)Restart sendmail

service sendmail restart

While rebuilding, some times we may encounter the following error:
=======================
/etc//sendmail.mc:10: m4: cannot open `/usr/share/sendmail-cf/m4/cf.m4′: No such file or directory
======================
Then

>> yum install sendmail-cf

After that repeat, step 3 and 4. Now try to send using “ -v” and it should work fine.

Thanks Gopi for this article!

Tags: , ,

Related posts


No Comments

Filed under: Uncategorized by — aaron @ 12:44 am


February 18, 2008

Problems Logging into Horde - cPanel

When you are having problems logging into on , and just keep getting the same login page over and over again. This is usually due to the horde_sessionhandler table being corrupt in the database. You can usually fix the issues with logging into by doing one of the following steps:

1. In MySQL try: repair table horde_sessionhandler;

If this does not fix the issue, try the following:

2. In MySQL delete, and recreate the horde_sessionhandler table as follows:

drop table horde_sessionhandler;

CREATE TABLE horde_sessionhandler (session_id VARCHAR(32) NOT NULL,

session_lastmodified INT NOT NULL, session_data LONGBLOB,PRIMARY KEY

(session_id)) ENGINE = InnoDB;

GRANT SELECT, INSERT, UPDATE, DELETE ON horde_sessionhandler TO @localhost;

FLUSH PRIVILEGES;

Hope this helps!

Tags: , ,

Related posts


No Comments

Filed under: Uncategorized by — aaron @ 10:08 pm




     

Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters, Windows 2008 Server Virtual Dedicated Servers