Use sendmailanalyzer to monitor your Sendmail server

Source: Internet
Author: User

Use Sendmailanalyzer to monitor your ownSendmailTo improve the efficiency of Sendmail servers. Let's see what this article says.

The company wants an external sending server. In fact, there are many external sending servers, which are free of charge and paid. Because the company's external sending server requires sending emails to all employees at the same time, some free or charged external sending servers have such restrictions. For example, a maximum of 100 mails can be entered at a time. Forget it. You can get it done by yourself. On the original monitoring server, you can modify the sendmail settings and there is no limit on the quantity. But the problem is that if you look at the damn maillog, it's a headache.

I can see a tool named sendmailanalyzer from OSChina. It feels good. Try it.

For more information about chart styles, see OSChina: sendmailanalyzer.

1. Decompress tar-zxvf sendmailanalyzer-6.4.tar.gz

2. Read the installation instructions.

3. install.

Very simple.

Let's talk about the problem.

1. After installation, you can see the statistical data table but cannot see the figure. libgd and libpnp to be installed are also installed. So I am wondering. Go to the origin site and check out the author's mail and a mail. In general, there is not much hope, because there is data, but there is no table. But I was very happy. I received a reply from the author the next day, saying that I may be CPAN missing image module.

Run perl-MCPAN-e 'Install GD: Graph: bars3d 'as he said '. Note that you must find a fast CPAN address, which seems to be the source of sohu. You can search for them online.

After that, restart the sendmailanalyzer service. OK. The image is displayed. Don't forget to dig a slot. Return to your feelings by Gilles.

2. After several days, I found that the data is not updated. The strange thing is that the program is also running in the process. Why is there no data update ??? Service sendmailanalyzer restart

Not reflected. Ps aux | grep. Several identical processes are found in the process. It's strange that the service cannot be restarted. I think it may be because of program skills, or because there are a lot of stuff installed in my system. No problem found yet. In a compromise, restart the program in the original scheduled task, because there is no way to restart the service. Use extreme tools and kill.

Write a script

Vi cron. sendmailanalyzer. sh

#! /Bin/sh

Kill-9 'ps-ef | grep-v ps | grep sendmailanalyzer | grep-v grep | awk '{print $2 }''

Sh/etc/rc. d/rc. sendmailanalyzer start

Copy code

Add the execution permission to crontab.

Think for yourself, there should be no problem. Put it for a few days and check the situation. If you find the cause or have other problems, I will update it again.

You can contact me if you know this thing!

After reading the description in the above article, I believe everyone knows that Sendmailanalyzer is a good monitor for the Sendmail server. If you have time, try it!

  • You can use Sendmail to send emails under Solaris 10.
  • How to use Sendmail to send HTML-format emails
  • Introduction to Sendmail
  • SMTP greetings for Sendmail security
  • Unauthorized use of Sendmail security
  • How to Set a virtual domain in Sendmail
  • Limits on the security of Sendmail

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.