Re: gnarwl integration

Normando <[email protected]> Tue, 27 Dec 2005 11:43:28 +0100
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
Normando wrote:
> Hi!
> 
> I'd like to start an integration of gnarwl into ISPMan.
> gnarwl is a LDAP based email autoresponder.

That's the first thing I think I have to share before anything else.
This is the diff for the schema. I chose the OID arbitrarily...

--- /tmp/ispman.schema  2005-09-14 14:20:14.764702157 +0200
+++ ispman.schema       2005-09-14 14:07:34.127080149 +0200
@@ -649,7 +649,42 @@
         SUBSTR caseIgnoreSubstringsMatch
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

+# Vacation things

+attributetype ( 1.3.6.1.4.8833.2.1.1115
+        NAME 'vacationActive'
+        SINGLE-VALUE
+        EQUALITY booleanMatch
+        DESC 'A flag, for marking the user as being away'
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 )
+
+attributetype ( 1.3.6.1.4.8833.2.1.1116
+        NAME 'vacationInfo'
+        SINGLE-VALUE
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
+        DESC 'Absentee note to leave behind, while on vacation'
+        EQUALITY octetStringMatch )
+
+attributetype ( 1.3.6.1.4.8833.2.1.1117
+        NAME 'vacationStart'
+        SINGLE-VALUE
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
+        DESC 'Beginning of vacation'
+        EQUALITY octetStringMatch )
+
+attributetype ( 1.3.6.1.4.8833.2.1.1118
+        NAME 'vacationEnd'
+        SINGLE-VALUE
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
+        DESC 'End of vacation'
+        EQUALITY octetStringMatch )
+
+attributetype (1.3.6.1.4.8833.2.1.1119
+        NAME 'vacationForward'
+        EQUALITY caseIgnoreIA5Match
+        SUBSTR caseIgnoreIA5SubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
+        DESC 'Where to forward mails to, while on vacation' )


  #############################################
@@ -1247,7 +1282,8 @@
                  $ amavisVirusLover $ amavisBannedFilesLover $
amavisBypassVirusChecks
                  $ amavisBypassSpamChecks $ amavisSpamTagLevel $
amavisSpamKillLevel
                  $ amavisWhitelistSender $ amavisBlacklistSender
-               $ DestinationAddress $ DestinationPort ))
+               $ DestinationAddress $ DestinationPort
+               $ vacationActive $ vacationEnd $ vacationInfo $
vacationStart $ vacationForward ))
  objectClass ( 1.3.6.1.4.12852.2.1.1002 NAME 'ispmanReseller'
          SUP inetOrgPerson STRUCTURAL
          DESC 'Class describing ispman Resellers'

Let me know!

Thanks,
Normando



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click