Difference between revisions of "Plugin:E-Mail"
(→Synopsis: Corrected the synopsis.) |
(→Description: Added pointers to the Tail and FileCount plugins.) |
||
Line 5: | Line 5: | ||
Use of this plugin is <strong>deprecated</strong>. If you want to submit statistics to the daemon, for example about email messages, please use the [[Plugin:UnixSock|UnixSock]] plugin instead. | Use of this plugin is <strong>deprecated</strong>. If you want to submit statistics to the daemon, for example about email messages, please use the [[Plugin:UnixSock|UnixSock]] plugin instead. | ||
+ | |||
+ | Unfortunately most <em>mail transfer agents</em> (MTAs, also often inaccurately called "mail servers") do not offer an interface to get some statistics out of them. You can, however, use the [[Plugin:Tail|Tail]] plugin to get statistics such as "number of rejected mails per second" out of the log files. Other information, such as the current queue length, may be acquired by the [[Plugin:FileCount|FileCount]] plugin. | ||
== Synopsis == | == Synopsis == |
Revision as of 23:54, 22 March 2009
Description
The E-Mail plugin opens a UNIX domain socket and starts accepting connections on that socket. Clients can connect to this socket and submit statistics about email messages. A sample plugin for SpamAssassin can be found in contrib/SpamAssassin/
.
Use of this plugin is deprecated. If you want to submit statistics to the daemon, for example about email messages, please use the UnixSock plugin instead.
Unfortunately most mail transfer agents (MTAs, also often inaccurately called "mail servers") do not offer an interface to get some statistics out of them. You can, however, use the Tail plugin to get statistics such as "number of rejected mails per second" out of the log files. Other information, such as the current queue length, may be acquired by the FileCount plugin.
Synopsis
<Plugin email> SocketFile "/var/run/collectd-email" SocketGroup "mail" SocketPerms 660 MaxConns 4 </Plugin>
Example graphs
None yet. Add one now!
Dependencies
- none