Tag Archives: Sendmail

Sendmail statistics, number of mails per day

How to insert daily statistics data that can be gathered from Sendmail, and how to get them in the first place, from our Sendmail? I am using CentOS6U4+Sendmail 8.14.4-8+Zabbix 2.2. 1. Getting statistical data from Sendmail # mailstats Statistics from … Continue reading

Posted in Linux | Tagged , | Comments Off on Sendmail statistics, number of mails per day

Zabbix, Sendmail and mailq

So Zabbix has a “Template Linux Server”, but it (and any other template) does not give us the option to track the value of a Sendmail mailq on our mail server. So how to do this? Necessary starting conditions Host … Continue reading

Posted in Linux | Tagged , , | Comments Off on Zabbix, Sendmail and mailq

How long does it take for Sendmail to send mail?

In /var/log/maillog file, you have to look for “delay” for every mail message : Delay= total time to deliver A mail message can be delivered immediately, without ever having been queued, or it can be queued and retried over and … Continue reading

Posted in Linux | Tagged | Comments Off on How long does it take for Sendmail to send mail?

SendmailAnalyzer

I need the per hour analysis of mail messages (how many per which hour), and my MailScanner can’t do this, so I have been experimenting with SendmailAnalyzer(link). Links with installation instructions : link1 Installing on CentOS 6U4 : Which Perl … Continue reading

Posted in Linux | Tagged , , | Comments Off on SendmailAnalyzer

Possible Sendmail mailq error

If you have a error such as this in your mailq : r2TTw8UW002238 6090989 Fri Mar 22 15:58 (Deferred: local mailer (/usr/libexec/dovecot/deliver) exited) user2@my.domain And in Dovecot logs, you get this error : Mar 22 13:13:41 mail-2012 sendmail[1022]: r2TTw8UW002238: to=user2@my.domain, … Continue reading

Posted in Linux | Tagged , | Comments Off on Possible Sendmail mailq error

Is your mail server a (open) relay?

Here is how you can test it : Test 1 From another server log onto your mail server, using its outside IP address (or name) : # telnet outside-IP 25 Trying outside-IP… Connected to mail-2012.my.domain (outside-IP). Escape character is ‘^]’. … Continue reading

Posted in Linux | Tagged , | Comments Off on Is your mail server a (open) relay?

Sendmail testing ports 25 and 110

Testing on port 110 – POP3 – listing messages in INBOX and downloading messages # telnet 10.10.10.94 110 Trying 10.10.10.94… Connected to 10.10.10.94 (10.10.10.94). Escape character is ‘^]’. +OK POP3 mail94.my.domain v2003.83rh server ready user user1 +OK User name accepted, … Continue reading

Posted in Linux | Tagged , , , , | Comments Off on Sendmail testing ports 25 and 110

Sendmail log

If you get in /var/log/maillog something like this : Dec 20 14:07:39 mail-2012 sendmail[8974]: qBKD7ddr008974: [10.10.10.11] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA It only means that host (here 10.10.10.11) has not finished communication it has started with server … Continue reading

Posted in Linux | Tagged , | Comments Off on Sendmail log

Sendmail mailq

Or how to delete a larger number of messages (all at once) from mail queue of Sendmail. Take care, such action is irreversible! How Sendmail mailq looks : # mailq /var/spool/mqueue (17 requests) —–Q-ID—– –Size– —–Q-Time—– ————Sender/Recipient———– qB5BYtvg013154 40233 Wed … Continue reading

Posted in Linux | Tagged , | Comments Off on Sendmail mailq

Sendmail+RoundCube+Dovecot+Sieve

Why put ManageSieve and RoundCube on Dovecot? Because with it you get the message filtering on the single user level, in accordance with his wishes. Also there is a autoreply option.. Versions of OS and SW : OS – RHEL … Continue reading

Posted in Linux | Tagged , , | Comments Off on Sendmail+RoundCube+Dovecot+Sieve