monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: postgrey patch


From: Martin Pala
Subject: Re: postgrey patch
Date: Mon, 10 Oct 2005 22:38:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050914 Debian/1.7.11-1

Thanks, it was added to cvs :)

Martin

Scott Storck wrote:
Hello All,

I use monit on our mail server, and it is really great.
However, the new feature in 4.6 for testing postfix policy servers is missing 
one piece of data needed for serveral of the open source postfix policy servers 
that are available.
I am refering to the 'client_name' field.
Below is a patch which includes this to postfix_policy.c , which resolves such 
problems.
I have also attached it, however most lists I am on, do not allow attachments.

Regards,
Scott Storck

############################################################

diff -Naur monit-4.6/protocols/postfix_policy.c 
monit-4.6-local/protocols/postfix_policy.c
--- monit-4.6/protocols/postfix_policy.c        2005-08-04 14:52:16.000000000 
+0000
+++ monit-4.6-local/protocols/postfix_policy.c  2005-10-10 20:13:22.000000000 
+0000
@@ -61,6 +61,7 @@
* address@hidden * address@hidden * client_address=1.2.3.4
+ *   client_name=mx.foo.tld
  *  and check that the server replies with some action.
  *
  *  @author Martin Pala, <address@hidden>
@@ -82,6 +83,7 @@
     "address@hidden"
     "address@hidden"
     "client_address=1.2.3.4\n"
+    "client_name=mx.foo.tld\n"
     "\n") < 0) {
     log("POSTFIX-POLICY: error sending data -- %s\n", STRERROR);
     return FALSE;

############################################################



Scott Storck
Information Technology
--------------------------------------------------
Topdeq Service GmbH
Werner-von-Siemens-Strasse 31
64319 Pfungstadt
DEUTSCHLAND
Fon +49 (0) 6157 159-444
Fax +49 (0) 6157 159-333
address@hidden www.topdeq.de www.takkt.de



------------------------------------------------------------------------

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

[Prev in Thread] Current Thread [Next in Thread]