[mcs] drop old 3rdparty stuff

This commit is contained in:
Fabio Erculiani 2012-07-25 12:53:56 +02:00
parent 53bd2e83d0
commit d2d0beabc0
78 changed files with 0 additions and 8426 deletions

View File

@ -1,35 +0,0 @@
# PROPRIETARY/CONFIDENTIAL. Use of this product is subject to
# license terms. Copyright © 2001 Sun Microsystems, Inc.
# Some preexisting portions Copyright © 2001 Netscape Communications Corp.
# All rights reserved.
#
#############################################################
# Delegated User Administration Attributes & Objectclasses
#############################################################
dn: cn=schema
#Attributes
attributeTypes: ( 2.16.840.1.113730.3.1.556 NAME ( 'nsNumDepts' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.561 NAME ( 'nsMaxDomains' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.558 NAME ( 'nsNumMailLists' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.554 NAME ( 'nsNumUsers' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.562 NAME ( 'nsDefaultMaxDeptSize' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.557 NAME ( 'nsMaxDepts' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.563 NAME ( 'nsdaCapability' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.555 NAME ( 'nsMaxUsers' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.559 NAME ( 'nsMaxMailLists' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.601 NAME ( 'adminRole' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.560 NAME ( 'nsNumDomains' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 1.2.840.113556.1.2.102 NAME ( 'memberOf' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.565 NAME ( 'nsdaModifiableBy' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.564 NAME ( 'nsSearchFilter' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Delegated Adminstrator' )
attributeTypes: ( 2.16.840.1.113730.3.1.600 NAME ( 'nsDADomain' ) DESC 'iPlanet Delegated Adminstrator defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Delegated Adminstrator' )
#Objectclasses
objectclasses: ( 2.16.840.1.113730.3.2.85 NAME 'nsManagedISP' DESC 'Delegated Admin marker for hosted root' SUP top AUXILIARY MAY ( nsNumDomains ) X-ORIGIN 'iPlanet Delegated Adminstrator' )
objectclasses: ( 2.16.840.1.113730.3.2.86 NAME 'nsManagedDomain' DESC 'Delegated Admin marker for managed domain' SUP top AUXILIARY MAY ( nsNumUsers $ nsMaxUsers $ nsNumDepts $ nsMaxDepts $ nsNumMailLists $ nsMaxMailLists $ nsNumDomains $ nsMaxDomains $ nsDefaultMaxDeptSize $ owner $ nsdaModifiableBy ) X-ORIGIN 'iPlanet Delegated Adminstrator' )
objectclasses: ( 2.16.840.1.113730.3.2.87 NAME 'nsManagedOrgUnit' DESC 'Delegated Admin marker for managed organizationunit' SUP top AUXILIARY MAY ( owner $ nsdaModifiableBy ) X-ORIGIN 'iPlanet Delegated Adminstrator' )
objectclasses: ( 2.16.840.1.113730.3.2.88 NAME 'nsManagedDept' DESC 'Delegated Admin marker for managed department' SUP groupOfUniqueNames AUXILIARY MAY ( nsNumUsers $ nsMaxUsers $ nsNumDepts $ nsMaxDepts $ owner $ nsdaModifiableBy ) X-ORIGIN 'iPlanet Delegated Adminstrator' )
objectclasses: ( 2.16.840.1.113730.3.2.89 NAME 'nsManagedFamilyGroup' DESC 'Delegated Admin marker for managed familygroup' SUP top AUXILIARY MAY ( nsNumUsers $ nsMaxUsers $ owner $ nsdaModifiableBy ) X-ORIGIN 'iPlanet Delegated Adminstrator' )
objectclasses: ( 2.16.840.1.113730.3.2.90 NAME 'nsManagedMailList' DESC 'Delegated Admin marker for managed mailing list' SUP top AUXILIARY MAY ( nsNumUsers $ nsMaxUsers $ owner $ nsdaModifiableBy ) X-ORIGIN 'iPlanet Delegated Adminstrator' )
objectclasses: ( 2.16.840.1.113730.3.2.91 NAME 'nsManagedPerson' DESC 'Delegated Admin marker for managed person' SUP top AUXILIARY MAY ( memberOf $ nsdaDomain $ nsdaCapability $ nsSearchFilter $ owner $ nsdaModifiableBy ) X-ORIGIN 'iPlanet Delegated Adminstrator' )
objectclasses: ( 2.16.840.1.113730.3.2.111 NAME 'nsManagedDeptAdminGroup' DESC 'Delegated Admin marker for managed department admin group' SUP top AUXILIARY X-ORIGIN 'iPlanet Delegated Adminstrator' )
objectclasses: ( 2.16.840.1.113730.3.2.115 NAME 'nsUniquenessDomain' DESC 'Delegated Admin marker for uniqueness domain' SUP top AUXILIARY X-ORIGIN 'iPlanet Delegated Adminstrator' )

View File

@ -1,205 +0,0 @@
# PROPRIETARY/CONFIDENTIAL. Use of this product is subject to
# license terms. Copyright 2001 Sun Microsystems, Inc.
# Some preexisting portions Copyright 2001 Netscape Communications Corp.
# All rights reserved.
#
# Last Modified By - Archna Monga
# Last modified June 2004
#
# This file contains the schema updation from Schema 1.0 to Schema 2.0
# May 2003
# Added Objectclass - sunABDomain
# Changed ObjectClasses - piStoreOwner, piTypeBook, piEntry
# (memberOfPiBook is in allowed attributes)
# Deleted ObjectClass - piAddressBook
#
# June 2004
# Changed ObjectClasses - piEntry, piTypePerson
# SCHEMA FILE 50ns-iabs.ldif Created on Wed Mar 13 13:16:03 2002
dn: cn=schema
attributeTypes: ( otherDate-oid NAME ( 'otherDate' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPStoreOwner-oid NAME ( 'piPStoreOwner' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( homeCity-oid NAME ( 'homeCity' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( workState-oid NAME ( 'workState' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone1-oid NAME ( 'piPhone1' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone2-oid NAME ( 'piPhone2' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone3-oid NAME ( 'piPhone3' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone4-oid NAME ( 'piPhone4' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone5-oid NAME ( 'piPhone5' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone6-oid NAME ( 'piPhone6' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone7-oid NAME ( 'piPhone7' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone8-oid NAME ( 'piPhone8' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone9-oid NAME ( 'piPhone9' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone10-oid NAME ( 'piPhone10' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone11-oid NAME ( 'piPhone11' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone12-oid NAME ( 'piPhone12' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone13-oid NAME ( 'piPhone13' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone14-oid NAME ( 'piPhone14' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone15-oid NAME ( 'piPhone15' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone16-oid NAME ( 'piPhone16' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone17-oid NAME ( 'piPhone17' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone18-oid NAME ( 'piPhone18' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone19-oid NAME ( 'piPhone19' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone20-oid NAME ( 'piPhone20' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( inetCalendar-oid NAME ( 'inetCalendar' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( piIM1ID-oid NAME ( 'piIM1ID' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piWebsite1Descr-oid NAME ( 'piWebsite1Descr' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piIM3ID-oid NAME ( 'piIM3ID' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piRemotePiURL-oid NAME ( 'piRemotePiURL' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( inetFreeBusy-oid NAME ( 'inetFreeBusy' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( otherCountry-oid NAME ( 'otherCountry' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( workCountry-oid NAME ( 'workCountry' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( company-oid NAME ( 'company' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( photoURL-oid NAME ( 'photoURL' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piDeleter-oid NAME ( 'piDeleter' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( piMaxStoreEntries-oid NAME ( 'piMaxStoreEntries' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piBookType-oid NAME ( 'piBookType' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPStoreURL-oid NAME ( 'piPStoreURL' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piBackpointer-oid NAME ( 'piBackpointer' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( 2.16.840.1.113730.3.1.721 NAME ( 'dateOfBirth' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piReader-oid NAME ( 'piReader' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( bbBookmarkURL-oid NAME ( 'bbBookmarkURL' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( bblayoutinfo-oid NAME ( 'bblayoutinfo' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piWebsite2Descr-oid NAME ( 'piWebsite2Descr' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( workPostalCode-oid NAME ( 'workPostalCode' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piIM3Service-oid NAME ( 'piIM3Service' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( otherCity-oid NAME ( 'otherCity' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( otherPostalAddress-oid NAME ( 'otherPostalAddress' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( abEntriesPerPage-oid NAME ( 'abEntriesPerPage' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( bbBookmarkSort-oid NAME ( 'bbBookmarkSort' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'sun defined' )
attributeTypes: ( floor-oid NAME ( 'floor' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( otherState-oid NAME ( 'otherState' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 2.16.840.1.113730.3.1.720 NAME ( 'nickname' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piCreator-oid NAME ( 'piCreator' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( sunConfRoomCapacity-oid NAME ( 'sunConfRoomCapacity' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piIM2ID-oid NAME ( 'piIM2ID' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( otherPostalCode-oid NAME ( 'otherPostalCode' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( middlename-oid NAME ( 'middlename' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( fullname-oid NAME ( 'fullname' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( anniversary-oid NAME ( 'anniversary' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piIM2Service-oid NAME ( 'piIM2Service' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piEmail1Type-oid NAME ( 'piEmail1Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( mailingAddress-oid NAME ( 'mailingAddress' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piEmail2Type-oid NAME ( 'piEmail2Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piEmail3Type-oid NAME ( 'piEmail3Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piEmail1CN-oid NAME ( 'piEmail1CN' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piEmail2CN-oid NAME ( 'piEmail2CN' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piEmail3CN-oid NAME ( 'piEmail3CN' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piEmail1TransType-oid NAME ( 'piEmail1TransType' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piEmail2TransType-oid NAME ( 'piEmail2TransType' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piEmail3TransType-oid NAME ( 'piEmail3TransType' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( homePostalCode-oid NAME ( 'homePostalCode' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( workCity-oid NAME ( 'workCity' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( jobTitle-oid NAME ( 'jobTitle' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piDefaultAB-oid NAME ( 'piDefaultAB' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( pipProfileXMLData-oid NAME ( 'pipProfileXMLData' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( pipEntryXMLData-oid NAME ( 'pipEntryXMLData' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone1Type-oid NAME ( 'piPhone1Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone2Type-oid NAME ( 'piPhone2Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone3Type-oid NAME ( 'piPhone3Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone4Type-oid NAME ( 'piPhone4Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone5Type-oid NAME ( 'piPhone5Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone6Type-oid NAME ( 'piPhone6Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone7Type-oid NAME ( 'piPhone7Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone8Type-oid NAME ( 'piPhone8Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone9Type-oid NAME ( 'piPhone9Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone10Type-oid NAME ( 'piPhone10Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone11Type-oid NAME ( 'piPhone11Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone12Type-oid NAME ( 'piPhone12Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone13Type-oid NAME ( 'piPhone13Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone14Type-oid NAME ( 'piPhone14Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone15Type-oid NAME ( 'piPhone15Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone16Type-oid NAME ( 'piPhone16Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone17Type-oid NAME ( 'piPhone17Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone18Type-oid NAME ( 'piPhone18Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone19Type-oid NAME ( 'piPhone19Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piPhone20Type-oid NAME ( 'piPhone20Type' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( campus-oid NAME ( 'campus' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piLastModifiedBy-oid NAME ( 'piLastModifiedBy' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( homeState-oid NAME ( 'homeState' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( building-oid NAME ( 'building' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( otherDateDescr-oid NAME ( 'otherDateDescr' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( memberOfPIBook-oid NAME ( 'memberOfPIBook' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( piIM1Service-oid NAME ( 'piIM1Service' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piEmail1-oid NAME ( 'piEmail1' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( memberOfPIGroup-oid NAME ( 'memberOfPIGroup' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( piEmail2-oid NAME ( 'piEmail2' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piEmail3-oid NAME ( 'piEmail3' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( officenumber-oid NAME ( 'officenumber' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piAllowedTypes-oid NAME ( 'piAllowedTypes' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( piWriter-oid NAME ( 'piWriter' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( piEntryID-oid NAME ( 'piEntryID' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( pipProfileBinaryData-oid NAME ( 'pipProfileBinaryData' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 X-ORIGIN 'sun defined' )
attributeTypes: ( pipProfileTextData-oid NAME ( 'pipProfileTextData' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( pipEntryTextData-oid NAME ( 'pipEntryTextData' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 X-ORIGIN 'sun defined' )
attributeTypes: ( workPostalAddress-oid NAME ( 'workPostalAddress' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piWebsite1-oid NAME ( 'piWebsite1' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( homeCountry-oid NAME ( 'homeCountry' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piWebsite2-oid NAME ( 'piWebsite2' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( notes-oid NAME ( 'notes' ) DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( sunABLdapServers-oid NAME ( 'sunABLdapServers' ) DESC 'AB Personal Store LDAP servers attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( sunABDomainStatus-oid NAME ( 'sunABDomainStatus' ) DESC 'AB service status attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( sunMaxABEntries-oid NAME ( 'sunMaxABEntries' ) DESC 'AB Personal Store Max AB's attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( sunABCorporateLdapServers-oid NAME ( 'sunABCorporateLdapServers' ) DESC 'AB Corporate Servers attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( sunABDefaultPSEntries-oid NAME ( 'sunABDefaultPSEntries' ) DESC 'AB Personal Store defaults attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( sunABStores-oid NAME ( 'sunABStores' ) DESC 'AB Personal Store LDAP servers' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'sun defined' )
attributeTypes: ( abBookType-oid NAME ( 'abBookType' ) DESC 'address book type attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( contactPerson-oid NAME ( 'contactPerson' ) DESC 'contact person attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( contact-oid NAME ( 'contact' ) DESC 'external contact pointer' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'sun defined' )
attributeTypes: ( gender-oid NAME ( 'gender' ) DESC 'gender M/F attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( spouse-oid NAME ( 'spouse' ) DESC 'spouse attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( officeLocation-oid NAME ( 'officeLocation' ) DESC 'office location attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( assistantName-oid NAME ( 'assistantName' ) DESC 'contact's assistant name attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( suffix-oid NAME ( 'suffix' ) DESC 'suffix such as Jr., Sr. attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( location-oid NAME ( 'location' ) DESC 'location attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( profession-oid NAME ( 'profession' ) DESC 'contact's profession attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( department-oid NAME ( 'department' ) DESC 'contact's department attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( alarmflag-oid NAME ( 'alarmflag' ) DESC 'alarm set or not' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( alarmstatus-oid NAME ( 'alarmstatus' ) DESC 'alarm status, completed/not-completed attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( alarmtime-oid NAME ( 'alarmtime' ) DESC 'UTC formatted alarm date/time attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( alarmtopic-oid NAME ( 'alarmtopic' ) DESC 'alarm follow up status attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( deleted-oid NAME ( 'deleted' ) DESC 'mark-for-deletion attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( lastPurgeDate-oid NAME ( 'lastPurgeDate' ) DESC 'last purge cycle date attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( attachment-oid NAME ( 'attachment' ) DESC 'URI valued attachement attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'sun defined' )
attributeTypes: ( category-oid NAME ( 'category' ) DESC 'category attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'sun defined' )
attributeTypes: ( privacy-oid NAME ( 'privacy' ) DESC 'Private/Public attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piWebsite1Type-oid NAME ( 'piWebsite1Type' ) DESC 'web page type attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( piWebsite2Type-oid NAME ( 'piWebsite2Type' ) DESC 'web page type attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.869 NAME 'homePOBox' DESC 'home PO Box attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.870 NAME 'workPOBox' DESC 'work PO Box attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.871 NAME 'otherPOBox' DESC 'other PO Box attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.872 NAME 'homePostalDelivery' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.873 NAME 'homeParcelDelivery' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.874 NAME 'homeDomDelivery' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.875 NAME 'homeIntlDelivery' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.876 NAME 'workPostalDelivery' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.877 NAME 'workParcelDelivery' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.878 NAME 'workDomDelivery' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.879 NAME 'workIntlDelivery' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.880 NAME 'otherPostalDelivery' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.881 NAME 'otherParcelDelivery' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.882 NAME 'otherDomDelivery' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.883 NAME 'otherIntlDelivery' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.884 NAME 'label' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.885 NAME 'tz' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.886 NAME 'sortString' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.887 NAME 'logoURL' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.888 NAME 'photoBinaryData' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.42.2.27.9.1.889 NAME 'photoType' DESC 'sun Defined Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'sun defined' )
attributeTypes: ( 1.3.6.1.4.1.9586.100.4.2.7 NAME 'latitude' DESC 'latitude coordinate' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined')
attributeTypes: ( 1.3.6.1.4.1.9586.100.4.2.8 NAME 'longitude' DESC 'longitude coordinate' EQUALITY caseExactIA5Match SUBSTR caseExactIA5SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'sun defined')
#
# objectclasses defined in this file.
#
objectClasses: ( piPStoreRoot-oid NAME 'piPStoreRoot' DESC 'root node of addressbook store' SUP top STRUCTURAL MUST ( piPStoreOwner ) MAY ( piDefaultAB $ piMaxStoreEntries $ lastPurgeDate ) X-ORIGIN 'sun defined' )
objectClasses: ( piTypeBook-oid NAME 'piTypeBook' DESC 'base class for an addressbook entry' SUP top STRUCTURAL MUST ( piEntryID $ pibooktype ) MAY ( displayName $ multilineDescription $ piLastModifiedBy ) X-ORIGIN 'sun defined' )
objectClasses: ( piLocalBook-oid NAME 'piLocalBook' DESC 'storing ACL for addressbook' SUP piTypeBook AUXILIARY MUST ( ) MAY ( piReader $ piWriter $ piDeleter $ piCreator $ abBookType ) X-ORIGIN 'sun defined' )
objectClasses: ( piRemoteBook-oid NAME 'piRemoteBook' DESC 'class for remote addressbook' SUP piTypeBook AUXILIARY MUST ( piRemotePiURL ) MAY ( ) X-ORIGIN 'sun defined' )
objectClasses: ( piEntry-oid NAME 'piEntry' DESC 'base class for all addressbook entries' SUP top STRUCTURAL MUST ( piEntryID ) MAY ( displayName $ memberOfPIGroup $ memberOfPiBook $ multilineDescription $ piLastModifiedBy $ deleted $ attachment $ category $ piPEntryXMLData $ piPEntryTextData $ privacy $ alarmflag $ alarmstatus $ alarmtime $ alarmtopic ) X-ORIGIN 'sun defined' )
objectClasses: ( piTypeGroup-oid NAME 'piTypeGroup' DESC 'addressbook group entry' SUP piEntry STRUCTURAL MUST ( ) MAY ( piEmail1 $ piWebsite1 $ piWebsite1Descr $ inetCalendar $ inetFreeBusy ) X-ORIGIN 'sun defined' )
objectClasses: ( 1.3.6.1.4.1.42.2.27.9.2.132 NAME 'piTypePerson' DESC 'addressbook person entry' SUP piEntry STRUCTURAL MUST ( ) MAY ( piBackpointer $ givenname $ middlename $ fullname $ sn $ nickname $ spouse $ suffix $ title $ gender $ profession $ jobTitle $ company $ ou $ department $ assistantname $ location $ officeLocation $ manager $ campus $ building $ floor $ officeNumber $ piPhone1 $ piPhone2 $ piPhone3 $ piPhone4 $ piPhone5 $ piPhone6 $ piPhone7 $ piPhone8 $ piPhone9 $ piPhone10 $ piPhone11 $ piPhone12 $ piPhone13 $ piPhone14 $ piPhone15 $ piPhone16 $ piPhone17 $ piPhone18 $ piPhone19 $ piPhone20 $ piPhone1Type $ piPhone2Type $ piPhone3Type $ piPhone4Type $ piPhone5Type $ piPhone6Type $ piPhone7Type $ piPhone8Type $ piPhone9Type $ piPhone10Type $ piPhone11Type $ piPhone12Type $ piPhone13Type $ piPhone14Type $ piPhone15Type $ piPhone16Type $ piPhone17Type $ piPhone18Type $ piPhone19Type $ piPhone20Type $ pieMail1 $ pieMail2 $ piemail3 $ pieMail1Type $ pieMail2Type $ pieMail3Type $ pieMail1cn $ pieMail2cn $ pieMail3cn $ pieMail1transtype $ pieMail2transtype $ pieMail3transtype $ piWebsite1 $ piWebsite2 $ piWebsite1Descr $ piWebsite2Descr $ piWebsite1Type $ piWebsite2Type $ inetCalendar $ inetFreeBusy $ piIM1ID $ piIM2ID $ piIM3ID $ piIM1Service $ piIM2Service $ piIM3Service $ homePostalAddress $ homeCity $ homeState $ homePostalCode $ homeCountry $ homePOBox $ workPostalAddress $ workCity $ workState $ workPostalCode $ workCountry $ workPOBox $ otherPostalAddress $ otherCity $ otherState $ otherPostalCode $ otherCountry $ otherPOBox $ mailingAddress $ anniversary $ dateOfBirth $ otherDate $ otherDateDescr $ photoURL $ notes $ contact $ userSMIMEcertificate $ logoURL $ homePostalDelivery $ homeParcelDelivery $ homeDomDelivery $ homeIntlDelivery $ workPostalDelivery $ workParcelDelivery $ workDomDelivery $ workIntlDelivery $ label $ tz $ latitude $ longitude $ sortString $ otherPostalDelivery $ otherParcelDelivery $ otherDomDelivery $ otherIntlDelivery $ photoBinaryData $ photoType ) X-ORIGIN 'sun defined' )
objectClasses: ( piTypeABConferenceRoom-oid NAME 'piTypeABConferenceRoom' DESC 'conference room entry' SUP piEntry STRUCTURAL MUST ( ) MAY ( telephoneNumber $ sunConfRoomCapacity $ campus $ building $ floor $ officeNumber $ inetCalendar $ inetFreeBusy $ contactPerson ) X-ORIGIN 'sun defined' )
objectClasses: ( NAME 'piProfileBook' DESC '' SUP piTypeBook STRUCTURAL MUST ( objectclass ) MAY ( ) X-ORIGIN 'sun defined' )
objectClasses: ( NAME 'piTypeProfile' DESC '' SUP piEntry STRUCTURAL MUST ( objectclass ) MAY ( pipProfileTextData $ pipProfileBinaryData $ pipProfileXMLData ) X-ORIGIN 'sun defined' )
objectClasses: ( sunABDomain-oid NAME 'sunABDomain' DESC 'Auxiliary class for containing the domain specific Address Book information, including the domain status for Address Book' SUP top AUXILIARY MUST ( ) MAY ( sunABLdapServers $ sunABDomainStatus $ sunMaxABEntries $ sunABCorporateLdapServers $ sunABDefaultPSEntries $ sunABStores ) X-ORIGIN 'sun defined' )

View File

@ -1,29 +0,0 @@
#
# Copyright 2003 Sun Microsystems, Inc. All Rights Reserved
# Patents Pending.Use is subject to license terms.
#
#
# PROPRIETARY/CONFIDENTIAL. Use of this product is subject to
# license terms. Copyright (c) 2001 Sun Microsystems, Inc.
# Some preexisting portions Copyright (c) 2001 Netscape Communications Corp.
# All rights reserved.
#
#
# Schema for iPlanet Web Calendaring
#
dn: cn=schema
attributeTypes: ( 2.16.840.1.113730.3.1.537 NAME 'nswcalCALID' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Web Calendaring' )
attributeTypes: ( 2.16.840.1.113730.3.1.538 NAME 'nswcalExtendedUserPrefs' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Web Calendaring' )
attributeTypes: ( 2.16.840.1.113730.3.1.539 NAME 'nswcalDisallowAccess' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Web Calendaring' )
attributeTypes: ( 2.16.840.1.113730.3.1.540 NAME 'nswcalHost' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Web Calendaring' )
attributeTypes: ( 2.16.840.1.113730.3.1.541 NAME 'nswcalQuota' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Web Calendaring' )
attributeTypes: ( 1.2.840.113556.1.4.478 NAME 'calCalURI' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Web Calendaring' )
attributeTypes: ( 1.2.840.113556.1.4.479 NAME 'calFBURL' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Web Calendaring' )
attributeTypes: ( 1.2.840.113556.1.4.480 NAME 'calCAPURI' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Web Calendaring' )
attributeTypes: ( 1.2.840.113556.1.4.481 NAME 'calCalAdrURI' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Web Calendaring' )
attributeTypes: ( 1.2.840.113556.1.4.482 NAME 'calOtherCalURIs' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Web Calendaring' )
attributeTypes: ( 1.2.840.113556.1.4.483 NAME 'calOtherFBURLs' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Web Calendaring' )
attributeTypes: ( 1.2.840.113556.1.4.484 NAME 'calOtherCAPURIs' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Web Calendaring' )
attributeTypes: ( 1.2.840.113556.1.4.485 NAME 'calOtherCalAdrURIs' DESC 'iPlanet defined attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Web Calendaring' )
objectClasses: ( 2.16.840.1.113730.3.2.83 NAME 'nswcalUser' DESC 'iPlanet defined objectclass' SUP top MUST ( objectClass ) MAY ( cn $ givenName $ mail $ preferredlanguage $ sn $ uid $ userPassword $ nswcalCALID $ nswcalDisallowAccess $ nswcalExtendedUserPrefs $ nslicensedfor $ nswcalHost $ nswcalQuota ) X-ORIGIN 'iPlanet Web Calendaring' )
objectClasses: ( 1.2.840.113556.1.5.87 NAME 'calEntry' DESC 'iPlanet defined objectclass' SUP top MUST ( objectClass ) MAY ( calCalURI $ calFBURL $ calCAPURI $ calCalAdrURI $ calOtherCalURIs $ calOtherFBURLs $ calOtherCAPURIs $ calOtherCalAdrURIs ) X-ORIGIN 'iPlanet Web Calendaring' )

View File

@ -1,61 +0,0 @@
# PROPRIETARY/CONFIDENTIAL. Use of this product is subject to
# license terms. Copyright © 2001 Sun Microsystems, Inc.
# Some preexisting portions Copyright © 2001 Netscape Communications Corp.
# All rights reserved.
#
#
#===============================================================================
# Common object classes/attributes defined and used by
#
# iPlanet Messaging Server 5.x
# iPlanet Calendar Server 5.x
#
# All definitions here are in compliance with the schema interoperability
# specification being worked on for schema interoperability across iPlanet
# products and key partners.
#===============================================================================
#
#
dn: cn=schema
attributetypes: ( 2.16.840.1.113730.3.1.697 NAME 'domOrgMaxUsers' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.698 NAME 'domOrgNumUsers' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.699 NAME 'inetDomainSearchFilter' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.700 NAME 'inetDomainCertMap' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.701 NAME 'inetCanonicalDomainName' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.702 NAME 'domainUidSeparator' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.703 NAME 'pabURI' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.704 NAME 'memberOfManagedGroup' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.705 NAME 'maxPabEntries' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.706 NAME 'inetCOS' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.707 NAME 'vacationStartDate' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.708 NAME 'vacationEndDate' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.709 NAME 'mnggrpDeletionPolicy' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.710 NAME 'mnggrpAdditionPolicy' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.711 NAME 'mnggrpBillableUser' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.712 NAME 'mnggrpStatus' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.713 NAME 'mnggrpMaxUsers' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.714 NAME 'mnggrpCurrentUsers' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.715 NAME 'mnggrpMailQuota' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.716 NAME 'mnggrpUserClassOfServices' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.717 NAME 'un' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.718 NAME 'memberOfPAB' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.719 NAME 'memberOfPABGroup' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.720 NAME 'nickname' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.721 NAME 'dateOfBirth' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.722 NAME 'organizationUnitName' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 0.9.2342.19200300.100.1.3 NAME ( 'mail' 'rfc822mailbox' ) DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.13 NAME 'mailAlternateAddress' DESC 'iPlanet Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( 2.16.840.1.113730.3.1.742 NAME 'icsExtendedUserPrefs' DESC 'Standard Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'iPlanet Calendar Services' )
attributeTypes: ( psRoot-oid NAME 'psRoot' DESC 'Standard Attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'iPlanet Messaging Server' )
attributeTypes: ( psincludeingab-oid NAME 'psIncludeInGAB' DESC 'DA defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'delegated admin' )
attributeTypes: ( 2.16.840.1.113730.3.1.775 NAME ( 'mailSieveRuleSource' ) DESC 'Sun ONE Messaging Server defined attribute' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Sun ONE Messaging Server' )
objectclasses: ( 2.16.840.1.113730.3.2.131 NAME 'inetDomainAlias' DESC 'auxiliary class for hosted domain aliases' SUP alias STRUCTURAL MUST dc X-ORIGIN 'iPlanet Messaging Server' )
objectclasses: ( 2.16.840.1.113730.3.2.132 NAME 'inetDomainOrg' DESC 'auxiliary class for suborganizations in a domain' SUP top AUXILIARY MAY ( domOrgMaxUsers $ domOrgNumUsers ) X-ORIGIN 'iPlanet Messaging Server' )
objectclasses: ( 2.16.840.1.113730.3.2.133 NAME 'inetDomainAuthInfo' DESC 'auxiliary class for misc hosted domain attributes' SUP top AUXILIARY MAY ( inetDomainSearchFilter $ inetDomainCertMap $ domainUidSeparator $ inetCanonicalDomainName ) X-ORIGIN 'iPlanet Messaging Server' )
objectclasses: ( 2.16.840.1.113730.3.2.135 NAME 'ipUser' DESC 'auxiliary class for extending a inetuser entry. Used by calendar and messaging servers' SUP top AUXILIARY MAY ( pabURI $ memberOfManagedGroup $ maxPabEntries $ inetCOS $ psRoot $ psIncludeInGAB ) X-ORIGIN 'iPlanet Messaging Server' )
objectclasses: ( 2.16.840.1.113730.3.2.136 NAME 'userPresenceProfile' DESC 'auxiliary class for vacation start end dates' SUP top AUXILIARY MAY ( vacationStartDate $ vacationEndDate ) X-ORIGIN 'iPlanet Messaging Server' )
objectclasses: ( 2.16.840.1.113730.3.2.137 NAME 'inetManagedGroup' DESC 'auxiliary class for a managed group used by family accounts' SUP top AUXILIARY MUST ( cn ) MAY ( mnggrpDeletionPolicy $ mnggrpAdditionPolicy $ mnggrpBillableUser $ description $ mnggrpStatus $ mnggrpMaxUsers $ mnggrpCurrentUsers $ mnggrpMailQuota $ owner $ nsdaModifiableBy $ mnggrpUserClassOfServices $ mailSieveRuleSource ) X-ORIGIN 'iPlanet Messaging Server' )
objectclasses: ( 2.16.840.1.113730.3.2.138 NAME 'pabPerson' DESC 'structural class for creating personal address book entries' SUP inetOrgPerson STRUCTURAL MAY ( un $ o $ organizationUnitName $ co $ mailAlternateAddress $ dateOfBirth $ memberOfPAB $ memberOfPABGroup $ nickName $ calCalURI $ calFBURL ) X-ORIGIN 'iPlanet Messaging Server' )
objectclasses: ( 2.16.840.1.113730.3.2.139 NAME 'pabGroup' DESC 'structural class for defininig a PAB group' SUP top STRUCTURAL MUST ( cn ) MAY ( un $ memberOfPAB $ nickName $ description ) X-ORIGIN 'iPlanet Messaging Server' )
objectclasses: ( 2.16.840.1.113730.3.2.140 NAME 'pab' DESC 'structural class for defining a personal address book' SUP top MUST ( cn ) MAY ( un $ description ) X-ORIGIN 'iPlanet Messaging Server' )

View File

@ -1,141 +0,0 @@
dn: cn=schema
objectClass: top
objectClass: ldapSubentry
objectClass: subschema
cn: schema
aci: (target="ldap:///cn=schema")(targetattr !="aci")(version 3.0;acl "anonymo
us, no acis"; allow (read, search, compare) userdn = "ldap:///anyone";)
aci: (targetattr="*")(version 3.0; acl "Configuration Administrators Group"; a
llow (all) groupdn="ldap:///cn=Configuration Administrators, ou=Groups, ou=T
opologyManagement, o=NetscapeRoot";)
aci: (targetattr="*")(version 3.0; acl "Configuration Administrator"; allow (a
ll) userdn="ldap:///uid=admin,ou=Administrators, ou=TopologyManagement, o=Ne
tscapeRoot";)
aci: (targetattr = "*")(version 3.0; acl "SIE Group"; allow (all) groupdn = "l
dap:///cn=slapd-mailware1, cn=Fedora Directory Server, cn=Server Group, cn=m
ailware1.babel.it, ou=babel.it, o=NetscapeRoot";)
modifiersName: cn=directory manager
modifyTimestamp: 20091123095036Z
objectClasses: ( 2.16.840.1.113719.2.142.6.1.1 NAME 'ldapSubEntry' DESC 'LDAP
Subentry class, version 1' SUP top STRUCTURAL MAY cn X-ORIGIN ( 'LDAP Subent
ry Internet Draft' 'user defined' ) )
objectClasses: ( 2.16.840.1.113730.3.2.39 NAME 'nsslapdConfig' DESC 'Netscape
defined objectclass' SUP top STRUCTURAL MAY cn X-ORIGIN ( 'Netscape Director
y Server' 'user defined' ) )
objectClasses: ( babmware-oid NAME 'babmware' SUP top STRUCTURAL MAY ( distric
t $ imap-status $ listpolicy $ maildirQuota $ maildirWarn1 $ maildirWarn2 $
maildirWarn3 $ mailmaxmessagesize $ newuser $ pwdreminderanswer $ pwdreminde
rquestion $ skypeName $ smtp-status $ userWarnFlag1 $ userWarnFlag2 $ userWa
rnFlag3 $ userWarnFlagMax $ vacationMessage $ vacationStatus ) X-ORIGIN 'use
r defined' )
objectClasses: ( babmwCompany-oid NAME 'babmwCompany' SUP top STRUCTURAL MAY (
companycos $ companydomains $ companyname $ companyQuota $ companyType $ co
mpanyUsedQuota $ companyvatnumber $ faxcompanyenabled $ faxenabled $ gigacom
panyenabled $ gigaenabled $ imcompanyenabled $ imenabled $ mailcollectorcomp
anyenabled $ mailcollectorenabled $ mailHost $ mailuseragenthost $ maxfax $
maxsms $ maxusers $ node $ smscompanyenabled $ smsenabled $ syncmlcompanyena
bled $ syncmlenabled $ calendarcompanyenabled $ calendarenabled $ theme ) X-ORIGIN 'user defined' )
attributeTypes: ( userWarnFlagMax-oid NAME 'userWarnFlagMax' SYNTAX 1.3.6.1.4
.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( imenabled-oid NAME 'imenabled' SYNTAX 1.3.6.1.4.1.1466.115.
121.1.7 X-ORIGIN 'user defined' )
attributeTypes: ( smtp-status-oid NAME 'smtp-status' SYNTAX 1.3.6.1.4.1.1466.
115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( mailmaxmessagesize-oid NAME 'mailmaxmessagesize' SYNTAX 1.3
.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( pwdreminderquestion-oid NAME 'pwdreminderquestion' SYNTAX 1
.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( companycos-oid NAME 'companycos' SYNTAX 1.3.6.1.4.1.1466.11
5.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( mailcollectorcompanyenabled-oid NAME 'mailcollectorcompanyen
abled' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defi
ned' )
attributeTypes: ( companyUsedQuota-oid NAME 'companyUsedQuota' SYNTAX 1.3.6.1
.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( companydomains-oid NAME 'companydomains' DESC 'List of domai
ns of a company' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'user defined
' )
attributeTypes: ( node-oid NAME 'node' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X
-ORIGIN 'user defined' )
attributeTypes: ( userWarnFlag1-oid NAME 'userWarnFlag1' SYNTAX 1.3.6.1.4.1.1
466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( listpolicy-oid NAME 'listpolicy' SYNTAX 1.3.6.1.4.1.1466.11
5.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( gigacompanyenabled-oid NAME 'gigacompanyenabled' SYNTAX 1.3
.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( userWarnFlag3-oid NAME 'userWarnFlag3' SYNTAX 1.3.6.1.4.1.1
466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( newuser-oid NAME 'newuser' SYNTAX 1.3.6.1.4.1.1466.115.121.
1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( companyQuota-oid NAME 'companyQuota' DESC 'Max quota of them
ailbox of a company' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORI
GIN 'user defined' )
attributeTypes: ( faxenabled-oid NAME 'faxenabled' SYNTAX 1.3.6.1.4.1.1466.11
5.121.1.7 X-ORIGIN 'user defined' )
attributeTypes: ( district-oid NAME 'district' SYNTAX 1.3.6.1.4.1.1466.115.12
1.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( 1.3.6.1.4.1.4203.1.3.5 NAME 'supportedFeatures' DESC 'featur
es supported by the server' EQUALITY objectIdentifierMatch SYNTAX 1.3.6.1.4.
1.1466.115.121.1.38 X-ORIGIN 'user defined' )
attributeTypes: ( maildirWarn3-oid NAME 'maildirWarn3' SYNTAX 1.3.6.1.4.1.146
6.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( syncmlenabled-oid NAME 'syncmlenabled' SYNTAX 1.3.6.1.4.1.1
466.115.121.1.7 X-ORIGIN 'user defined' )
attributeTypes: ( maildirWarn1-oid NAME 'maildirWarn1' SYNTAX 1.3.6.1.4.1.146
6.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( maxfax-oid NAME 'maxfax' SYNTAX 1.3.6.1.4.1.1466.115.121.1.
15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( gigaenabled-oid NAME 'gigaenabled' SYNTAX 1.3.6.1.4.1.1466.
115.121.1.7 X-ORIGIN 'user defined' )
attributeTypes: ( imcompanyenabled-oid NAME 'imcompanyenabled' SYNTAX 1.3.6.1
.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( maxusers-oid NAME 'maxusers' SYNTAX 1.3.6.1.4.1.1466.115.12
1.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( maildirQuota-oid NAME 'maildirQuota' SYNTAX 1.3.6.1.4.1.146
6.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( faxcompanyenabled-oid NAME 'faxcompanyenabled' SYNTAX 1.3.6
.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( syncmlcompanyenabled-oid NAME 'syncmlcompanyenabled' SYNTAX
1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( companyType-oid NAME 'companyType' DESC 'Type of Service ofa
company (internet, internet+infranet, infranet, intranet)' SYNTAX 1.3.6.1.4
.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( userWarnFlag2-oid NAME 'userWarnFlag2' SYNTAX 1.3.6.1.4.1.1
466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( vacationMessage-oid NAME 'vacationMessage' SYNTAX 1.3.6.1.4
.1.1466.115.121.1.26 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( smsenabled-oid NAME 'smsenabled' SYNTAX 1.3.6.1.4.1.1466.11
5.121.1.7 X-ORIGIN 'user defined' )
attributeTypes: ( maxsms-oid NAME 'maxsms' SYNTAX 1.3.6.1.4.1.1466.115.121.1.
15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( vacationStatus-oid NAME 'vacationStatus' SYNTAX 1.3.6.1.4.1
.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( imap-status-oid NAME 'imap-status' SYNTAX 1.3.6.1.4.1.1466.
115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( mailcollectorenabled-oid NAME 'mailcollectorenabled' SYNTAX
1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'user defined' )
attributeTypes: ( smscompanyenabled-oid NAME 'smscompanyenabled' SYNTAX 1.3.6
.1.4.1.1466.115.121.1.7 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( maildirWarn2-oid NAME 'maildirWarn2' SYNTAX 1.3.6.1.4.1.146
6.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( skypename-oid NAME 'skypeName' DESC 'Skype name foraddressbo
ok' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'user defined' )
attributeTypes: ( pwdreminderanswer-oid NAME 'pwdreminderanswer' SYNTAX 1.3.6
.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( companyallow-oid NAME 'companyallow' SYNTAX 1.3.6.1.4.1.146
6.115.121.1.15 X-ORIGIN 'user defined' )
attributeTypes: ( companyname-oid NAME 'companyname' DESC 'Company name' SYNTA
X 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user defined' )
attributeTypes: ( theme-oid NAME 'theme' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
X-ORIGIN 'user defined' )
attributeTypes: ( companyvatnumber-oid NAME 'companyvatnumber' DESC 'Company v
at number' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE X-ORIGIN 'user
defined' )
attributeTypes: ( mailuseragenthost-oid NAME 'mailuseragenthost' SYNTAX 1.3.6
.1.4.1.1466.115.121.1.15 X-ORIGIN 'user defined' )
attributeTypes: ( calendarenabled-oid NAME 'calendarenabled' SYNTAX 1.3.6.1.4.1.1466.11
5.121.1.7 X-ORIGIN 'user defined' )
attributeTypes: ( calendarcompanyenabled-oid NAME 'calendarcompanyenabled' SYNTAX 1.3.6.1.4.1.1466.11
5.121.1.7 X-ORIGIN 'user defined' )
nsSchemaCSN: 4b8bbee0000000000000

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +0,0 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=gnome-panel-launcher
Name[en_US]=MailWare Collaboration
URL=http://localhost:8080/MailWare-Collaboration-TrunkVersion/
Name=MailWare Collaboration
Icon=nm-device-wired

View File

@ -1,10 +0,0 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Link
Icon[en_US]=nm-device-wired
Name[en_US]=MailWare Manager
URL=http://localhost:8080/MailWare-Manager
Name=MailWare Manager
Icon=nm-device-wired

View File

@ -1,132 +0,0 @@
# This file is opened as root, so it should be owned by root and mode 0600.
#
# http://wiki.dovecot.org/AuthDatabase/LDAP
#
# NOTE: If you're not using authentication binds, you'll need to give
# dovecot-auth read access to userPassword field in the LDAP server.
# With OpenLDAP this is done by modifying /etc/ldap/slapd.conf. There should
# already be something like this:
# access to attribute=userPassword
# by dn="<dovecot's dn>" read # add this
# by anonymous auth
# by self write
# by * none
# Space separated list of LDAP hosts to use. host:port is allowed too.
hosts = localhost
# LDAP URIs to use. You can use this instead of hosts list. Note that this
# setting isn't supported by all LDAP libraries.
#uris =
# Distinguished Name - the username used to login to the LDAP server
#dn = cn=Directory Manager
# Password for LDAP server
#dnpass = password
# Use SASL binding instead of the simple binding. Note that this changes
# ldap_version automatically to be 3 if it's lower. Also note that SASL binds
# and auth_bind=yes don't work together.
sasl_bind = no
# SASL mechanism name to use.
#sasl_mech =
# SASL realm to use.
#sasl_realm =
# SASL authorization ID, ie. the dnpass is for this "master user", but the
# dn is still the logged in user. Normally you want to keep this empty.
#sasl_authz_id =
# Use TLS to connect to the LDAP server.
#tls = no
# Use authentication binding for verifying password's validity. This works by
# logging into LDAP server using the username and password given by client.
# The pass_filter is used to find the DN for the user. Note that the pass_attrs
# is still used, only the password field is ignored in it. Before doing any
# search, the binding is switched back to the default DN.
auth_bind = yes
# If authentication binding is used, you can save one LDAP request per login
# if users' DN can be specified with a common template. The template can use
# the standard %variables (see user_filter). Note that you can't
# use any pass_attrs if you use this setting.
#
# If you use this setting, it's a good idea to use a different
# dovecot-ldap.conf for userdb (it can even be a symlink, just as long as the
# filename is different in userdb's args). That way one connection is used only
# for LDAP binds and another connection is used for user lookups. Otherwise
# the binding is changed to the default DN before each user lookup.
#
# For example:
# auth_bind_userdn = cn=%u,ou=people,o=org
#
#auth_bind_userdn = cn=Directory Manager
# LDAP protocol version to use. Likely 2 or 3.
ldap_version = 3
# LDAP base. %variables can be used here.
base = dc=babel,dc=it
# Dereference: never, searching, finding, always
#deref = never
# Search scope: base, onelevel, subtree
scope = subtree
# User attributes are given in LDAP-name=dovecot-internal-name list. The
# internal names are:
# uid - System UID
# gid - System GID
# home - Home directory
# mail - Mail location
#
# There are also other special fields which can be returned, see
# http://wiki.dovecot.org/UserDatabase/ExtraFields
# user_attrs = mailMessageStore=mail=maildir:/maildirs/%$,maildirquota=quota_rule=*:backend,mail_plugins,maildirwarn3=quota_warning=storage=%$%% /usr/local/bin/quota-warning.sh %$
#,maildirwarn2=quota_warning2=storage=%$%% /usr/local/bin/quota-warning.sh %$ %u,maildirwarn3=quota_warning3=storage=%$%% /usr/local/bin/quota-warning.sh %$ %u
#user_attrs = mailMessageStore=mail=maildir:/maildirs/%$,maildirquota=quota_rule=*:backend,mail_plugins,maildirwarn1=quota_warning=storage=%$%% /usr/local/bin/quota-warning.sh %$ %u,maildirwarn2=quota_warning2=storage=%$%% /usr/local/bin/quota-warning.sh %$ %u,maildirwarn3=quota_warning3=storage=%$%% /usr/local/bin/quota-warning.sh %$ %u
user_attrs = mailMessageStore=mail=maildir:/maildirs/%$,maildirquota=quota_rule=*:backend
pass_attrs = mail=user,userPassword=password,mailMessageStore=userdb_home
#pass_attrs = mail=user,userPassword=password,mailMessageStore=userdb_home
pass_filter = (&(objectClass=inetOrgPerson)(mail=%u))
#user_attrs = mailMessageStore=home,mailquota=quota_rule=*:backend
# Filter for user lookup. Some variables can be used (see
# http://wiki.dovecot.org/Variables for full list):
# %u - username
# %n - user part in user@domain, same as %u if there's no domain
# %d - domain part in user@domain, empty if user there's no domain
user_filter = (&(objectClass=inetOrgPerson)(mail=%u))
# Password checking attributes:
# user: Virtual user name (user@domain), if you wish to change the
# user-given username to something else
# password: Password, may optionally start with {type}, eg. {crypt}
# There are also other special fields which can be returned, see
# http://wiki.dovecot.org/PasswordDatabase/ExtraFields
#pass_attrs = uid=user,userPassword=password
# If you wish to avoid two LDAP lookups (passdb + userdb), you can use
# userdb prefetch instead of userdb ldap in dovecot.conf. In that case you'll
# also have to include user_attrs in pass_attrs field prefixed with "userdb_"
# string. For example:
#pass_attrs = mail=user,userPassword=password,mailMessageStore=userdb_home
# Filter for password lookups
#pass_filter = (&(objectClass=inetOrgPerson)(mail=%u))
# Default password scheme. "{scheme}" before password overrides this.
# List of supported schemes is in: http://wiki.dovecot.org/Authentication
#default_pass_scheme = CRYPT
# You can use same UID and GID for all user accounts if you really want to.
# If the UID/GID is still found from LDAP reply, it overrides these values.
#user_global_uid = mail
#user_global_gid = mail

View File

@ -1,116 +0,0 @@
# 2.0.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.36-sabayon x86_64 Gentoo Base System release 2.0.1
auth_debug = yes
auth_master_user_separator = *
auth_verbose = yes
first_valid_gid = 12
first_valid_uid = 8
mail_debug = yes
mail_gid = 12
mail_location = maildir:~/Maildir
mail_log_prefix = "%Us(%u)(%r)(%p): "
mail_uid = 8
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment
#mailbox date
namespace {
inbox = yes
location =
prefix =
separator = /
type = private
}
namespace {
list = children
location = maildir:/maildirs/%%d/%%u/Maildir
prefix = shared/%%u/
separator = /
subscriptions = no
type = shared
}
passdb {
args = /etc/dovecot/passwd.masterusers
driver = passwd-file
master = yes
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf
driver = ldap
}
plugin {
acl = vfile
acl_shared_dict = file:/maildirs/shared-mailboxes
quota = maildir
sieve = /maildirs/%d/%u/Maildir/dovecot.sieve
sieve_dir = /maildirs/%d/%u/Maildir/sieve
sieve_global_path = /maildirs/%d/%u/Maildir/sieve/dovecot.sieve
}
protocols = imap pop3 sieve
service auth {
unix_listener auth-client {
mode = 0660
}
unix_listener auth-master {
group = mail
mode = 0600
user = mail
}
user = root
}
service imap-login {
inet_listener imap {
address = *
port = 143
}
inet_listener imaps {
address = *
port = 993
}
}
service managesieve-login {
executable = /usr/libexec/dovecot/managesieve-login
}
service managesieve {
executable = /usr/libexec/dovecot/managesieve
}
service pop3-login {
inet_listener pop3 {
address = *
port = 10100
}
inet_listener pop3s {
address = *
port = 995
}
}
ssl_ca = </etc/ssl/dovecot/server.pem
ssl_cert = </etc/ssl/dovecot/server.pem
ssl_key = </etc/ssl/dovecot/server.key
ssl_key_password = password
ssl_verify_client_cert = yes
syslog_facility = local1
userdb {
driver = passwd
}
userdb {
args = /etc/dovecot/dovecot-ldap.conf
driver = ldap
}
verbose_ssl = yes
protocol imap {
mail_plugins = quota imap_quota acl imap_acl
}
protocol sieve {
managesieve_logout_format = bytes=%i/%o
managesieve_max_line_length = 65536
}
protocol lda {
auth_socket_path = /var/run/dovecot/auth-master
mail_plugins = quota sieve
postmaster_address = postmaster@example.com
}
protocol pop3 {
mail_plugins = quota
pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, bytes=%i/%o
pop3_uidl_format = UID%u-%v
}

View File

@ -1,469 +0,0 @@
%%%
%%% ejabberd configuration file
%%%
%%% The parameters used in this configuration file are explained in more detail
%%% in the ejabberd Installation and Operation Guide.
%%% Please consult the Guide in case of doubts, it is included in
%%% your copy of ejabberd, and is also available online at
%%% http://www.process-one.net/en/ejabberd/docs/
%%% This configuration file contains Erlang terms.
%%% In case you want to understand the syntax, here are the concepts:
%%%
%%% - The character to comment a line is %
%%%
%%% - Each term ends in a dot, for example:
%%% override_global.
%%%
%%% - A tuple has a fixed definition, its elements are
%%% enclosed in {}, and separated with commas:
%%% {loglevel, 4}.
%%%
%%% - A list can have as many elements as you want,
%%% and is enclosed in [], for example:
%%% [http_poll, web_admin, tls]
%%%
%%% - A keyword of ejabberd is a word in lowercase.
%%% The strings are enclosed in "" and can have spaces, dots...
%%% {language, "en"}.
%%% {ldap_rootdn, "dc=example,dc=com"}.
%%%
%%% - This term includes a tuple, a keyword, a list and two strings:
%%% {hosts, ["jabber.example.net", "im.example.com"]}.
%%%
%%% =======================
%%% OVERRIDE STORED OPTIONS
%%
%% Override the old values stored in the database.
%%
%%
%% Override global options (shared by all ejabberd nodes in a cluster).
%%
%%override_global.
%%
%% Override local options (specific for this particular ejabberd node).
%%
%%override_local.
%%
%% Remove the Access Control Lists before new ones are added.
%%
%%override_acls.
%%% =========
%%% DEBUGGING
%%
%% loglevel: Verbosity of log files generated by ejabberd.
%% 0: No ejabberd log at all (not recommended)
%% 1: Critical
%% 2: Error
%% 3: Warning
%% 4: Info
%% 5: Debug
%%
{loglevel, 4}.
%%
%% watchdog_admins: If an ejabberd process consumes too much memory,
%% send live notifications to those Jabber accounts.
%%
%%{watchdog_admins, ["admin@localhost"]}.
%%% ================
%%% SERVED HOSTNAMES
%%
%% hosts: Domains served by ejabberd.
%% You can define one or several, for example:
%% {hosts, ["example.net", "example.com", "example.org"]}.
%%
{hosts, ["localhost","example.com"]}.
%%
%% route_subdomains: Delegate subdomains to other Jabber server.
%% For example, if this ejabberd serves example.org and you want
%% to allow communication with a Jabber server called im.example.org.
%%
%%{route_subdomains, s2s}.
%%% ===============
%%% LISTENING PORTS
%%
%% listen: Which ports will ejabberd listen, which service handles it
%% and what options to start it with.
%%
{listen,
[
{5222, ejabberd_c2s, [
{certfile, "/etc/ssl/ejabberd/server.pem"}, starttls,
{access, c2s},
{shaper, c2s_shaper},
{max_stanza_size, 65536}
]},
%%
%% To enable the old SSL connection method in port 5223:
%%
{5223, ejabberd_c2s, [
{certfile, "/etc/ssl/ejabberd/server.pem"}, tls,
{access, c2s},
{shaper, c2s_shaper},
{max_stanza_size, 65536}
]},
{5269, ejabberd_s2s_in, [
{shaper, s2s_shaper},
{max_stanza_size, 131072}
]},
%%
%% ejabberd_service: Interact with external components (transports...)
%%
%%{8888, ejabberd_service, [
%% {access, all},
%% {shaper_rule, fast},
%% {ip, {127, 0, 0, 1}},
%% {hosts, ["icq.example.org", "sms.example.org"],
%% [{password, "secret"}]
%% }
%% ]},
{5280, ejabberd_http, [
%%{request_handlers, [
%% {["web"], mod_http_fileserver}
%%]},
captcha,
http_bind,
http_poll,
web_admin
]}
]}.
%%
%% s2s_use_starttls: Enable STARTTLS + Dialback for S2S connections.
%% Allowed values are: true or false.
%% You must specify a certificate file.
%%
%%{s2s_use_starttls, true}.
%%
%% s2s_certfile: Specify a certificate file.
%%
%%{s2s_certfile, "/etc/ssl/ejabberd/server.pem"}.
%%
%% domain_certfile: Specify a different certificate for each served hostname.
%%
%%{domain_certfile, "example.com", "<PATH>/example_com.pem"}.
%%
%% S2S whitelist or blacklist
%%
%% Default s2s policy for undefined hosts.
%%
%%{s2s_default_policy, allow}.
%%
%% Allow or deny communication with specific servers.
%%
%%{{s2s_host, "goodhost.org"}, allow}.
%%{{s2s_host, "badhost.org"}, deny}.
%%% ==============
%%% AUTHENTICATION
%%
%% auth_method: Method used to authenticate the users.
%% The default method is the internal.
%% If you want to use a different method,
%% comment this line and enable the correct ones.
%%
%%{auth_method, internal}.
%%
%% Authentication using external script
%% Make sure the script is executable by ejabberd.
%%
%%{auth_method, external}.
%%{extauth_program, "/path/to/authentication/script"}.
%%
%% Authentication using ODBC
%% Remember to setup a database in the next section.
%%
%%{auth_method, odbc}.
%%
%% Authentication using PAM
%%
%%{auth_method, pam}.
%%{pam_service, "pamservicename"}.
%%
%% Authentication using LDAP
%%
{auth_method, ldap}.
%%
%% List of LDAP servers:
{ldap_servers, ["localhost.localdomain" , "localhost"]}.
%%
%% LDAP attribute that holds user ID:
%% BABEL USES $user@$domain TO AUTHENTICATE USERS WITH LDAP
{ldap_uids, [{"mail", "%u@%d"}]}.
%%
%% Search base of LDAP directory:
{ldap_base, "dc=babel,dc=it"}.
%%
%% LDAP manager:
%%{ldap_rootdn, "dc=example,dc=com"}.
%%
%% Password to LDAP manager:
%%{ldap_password, "******"}.
%%
%% Anonymous login support:
%% auth_method: anonymous
%% anonymous_protocol: sasl_anon | login_anon | both
%% allow_multiple_connections: true | false
%%
%%{host_config, "public.example.org", [{auth_method, anonymous},
%% {allow_multiple_connections, false},
%% {anonymous_protocol, sasl_anon}]}.
%%
%% To use both anonymous and internal authentication:
%%
%%{host_config, "public.example.org", [{auth_method, [internal, anonymous]}]}.
%%% ==============
%%% DATABASE SETUP
%% ejabberd uses by default the internal Mnesia database,
%% so you can avoid this section.
%% This section provides configuration examples in case
%% you want to use other database backends.
%% Please consult the ejabberd Guide for details about database creation.
%%
%% MySQL server:
%%
%%{odbc_server, {mysql, "server", "database", "username", "password"}}.
%%
%% If you want to specify the port:
%%{odbc_server, {mysql, "server", 1234, "database", "username", "password"}}.
%%
%% PostgreSQL server:
%%
%%{odbc_server, {pgsql, "server", "database", "username", "password"}}.
%%
%% If you want to specify the port:
%%{odbc_server, {pgsql, "server", 1234, "database", "username", "password"}}.
%%
%% If you use PostgreSQL, have a large database, and need a
%% faster but inexact replacement for "select count(*) from users"
%%
%%{pgsql_users_number_estimate, true}.
%%
%% ODBC compatible or MSSQL server:
%%
%%{odbc_server, "DSN=ejabberd;UID=ejabberd;PWD=ejabberd"}.
%%% ===============
%%% TRAFFIC SHAPERS
%%
%% The "normal" shaper limits traffic speed to 1.000 B/s
%%
{shaper, normal, {maxrate, 1000}}.
%%
%% The "fast" shaper limits traffic speed to 50.000 B/s
%%
{shaper, fast, {maxrate, 50000}}.
%%% ====================
%%% ACCESS CONTROL LISTS
%%
%% The 'admin' ACL grants administrative privileges to Jabber accounts.
%% You can put as many accounts as you want.
%%
{acl, admin, {user, "admin", "mailwaretest.com"}}.
{acl, admin, {user, "admin", "localhost"}}.
%%
%% Blocked users
%%
%%{acl, blocked, {user, "baduser", "example.org"}}.
%%{acl, blocked, {user, "test"}}.
%%
%% Local users: don't modify this line.
%%
{acl, local, {user_regexp, ""}}.
%%
%% More examples of ACLs
%%
%%{acl, jabberorg, {server, "jabber.org"}}.
%%{acl, aleksey, {user, "aleksey", "jabber.ru"}}.
%%{acl, test, {user_regexp, "^test"}}.
%%{acl, test, {user_glob, "test*"}}.
%%% ============
%%% ACCESS RULES
%% Define the maximum number of time a single user is allowed to connect:
{access, max_user_sessions, [{10, all}]}.
%% This rule allows access only for local users:
{access, local, [{allow, local}]}.
%% Only non-blocked users can use c2s connections:
{access, c2s, [{deny, blocked},
{allow, all}]}.
%% For all users except admins used "normal" shaper
{access, c2s_shaper, [{none, admin},
{normal, all}]}.
%% For all S2S connections used "fast" shaper
{access, s2s_shaper, [{fast, all}]}.
%% Only admins can send announcement messages:
{access, announce, [{allow, admin}]}.
%% Only admins can use configuration interface:
{access, configure, [{allow, admin}]}.
%% Admins of this server are also admins of MUC service:
{access, muc_admin, [{allow, admin}]}.
%% All users are allowed to use MUC service:
{access, muc, [{allow, all}]}.
{access, muc_create, [{allow, local}]}.
%% In-band registration
{access, register, [{allow, all}]}.
%% Everybody can create pubsub nodes
{access, pubsub_createnode, [{allow, local}]}.
%%% ================
%%% DEFAULT LANGUAGE
%%
%% language: Default language used for server messages.
%%
{language, "en"}.
%%% =======
%%% CAPTCHA
%%
%% Full path to a script that generates the image.
%%
%%{captcha_cmd, "/opt/ejabberd-2.1.3/priv/bin/captcha.sh"}.
%%
%% Host part of the URL sent to the user.
%%
%%{captcha_host, "example.org:5280"}.
%%% =======
%%% MODULES
%%
%% Modules enabled in all ejabberd virtual hosts.
%%
{modules,
[
{mod_adhoc, []},
{mod_announce, [{access, announce}]}, % requires mod_adhoc
{mod_caps, []},
{mod_configure,[]}, % requires mod_adhoc
{mod_disco, []},
%%{mod_echo, [{host, "echo.localhost"}]},
{mod_http_bind,[]},
%%{mod_http_fileserver, [
%% {docroot, "/opt/ejabberd-2.1.3/www"},
%% {accesslog, "/opt/ejabberd-2.1.3/www/webaccess.log"},
%% {content_types, [{".htm", "text/html"}]},
%% {directory_indices, ["index.html", "index.htm"]}
%%]},
{mod_irc, []},
{mod_last, []},
{mod_muc, [
%%{host, "conference.@HOST@"},
{access, muc},
{access_create, muc_create},
{access_persistent, muc_create},
{access_admin, muc_admin}
]},
%%{mod_muc_log,[]},
{mod_offline, []},
{mod_privacy, []},
{mod_private, []},
%%{mod_proxy65,[]},
{mod_pubsub, [ % requires mod_caps
{access_createnode, pubsub_createnode},
{ignore_pep_from_offline, true},
{last_item_cache, false},
{plugins, ["flat", "hometree", "pep"]}
]},
{mod_register, [
%%
%% After successful registration, the user receives
%% a message with this subject and body.
%%
{welcome_message, {"Welcome!",
"Welcome to this Jabber server."}},
%%
%% When a user registers, send a notification to
%% these Jabber accounts.
%%
%%{registration_watchers, ["admin1@example.org"]},
{access, register}
]},
{mod_roster, []},
%%{mod_service_log,[]},
{mod_shared_roster,[]},
%%{mod_stats, []},
{mod_time, []},
{mod_vcard, []},
{mod_version, []}
]}.
%%% $Id: ejabberd.cfg.example 1073 2007-12-17 11:03:22Z badlop $
%%% Local Variables:
%%% mode: erlang
%%% End:
%%% vim: set filetype=erlang tabstop=8:

View File

@ -1,574 +0,0 @@
%%%
%%% ejabberd configuration file
%%%
%%%'
%%% The parameters used in this configuration file are explained in more detail
%%% in the ejabberd Installation and Operation Guide.
%%% Please consult the Guide in case of doubts, it is included with
%%% your copy of ejabberd, and is also available online at
%%% http://www.process-one.net/en/ejabberd/docs/
%%% This configuration file contains Erlang terms.
%%% In case you want to understand the syntax, here are the concepts:
%%%
%%% - The character to comment a line is %
%%%
%%% - Each term ends in a dot, for example:
%%% override_global.
%%%
%%% - A tuple has a fixed definition, its elements are
%%% enclosed in {}, and separated with commas:
%%% {loglevel, 4}.
%%%
%%% - A list can have as many elements as you want,
%%% and is enclosed in [], for example:
%%% [http_poll, web_admin, tls]
%%%
%%% - A keyword of ejabberd is a word in lowercase.
%%% Strings are enclosed in "" and can contain spaces, dots, ...
%%% {language, "en"}.
%%% {ldap_rootdn, "dc=example,dc=com"}.
%%%
%%% - This term includes a tuple, a keyword, a list, and two strings:
%%% {hosts, ["jabber.example.net", "im.example.com"]}.
%%%
%%%. =======================
%%%' OVERRIDE STORED OPTIONS
%%
%% Override the old values stored in the database.
%%
%%
%% Override global options (shared by all ejabberd nodes in a cluster).
%%
%%override_global.
%%
%% Override local options (specific for this particular ejabberd node).
%%
%%override_local.
%%
%% Remove the Access Control Lists before new ones are added.
%%
%%override_acls.
%%%. =========
%%%' DEBUGGING
%%
%% loglevel: Verbosity of log files generated by ejabberd.
%% 0: No ejabberd log at all (not recommended)
%% 1: Critical
%% 2: Error
%% 3: Warning
%% 4: Info
%% 5: Debug
%%
{loglevel, 4}.
%%
%% watchdog_admins: Only useful for developers: if an ejabberd process
%% consumes a lot of memory, send live notifications to these XMPP
%% accounts.
%%
%%{watchdog_admins, ["bob@example.com"]}.
%%%. ================
%%%' SERVED HOSTNAMES
%%
%% hosts: Domains served by ejabberd.
%% You can define one or several, for example:
%% {hosts, ["example.net", "example.com", "example.org"]}.
%%
{hosts, ["localhost"]}.
%%
%% route_subdomains: Delegate subdomains to other XMPP servers.
%% For example, if this ejabberd serves example.org and you want
%% to allow communication with an XMPP server called im.example.org.
%%
%%{route_subdomains, s2s}.
%%%. ===============
%%%' LISTENING PORTS
%%
%% listen: The ports ejabberd will listen on, which service each is handled
%% by and what options to start it with.
%%
{listen,
[
{5222, ejabberd_c2s, [
%%
%% If TLS is compiled in and you installed a SSL
%% certificate, specify the full path to the
%% file and uncomment this line:
%%
%%{certfile, "/etc/ssl/ejabberd/server.pem"}, starttls,
{access, c2s},
{shaper, c2s_shaper},
{max_stanza_size, 65536}
]},
%%
%% To enable the old SSL connection method on port 5223:
%%
%%{5223, ejabberd_c2s, [
%% {access, c2s},
%% {shaper, c2s_shaper},
%% {certfile, "/etc/ssl/ejabberd/server.pem"}, tls,
%% {max_stanza_size, 65536}
%% ]},
{5269, ejabberd_s2s_in, [
{shaper, s2s_shaper},
{max_stanza_size, 131072}
]},
%%
%% ejabberd_service: Interact with external components (transports, ...)
%%
%%{8888, ejabberd_service, [
%% {access, all},
%% {shaper_rule, fast},
%% {ip, {127, 0, 0, 1}},
%% {hosts, ["icq.example.org", "sms.example.org"],
%% [{password, "secret"}]
%% }
%% ]},
%%
%% ejabberd_stun: Handles STUN Binding requests
%%
%%{{3478, udp}, ejabberd_stun, []},
{5280, ejabberd_http, [
%%{request_handlers,
%% [
%% {["pub", "archive"], mod_http_fileserver}
%% ]},
captcha,
http_bind,
http_poll,
web_admin
]}
]}.
%%
%% s2s_use_starttls: Enable STARTTLS + Dialback for S2S connections.
%% Allowed values are: true or false.
%% You must specify a certificate file.
%%
%%{s2s_use_starttls, true}.
%%
%% s2s_certfile: Specify a certificate file.
%%
%%{s2s_certfile, "/etc/ssl/ejabberd/server.pem"}.
%%
%% domain_certfile: Specify a different certificate for each served hostname.
%%
%%{domain_certfile, "example.org", "/path/to/example_org.pem"}.
%%{domain_certfile, "example.com", "/path/to/example_com.pem"}.
%%
%% S2S whitelist or blacklist
%%
%% Default s2s policy for undefined hosts.
%%
%%{s2s_default_policy, allow}.
%%
%% Allow or deny communication with specific servers.
%%
%%{{s2s_host, "goodhost.org"}, allow}.
%%{{s2s_host, "badhost.org"}, deny}.
%%
%% Outgoing S2S options
%%
%% Preferred address families (which to try first) and connect timeout
%% in milliseconds.
%%
%%{outgoing_s2s_options, [ipv4, ipv6], 10000}.
%%%. ==============
%%%' AUTHENTICATION
%%
%% auth_method: Method used to authenticate the users.
%% The default method is the internal.
%% If you want to use a different method,
%% comment this line and enable the correct ones.
%%
%% {auth_method, internal}.
%%
%% Authentication using external script
%% Make sure the script is executable by ejabberd.
%%
%%{auth_method, external}.
%%{extauth_program, "/path/to/authentication/script"}.
%%
%% Authentication using ODBC
%% Remember to setup a database in the next section.
%%
%%{auth_method, odbc}.
%%
%% Authentication using PAM
%%
%%{auth_method, pam}.
%%{pam_service, "pamservicename"}.
%%
%% Authentication using LDAP
%%
{auth_method, ldap}.
%%
%% List of LDAP servers:
{ldap_servers, ["localhost.localdomain"]}.
%%
%% Encryption of connection to LDAP servers:
{ldap_encrypt, none}.
%%{ldap_encrypt, tls}.
%%
%% Port to connect to on LDAP servers:
{ldap_port, 389}.
%%{ldap_port, 636}.
%%
%% LDAP manager:
{ldap_rootdn, "cn=Directory Manager"}.
%%
%% Password of LDAP manager:
{ldap_password, "mcsmanager"}.
%%
%% Search base of LDAP directory:
{ldap_base, "dc=babel,dc=it"}.
%%
%% LDAP attribute that holds user ID:
{ldap_uids, [{"mail", "%u@%d"}]}.
%%
%% LDAP filter:
%%{ldap_filter, "(objectClass=shadowAccount)"}.
%%
%% Anonymous login support:
%% auth_method: anonymous
%% anonymous_protocol: sasl_anon | login_anon | both
%% allow_multiple_connections: true | false
%%
%%{host_config, "public.example.org", [{auth_method, anonymous},
%% {allow_multiple_connections, false},
%% {anonymous_protocol, sasl_anon}]}.
%%
%% To use both anonymous and internal authentication:
%%
%%{host_config, "public.example.org", [{auth_method, [internal, anonymous]}]}.
%%%. ==============
%%%' DATABASE SETUP
%% ejabberd by default uses the internal Mnesia database,
%% so you do not necessarily need this section.
%% This section provides configuration examples in case
%% you want to use other database backends.
%% Please consult the ejabberd Guide for details on database creation.
%%
%% MySQL server:
%%
%%{odbc_server, {mysql, "server", "database", "username", "password"}}.
%%
%% If you want to specify the port:
%%{odbc_server, {mysql, "server", 1234, "database", "username", "password"}}.
%%
%% PostgreSQL server:
%%
%%{odbc_server, {pgsql, "server", "database", "username", "password"}}.
%%
%% If you want to specify the port:
%%{odbc_server, {pgsql, "server", 1234, "database", "username", "password"}}.
%%
%% If you use PostgreSQL, have a large database, and need a
%% faster but inexact replacement for "select count(*) from users"
%%
%%{pgsql_users_number_estimate, true}.
%%
%% ODBC compatible or MSSQL server:
%%
%%{odbc_server, "DSN=ejabberd;UID=ejabberd;PWD=ejabberd"}.
%%
%% Number of connections to open to the database for each virtual host
%%
%%{odbc_pool_size, 10}.
%%
%% Interval to make a dummy SQL request to keep the connections to the
%% database alive. Specify in seconds: for example 28800 means 8 hours
%%
%%{odbc_keepalive_interval, undefined}.
%%%. ===============
%%%' TRAFFIC SHAPERS
%%
%% The "normal" shaper limits traffic speed to 1000 B/s
%%
{shaper, normal, {maxrate, 1000}}.
%%
%% The "fast" shaper limits traffic speed to 50000 B/s
%%
{shaper, fast, {maxrate, 50000}}.
%%
%% This option specifies the maximum number of elements in the queue
%% of the FSM. Refer to the documentation for details.
%%
{max_fsm_queue, 1000}.
%%%. ====================
%%%' ACCESS CONTROL LISTS
%%
%% The 'admin' ACL grants administrative privileges to XMPP accounts.
%% You can put here as many accounts as you want.
%%
%%{acl, admin, {user, "aleksey", "localhost"}}.
%%{acl, admin, {user, "ermine", "example.org"}}.
{acl, admin, {user, "admin", "example.com"}}.
{acl, admin, {user, "admin", "localhost.localdomain"}}.
%%
%% Blocked users
%%
%%{acl, blocked, {user, "baduser", "example.org"}}.
%%{acl, blocked, {user, "test"}}.
%%
%% Local users: don't modify this line.
%%
{acl, local, {user_regexp, ""}}.
%%
%% More examples of ACLs
%%
%%{acl, jabberorg, {server, "jabber.org"}}.
%%{acl, aleksey, {user, "aleksey", "jabber.ru"}}.
%%{acl, test, {user_regexp, "^test"}}.
%%{acl, test, {user_glob, "test*"}}.
%%
%% Define specific ACLs in a virtual host.
%%
%%{host_config, "localhost",
%% [
%% {acl, admin, {user, "bob-local", "localhost"}}
%% ]
%%}.
%%%. ============
%%%' ACCESS RULES
%% Maximum number of simultaneous sessions allowed for a single user:
{access, max_user_sessions, [{10, all}]}.
%% Maximum number of offline messages that users can have:
{access, max_user_offline_messages, [{5000, admin}, {100, all}]}.
%% This rule allows access only for local users:
{access, local, [{allow, local}]}.
%% Only non-blocked users can use c2s connections:
{access, c2s, [{deny, blocked},
{allow, all}]}.
%% For C2S connections, all users except admins use the "normal" shaper
{access, c2s_shaper, [{none, admin},
{normal, all}]}.
%% All S2S connections use the "fast" shaper
{access, s2s_shaper, [{fast, all}]}.
%% Only admins can send announcement messages:
{access, announce, [{allow, admin}]}.
%% Only admins can use the configuration interface:
{access, configure, [{allow, admin}]}.
%% Admins of this server are also admins of the MUC service:
{access, muc_admin, [{allow, admin}]}.
%% Only accounts of the local ejabberd server can create rooms:
{access, muc_create, [{allow, local}]}.
%% All users are allowed to use the MUC service:
{access, muc, [{allow, all}]}.
%% Only accounts on the local ejabberd server can create Pubsub nodes:
{access, pubsub_createnode, [{allow, local}]}.
%% In-band registration allows registration of any possible username.
%% To disable in-band registration, replace 'allow' with 'deny'.
{access, register, [{allow, all}]}.
%% By default the frequency of account registrations from the same IP
%% is limited to 1 account every 10 minutes. To disable, specify: infinity
%%{registration_timeout, 600}.
%%
%% Define specific Access Rules in a virtual host.
%%
%%{host_config, "localhost",
%% [
%% {access, c2s, [{allow, admin}, {deny, all}]},
%% {access, register, [{deny, all}]}
%% ]
%%}.
%%%. ================
%%%' DEFAULT LANGUAGE
%%
%% language: Default language used for server messages.
%%
{language, "en"}.
%%
%% Set a different default language in a virtual host.
%%
%%{host_config, "localhost",
%% [{language, "ru"}]
%%}.
%%%. =======
%%%' CAPTCHA
%%
%% Full path to a script that generates the image.
%%
%%{captcha_cmd, "/usr/lib64/erlang/lib/ejabberd-2.1.5/priv/bin/captcha.sh"}.
%%
%% Host part of the URL sent to the user.
%%
%%{captcha_host, "example.org:5280"}.
%%%. =======
%%%' MODULES
%%
%% Modules enabled in all ejabberd virtual hosts.
%%
{modules,
[
{mod_adhoc, []},
{mod_announce, [{access, announce}]}, % recommends mod_adhoc
{mod_caps, []},
{mod_configure,[]}, % requires mod_adhoc
{mod_disco, []},
%%{mod_echo, [{host, "echo.localhost"}]},
{mod_irc, []},
{mod_http_bind, []},
%%{mod_http_fileserver, [
%% {docroot, "/var/www"},
%% {accesslog, "/var/log/ejabberd/access.log"}
%% ]},
{mod_last, []},
{mod_muc, [
%%{host, "conference.@HOST@"},
{access, muc},
{access_create, muc_create},
{access_persistent, muc_create},
{access_admin, muc_admin}
]},
%%{mod_muc_log,[]},
{mod_offline, [{access_max_user_messages, max_user_offline_messages}]},
{mod_ping, []},
{mod_privacy, []},
{mod_private, []},
%%{mod_proxy65,[]},
{mod_pubsub, [
{access_createnode, pubsub_createnode},
{ignore_pep_from_offline, true}, % reduces resource comsumption, but XEP incompliant
%%{ignore_pep_from_offline, false}, % XEP compliant, but increases resource comsumption
{last_item_cache, false},
{plugins, ["flat", "hometree", "pep"]} % pep requires mod_caps
]},
{mod_register, [
%%
%% After successful registration, the user receives
%% a message with this subject and body.
%%
{welcome_message, {"Welcome!",
"Hi.\nWelcome to this XMPP server."}},
%%
%% When a user registers, send a notification to
%% these XMPP accounts.
%%
%%{registration_watchers, ["admin1@example.org"]},
{access, register}
]},
{mod_roster, []},
%%{mod_service_log,[]},
{mod_shared_roster,[]},
{mod_stats, []},
{mod_time, []},
{mod_vcard, []},
{mod_version, []}
]}.
%%
%% Enable modules with custom options in a specific virtual host
%%
%%{host_config, "localhost",
%% [{{add, modules},
%% [
%% {mod_echo, [{host, "mirror.localhost"}]}
%% ]
%% }
%% ]}.
%%%.
%%%'
%%% $Id$
%%% Local Variables:
%%% mode: erlang
%%% End:
%%% vim: set filetype=erlang tabstop=8 foldmarker=%%%',%%%. foldmethod=marker:

View File

@ -1,35 +0,0 @@
# Copyright 2004-2009 Sabayon Linux
# Distributed under the terms of the GNU General Public License v2
#
# Theme design and graphics by
# Ian Whyman <ian.whyman@sabayonlinux.org>
#
text_font=/etc/splash/babel/luxisri.ttf
bgcolor=0
tx=20
ty=20
tw=984
th=515
text_x=15
text_y=532
text_size=14
text_color=0xFFFFFF
pic=/etc/splash/babel/images/verbose-1024x600.jpg
silentpic=/etc/splash/babel/images/silent-1024x600.jpg
# progress bar
box silent noover 1 561 1023 565 #000000
box silent inter 1 561 1 564 #3671BF
box silent 1 561 1023 564 #3671BF
# border of the progress bar
box silent 1 560 1023 560 #595959
box silent 1 565 1023 565 #595959
box silent 1 560 1 565 #595959
box silent 799 560 1023 565 #595959

View File

@ -1,35 +0,0 @@
# Copyright 2004-2009 Sabayon Linux
# Distributed under the terms of the GNU General Public License v2
#
# Theme design and graphics by
# Ian Whyman <ian.whyman@sabayonlinux.org>
#
text_font=/etc/splash/babel/luxisri.ttf
bgcolor=0
tx=20
ty=20
tw=984
th=683
text_x=15
text_y=700
text_size=14
text_color=0xFFFFFF
pic=/etc/splash/babel/images/verbose-1024x768.jpg
silentpic=/etc/splash/babel/images/silent-1024x768.jpg
# progress bar
box silent noover 1 728 1023 733 #000000
box silent inter 1 729 1 732 #3671BF
box silent 1 729 1023 732 #3671BF
# border of the progress bar
box silent 1 728 1023 728 #595959
box silent 1 733 1023 733 #595959
box silent 1 728 1 733 #595959
box silent 1023 728 1023 733 #595959

View File

@ -1,38 +0,0 @@
# Copyright 2004-2009 Sabayon Linux
# Distributed under the terms of the GNU General Public License v2
#
# Theme design and graphics by
# Ian Whyman <ian.whyman@sabayonlinux.org>
#
text_font=/etc/splash/babel/luxisri.ttf
bgcolor=0
tx=20
ty=20
tw=1240
th=929
text_x=15
text_y=956
text_size=14
text_color=0xFFFFFF
pic=/etc/splash/babel/images/verbose-1280x1024.jpg
silentpic=/etc/splash/babel/images/silent-1280x1024.jpg
# progress bar
box silent noover 1 984 1279 989 #000000
box silent inter 1 985 1 988 #3671BF
box silent 1 985 1279 988 #3671BF
# border of the progress bar
box silent 1 984 1279 984 #595959
box silent 1 989 1279 989 #595959
box silent 1 984 1 989 #595959
box silent 1279 984 1279 989 #595959

View File

@ -1,35 +0,0 @@
# Copyright 2004-2009 Sabayon Linux
# Distributed under the terms of the GNU General Public License v2
#
# Theme design and graphics by
# Ian Whyman <ian.whyman@sabayonlinux.org>
#
text_font=/etc/splash/babel/luxisri.ttf
bgcolor=0
tx=20
ty=20
tw=1240
th=700
text_x=15
text_y=732
text_size=14
text_color=0xFFFFFF
pic=/etc/splash/babel/images/verbose-1280x800.jpg
silentpic=/etc/splash/babel/images/silent-1280x800.jpg
# progress bar
box silent noover 1 760 1279 765 #000000
box silent inter 1 761 1 764 #3671BF
box silent 1 761 1279 764 #3671BF
# border of the progress bar
box silent 1 760 1279 760 #595959
box silent 1 765 1279 765 #595959
box silent 1 760 1 765 #595959
box silent 1279 760 1279 765 #595959

View File

@ -1,36 +0,0 @@
# Copyright 2004-2009 Sabayon Linux
# Distributed under the terms of the GNU General Public License v2
#
# Theme design and graphics by
# Ian Whyman <ian.whyman@sabayonlinux.org>
#
text_font=/etc/splash/babel/luxisri.ttf
bgcolor=0
tx=20
ty=20
tw=1360
th=950
text_x=15
text_y=982
text_size=14
text_color=0xFFFFFF
pic=/etc/splash/babel/images/verbose-1400x1050.jpg
silentpic=/etc/splash/babel/images/silent-1400x1050.jpg
# progress bar
box silent noover 1 1010 1399 1015 #000000
box silent inter 1 1011 1 1014 #3671BF
box silent 1 1011 1399 1014 #3671BF
# border of the progress bar
box silent 1 1010 1399 1010 #595959
box silent 1 1015 1399 1015 #595959
box silent 1 1010 1 1015 #595959
box silent 1399 1010 1399 1015 #595959

View File

@ -1,36 +0,0 @@
# Copyright 2004-2009 Sabayon Linux
# Distributed under the terms of the GNU General Public License v2
#
# Theme design and graphics by
# Ian Whyman <ian.whyman@sabayonlinux.org>
#
text_font=/etc/splash/babel/luxisri.ttf
bgcolor=0
tx=20
ty=20
tw=1400
th=800
text_x=15
text_y=832
text_size=14
text_color=0xFFFFFF
pic=/etc/splash/babel/images/verbose-1440x900.jpg
silentpic=/etc/splash/babel/images/silent-1440x900.jpg
# progress bar
box silent noover 1 860 1439 865 #000000
box silent inter 1 861 1 864 #3671BF
box silent 1 861 1439 864 #3671BF
# border of the progress bar
box silent 1 860 1439 860 #595959
box silent 1 865 1439 865 #595959
box silent 1 860 1 865 #595959
box silent 1439 860 1439 865 #595959

View File

@ -1,36 +0,0 @@
# Copyright 2004-2009 Sabayon Linux
# Distributed under the terms of the GNU General Public License v2
#
# Theme design and graphics by
# Ian Whyman <ian.whyman@sabayonlinux.org>
#
text_font=/etc/splash/babel/luxisri.ttf
bgcolor=0
tx=20
ty=20
tw=1560
th=1115
text_x=15
text_y=1132
text_size=14
text_color=0xFFFFFF
pic=/etc/splash/babel/images/verbose-1600x1200.jpg
silentpic=/etc/splash/babel/images/silent-1600x1200.jpg
# progress bar
box silent noover 1 1160 1599 1165 #000000
box silent inter 1 1161 1 1164 #3671BF
box silent 1 1161 1599 1164 #3671BF
# border of the progress bar
box silent 1 1160 1599 1160 #595959
box silent 1 1165 1599 1165 #595959
box silent 1 1160 1 1165 #595959
box silent 1599 1160 1599 1165 #595959

View File

@ -1,36 +0,0 @@
# Copyright 2004-2009 Sabayon Linux
# Distributed under the terms of the GNU General Public License v2
#
# Theme design and graphics by
# Ian Whyman <ian.whyman@sabayonlinux.org>
#
text_font=/etc/splash/babel/luxisri.ttf
bgcolor=0
tx=20
ty=20
tw=1640
th=965
text_x=15
text_y=982
text_size=14
text_color=0xFFFFFF
pic=/etc/splash/babel/images/verbose-1680x1050.jpg
silentpic=/etc/splash/babel/images/silent-1680x1050.jpg
# progress bar
box silent noover 1 1010 1679 1015 #000000
box silent inter 1 1011 1 1014 #3671BF
box silent 1 1011 1679 1014 #3671BF
# border of the progress bar
box silent 1 1010 1679 1010 #595959
box silent 1 1015 1679 1015 #595959
box silent 1 1010 1 1015 #595959
box silent 1679 1010 1679 1015 #595959

View File

@ -1,36 +0,0 @@
# Copyright 2004-2009 Sabayon Linux
# Distributed under the terms of the GNU General Public License v2
#
# Theme design and graphics by
# Ian Whyman <ian.whyman@sabayonlinux.org>
#
text_font=/etc/splash/babel/luxisri.ttf
bgcolor=0
tx=20
ty=20
tw=1560
th=1115
text_x=15
text_y=1132
text_size=14
text_color=0xFFFFFF
pic=/etc/splash/babel/images/verbose-1920x1200.jpg
silentpic=/etc/splash/babel/images/silent-1920x1200.jpg
# progress bar
box silent noover 1 1160 1919 1165 #000000
box silent inter 1 1161 1 1164 #3671BF
box silent 1 1161 1919 1164 #3671BF
# border of the progress bar
box silent 1 1160 1599 1160 #595959
box silent 1 1165 1919 1165 #595959
box silent 1 1160 1 1165 #595959
box silent 1599 1160 1919 1165 #595959

View File

@ -1,35 +0,0 @@
# Copyright 2004-2009 Sabayon Linux
# Distributed under the terms of the GNU General Public License v2
#
# Theme design and graphics by
# Ian Whyman <ian.whyman@sabayonlinux.org>
#
text_font=/etc/splash/babel/luxisri.ttf
bgcolor=0
tx=20
ty=20
tw=760
th=515
text_x=15
text_y=532
text_size=14
text_color=0xFFFFFF
pic=/etc/splash/babel/images/verbose-800x600.jpg
silentpic=/etc/splash/babel/images/silent-800x600.jpg
# progress bar
box silent noover 1 560 799 565 #000000
box silent inter 1 561 1 564 #3671BF
box silent 1 561 799 564 #3671BF
# border of the progress bar
box silent 1 560 799 560 #595959
box silent 1 565 799 565 #595959
box silent 1 560 1 565 #595959
box silent 799 560 799 565 #595959

View File

@ -1,10 +0,0 @@
Sabayon FBSplash
Author: Ian Whyman (http://v00d00.net)
Homepage: http://www.sabayonlinux.org
Email: ian.whyman@sabayonlinux.org
Based on Natural_Gentoo
Author: jirityr (http://kde-look.org/usermanager/search.php?username=jirityr)
KDELook: http://kde-look.org/content/show.php/Natural+Gentoo?content=49074

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

View File

@ -1,323 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!-- ===================================================================== -->
<!-- -->
<!-- Log4j Configuration -->
<!-- -->
<!-- ===================================================================== -->
<!-- $Id: jboss-log4j.xml 75507 2008-07-08 20:15:07Z stan.silvert@jboss.com $ -->
<!--
| For more configuration infromation and examples see the Jakarta Log4j
| owebsite: http://jakarta.apache.org/log4j
-->
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true">
<!-- ================================= -->
<!-- Preserve messages in a local file -->
<!-- ================================= -->
<!-- A time/date based rolling appender -->
<appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="File" value="${jboss.server.log.dir}/server.log"/>
<param name="Append" value="false"/>
<!-- Rollover at midnight each day -->
<param name="DatePattern" value="'.'yyyy-MM-dd"/>
<!-- Rollover at the top of each hour
<param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
-->
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
<!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
<param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
-->
</layout>
</appender>
<!-- A size based file rolling appender
<appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="File" value="${jboss.server.log.dir}/server.log"/>
<param name="Append" value="false"/>
<param name="MaxFileSize" value="500KB"/>
<param name="MaxBackupIndex" value="1"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
</layout>
</appender>
-->
<!-- ============================== -->
<!-- Append messages to the console -->
<!-- ============================== -->
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Target" value="System.out"/>
<param name="Threshold" value="TRACE"/>
<layout class="org.apache.log4j.PatternLayout">
<!-- The default pattern: Date Priority [Category] Message\n -->
<param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</layout>
</appender>
<!-- ====================== -->
<!-- More Appender examples -->
<!-- ====================== -->
<!-- Buffer events and log them asynchronously
<appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<appender-ref ref="FILE"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="SMTP"/>
</appender>
-->
<!-- EMail events to an administrator
<appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Threshold" value="ERROR"/>
<param name="To" value="admin@myhost.domain.com"/>
<param name="From" value="nobody@myhost.domain.com"/>
<param name="Subject" value="JBoss Sever Errors"/>
<param name="SMTPHost" value="localhost"/>
<param name="BufferSize" value="10"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
</layout>
</appender>
-->
<!-- Syslog events
<appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Facility" value="LOCAL7"/>
<param name="FacilityPrinting" value="true"/>
<param name="SyslogHost" value="localhost"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
</layout>
</appender>
-->
<!-- Log events to JMS (requires a topic to be created)
<appender name="JMS" class="org.apache.log4j.net.JMSAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Threshold" value="ERROR"/>
<param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
<param name="TopicBindingName" value="topic/MyErrorsTopic"/>
</appender>
-->
<!-- Log events through SNMP
<appender name="TRAP_LOG" class="org.apache.log4j.ext.SNMPTrapAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="ImplementationClassName" value="org.apache.log4j.ext.JoeSNMPTrapSender"/>
<param name="ManagementHost" value="127.0.0.1"/>
<param name="ManagementHostTrapListenPort" value="162"/>
<param name="EnterpriseOID" value="1.3.6.1.4.1.24.0"/>
<param name="LocalIPAddress" value="127.0.0.1"/>
<param name="LocalTrapSendPort" value="161"/>
<param name="GenericTrapType" value="6"/>
<param name="SpecificTrapType" value="12345678"/>
<param name="CommunityString" value="public"/>
<param name="ForwardStackTraceWithTrap" value="true"/>
<param name="Threshold" value="DEBUG"/>
<param name="ApplicationTrapOID" value="1.3.6.1.4.1.24.12.10.22.64"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d,%p,[%t],[%c],%m%n"/>
</layout>
</appender>
-->
<!-- Emit events as JMX notifications
<appender name="JMX" class="org.jboss.monitor.services.JMXNotificationAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="Threshold" value="WARN"/>
<param name="ObjectName" value="jboss.system:service=Logging,type=JMXNotificationAppender"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m"/>
</layout>
</appender>
-->
<!-- ================ -->
<!-- Limit categories -->
<!-- ================ -->
<!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
<category name="org.apache">
<priority value="INFO"/>
</category>
<!--category name="it.babel">
<priority value="TRACE"/>
</category>
-->
<category name="org.bedework">
<priority value="INFO"/>
</category>
<!-- Limit the jacorb category to WARN as its INFO is verbose -->
<category name="jacorb">
<priority value="WARN"/>
</category>
<!-- Limit the org.jgroups category to WARN as its INFO is verbose -->
<category name="org.jgroups">
<priority value="WARN"/>
</category>
<!-- Limit the org.quartz category to INFO as its DEBUG is verbose -->
<category name="org.quartz">
<priority value="INFO"/>
</category>
<!-- Limit JSF logging to DEBUG. FINER and FINEST will not be logged -->
<category name="javax.enterprise.resource.webcontainer.jsf">
<priority value="DEBUG" />
</category>
<!-- Limit JBoss categories -->
<category name="org.jboss">
<priority value="DEBUG"/>
</category>
<category name="org.hibernate">
<priority value="INFO"/>
</category>
<category name="com.arjuna">
<priority value="INFO"/>
</category>
<category name="net.fortuna">
<priority value="WARN"/>
</category>
<!-- Limit the JSR77 categories -->
<category name="org.jboss.management">
<priority value="INFO"/>
</category>
<!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]
<category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
<priority value="TRACE"/>
</category>
-->
<!-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose -->
<category name="org.jboss.serial">
<priority value="INFO"/>
</category>
<!-- Decrease the priority threshold for the org.jboss.varia category
<category name="org.jboss.varia">
<priority value="DEBUG"/>
</category>
-->
<!-- Enable JBossWS message tracing
<category name="org.jboss.ws.core.MessageTrace">
<priority value="TRACE"/>
</category>
-->
<!--
| An example of enabling the custom TRACE level priority that is used
| by the JBoss internals to diagnose low level details. This example
| turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
| subpackages. This will produce A LOT of logging output.
|
| Note: since jboss AS 4.2.x, the trace level is supported natively by
| log4j, so although the custom org.jboss.logging.XLevel priority will
| still work, there is no need to use it. The two examples that follow
| will both enable trace logging.
<category name="org.jboss.system">
<priority value="TRACE" class="org.jboss.logging.XLevel"/>
</category>
<category name="org.jboss.ejb.plugins">
<priority value="TRACE"/>
</category>
-->
<!--
| Logs these events to SNMP:
- server starts/stops
- cluster evolution (node death/startup)
- When an EJB archive is deployed (and associated verified messages)
- When an EAR archive is deployed
<category name="org.jboss.system.server.Server">
<priority value="INFO" />
<appender-ref ref="TRAP_LOG"/>
</category>
<category name="org.jboss.ha.framework.interfaces.HAPartition.lifecycle">
<priority value="INFO" />
<appender-ref ref="TRAP_LOG"/>
</category>
<category name="org.jboss.deployment.MainDeployer">
<priority value="ERROR" />
<appender-ref ref="TRAP_LOG"/>
</category>
<category name="org.jboss.ejb.EJBDeployer">
<priority value="INFO" />
<appender-ref ref="TRAP_LOG"/>
</category>
<category name="org.jboss.deployment.EARDeployer">
<priority value="INFO" />
<appender-ref ref="TRAP_LOG"/>
</category>
-->
<!-- Clustering logging -->
<!-- Uncomment the following to redirect the org.jgroups and
org.jboss.ha categories to a cluster.log file.
<appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppender">
<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
<param name="File" value="${jboss.server.log.dir}/cluster.log"/>
<param name="Append" value="false"/>
<param name="MaxFileSize" value="500KB"/>
<param name="MaxBackupIndex" value="1"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
</layout>
</appender>
<category name="org.jgroups">
<priority value="DEBUG" />
<appender-ref ref="CLUSTER"/>
</category>
<category name="org.jboss.ha">
<priority value="DEBUG" />
<appender-ref ref="CLUSTER"/>
</category>
-->
<!-- ======================= -->
<!-- Setup the Root category -->
<!-- ======================= -->
<root>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>
</log4j:configuration>

View File

@ -1,258 +0,0 @@
<?xml version='1.0'?>
<!DOCTYPE policy PUBLIC
"-//JBoss//DTD JBOSS Security Config 3.0//EN"
"http://www.jboss.org/j2ee/dtd/security_config.dtd">
<!-- The XML based JAAS login configuration read by the
org.jboss.security.auth.login.XMLLoginConfig mbean. Add
an application-policy element for each security domain.
The outline of the application-policy is:
<application-policy name="security-domain-name">
<authentication>
<login-module code="login.module1.class.name" flag="control_flag">
<module-option name = "option1-name">option1-value</module-option>
<module-option name = "option2-name">option2-value</module-option>
...
</login-module>
<login-module code="login.module2.class.name" flag="control_flag">
...
</login-module>
...
</authentication>
</application-policy>
$Revision: 64598 $
-->
<policy>
<!-- Used by clients within the application server VM such as
mbeans and servlets that access EJBs.
-->
<application-policy name = "client-login">
<authentication>
<login-module code = "org.jboss.security.ClientLoginModule"
flag = "required">
<!-- Any existing security context will be restored on logout -->
<module-option name="restore-login-identity">true</module-option>
</login-module>
</authentication>
</application-policy>
<!-- Security domain for JBossMQ -->
<application-policy name = "jbossmq">
<authentication>
<login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
flag = "required">
<module-option name = "unauthenticatedIdentity">guest</module-option>
<module-option name = "dsJndiName">java:/DefaultDS</module-option>
<module-option name = "principalsQuery">SELECT PASSWD FROM JMS_USERS WHERE USERID=?</module-option>
<module-option name = "rolesQuery">SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=?</module-option>
</login-module>
</authentication>
</application-policy>
<!-- Security domain for JBossMQ when using file-state-service.xml
<application-policy name = "jbossmq">
<authentication>
<login-module code = "org.jboss.mq.sm.file.DynamicLoginModule"
flag = "required">
<module-option name = "unauthenticatedIdentity">guest</module-option>
<module-option name = "sm.objectname">jboss.mq:service=StateManager</module-option>
</login-module>
</authentication>
</application-policy>
-->
<!-- Security domains for testing new jca framework -->
<application-policy name = "HsqlDbRealm">
<authentication>
<login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
flag = "required">
<module-option name = "principal">sa</module-option>
<module-option name = "userName">sa</module-option>
<module-option name = "password"></module-option>
<module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
</login-module>
</authentication>
</application-policy>
<application-policy name = "JmsXARealm">
<authentication>
<login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule"
flag = "required">
<module-option name = "principal">guest</module-option>
<module-option name = "userName">guest</module-option>
<module-option name = "password">guest</module-option>
<module-option name = "managedConnectionFactoryName">jboss.jca:service=TxCM,name=JmsXA</module-option>
</login-module>
</authentication>
</application-policy>
<!-- A template configuration for the jmx-console web application. This
defaults to the UsersRolesLoginModule the same as other and should be
changed to a stronger authentication mechanism as required.
-->
<application-policy name = "jmx-console">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag = "required">
<module-option name="usersProperties">props/jmx-console-users.properties</module-option>
<module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
</login-module>
</authentication>
</application-policy>
<!-- A template configuration for the web-console web application. This
defaults to the UsersRolesLoginModule the same as other and should be
changed to a stronger authentication mechanism as required.
-->
<application-policy name = "web-console">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag = "required">
<module-option name="usersProperties">web-console-users.properties</module-option>
<module-option name="rolesProperties">web-console-roles.properties</module-option>
</login-module>
</authentication>
</application-policy>
<!--
A template configuration for the JBossWS security domain.
This defaults to the UsersRolesLoginModule the same as other and should be
changed to a stronger authentication mechanism as required.
-->
<application-policy name="JBossWS">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag="required">
<module-option name="usersProperties">props/jbossws-users.properties</module-option>
<module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
<module-option name="unauthenticatedIdentity">anonymous</module-option>
</login-module>
</authentication>
</application-policy>
<!-- The default login configuration used by any security domain that
does not have a application-policy entry with a matching name
-->
<application-policy name = "other">
<!-- A simple server login module, which can be used when the number
of users is relatively small. It uses two properties files:
users.properties, which holds users (key) and their password (value).
roles.properties, which holds users (key) and a comma-separated list of
their roles (value).
The unauthenticatedIdentity property defines the name of the principal
that will be used when a null username and password are presented as is
the case for an unuathenticated web client or MDB. If you want to
allow such users to be authenticated add the property, e.g.,
unauthenticatedIdentity="nobody"
-->
<authentication>
<login-module code = "org.jboss.security.auth.spi.UsersRolesLoginModule"
flag = "required" />
</authentication>
</application-policy>
<application-policy name="ucaldav-security-domain">
<authentication>
<login-module code="it.babel.security.auth.spi.LdapLoginModule" flag="required" >
<module-option name="java.naming.provider.url">ldap://localhost:389/dc=babel,dc=it</module-option>
<module-option name="it.babel.security.ldap.basedn">dc=babel,dc=it</module-option>
<module-option name="java.naming.security.principal"></module-option>
<module-option name="java.naming.security.credentials"></module-option>
<module-option name="it.babel.security.ldap.sa.role.cn">cn=sa role</module-option>
<module-option name="it.babel.security.ldap.ca.role.cn">cn=admin role</module-option>
<module-option name="it.babel.security.ldap.checkpasswordexpiration">true</module-option>
<module-option name="it.babel.security.ldap.passwordexpirationattribute">passwordExpirationTime</module-option>
</login-module>
</authentication>
</application-policy>
<application-policy name="caladmin-security-domain">
<authentication>
<login-module code="org.jboss.security.auth.spi.LdapLoginModule"
flag="required">
<module-option name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</module-option>
<module-option name="java.naming.provider.url">ldap://localhost:389/</module-option>
<module-option name="java.naming.security.authentication">simple</module-option>
<module-option name="principalDNPrefix">uid=</module-option>
<module-option name="principalDNSuffix">,ou=People,dc=babel,dc=it</module-option>
<module-option name="rolesCtxDN">ou=Groups,dc=babel,dc=it</module-option>
<module-option name="uidAttributeID">uniqueMember</module-option>
<module-option name="matchOnUserDN">true</module-option>
<module-option name="roleAttributeID">cn</module-option>
<module-option name="roleAttributeIsDN">false</module-option>
</login-module>
</authentication>
</application-policy>
<application-policy name="mcs-security-domain">
<authentication>
<login-module code="it.babel.security.auth.spi.IMAPLoginModule" flag="required">
<module-option name="mail.store.protocol">imap</module-option>
<module-option name="mail.imap.host">localhost</module-option>
<module-option name="mail.imap.port">143</module-option>
<module-option name="jaasimap.imap.useproxyauth">false</module-option>
<module-option name="jaasimap.imap.adminuser"></module-option>
<module-option name="jaasimap.imap.adminpassword"></module-option>
<module-option name="mail.imap.secure">false</module-option>
</login-module>
<login-module code="it.babel.security.auth.spi.LdapLoginModule" flag="required" >
<module-option name="java.naming.provider.url">ldap://localhost:389/dc=babel,dc=it</module-option>
<module-option name="it.babel.security.ldap.basedn">dc=babel,dc=it</module-option>
<module-option name="java.naming.security.principal"></module-option>
<module-option name="java.naming.security.credentials"></module-option>
<module-option name="it.babel.security.ldap.sa.role.cn">cn=sa role</module-option>
<module-option name="it.babel.security.ldap.ca.role.cn">cn=admin role</module-option>
<module-option name="it.babel.security.ldap.checkpasswordexpiration">true</module-option>
<module-option name="it.babel.security.ldap.passwordexpirationattribute">passwordExpirationTime</module-option>
<module-option name="com.sun.jndi.ldap.connect.pool.prefsize">10</module-option>
<module-option name="com.sun.jndi.ldap.connect.pool.maxsize">20</module-option>
<module-option name="com.sun.jndi.ldap.connect.pool.timeout">300000</module-option>
</login-module>
</authentication>
</application-policy>
<!--WebMail 4.3 -->
<!--MailwareWebmail -->
<application-policy name="JaasImap">
<authentication>
<login-module code="it.babel.jaasimap.module.IMAPLoginModule" flag="required">
<module-option name="mail.store.protocol">imap</module-option>
<module-option name="mail.imap.host">localhost</module-option>
<!--DOVECOT <module-option name="mail.imap.port">10143</module-option>-->
<module-option name="mail.imap.port">143</module-option>
<module-option name="jaasimap.imap.useproxyauth">false</module-option>
<module-option name="jaasimap.imap.adminuser"></module-option>
<module-option name="jaasimap.imap.adminpassword"></module-option>
<module-option name="mail.imap.secure">true</module-option>
<module-option name="mail.imap.socketFactory.class">javax.net.ssl.SSLSocketFactory</module-option>
<module-option name="mail.imap.socketFactory.fallback">false</module-option>
<module-option name="mail.imap.socketFactory.port">993</module-option>
</login-module>
</authentication>
</application-policy>
<!-- -->
<!--PV MailWare-Manager -->
<application-policy name="mcs-manager-security-domain">
<authentication>
<login-module code="it.babel.security.auth.spi.LdapLoginModule" flag="required" >
<module-option name="java.naming.provider.url">ldap://localhost:389/dc=babel,dc=it</module-option>
<module-option name="it.babel.security.ldap.basedn">dc=babel,dc=it</module-option>
<module-option name="java.naming.security.principal"></module-option>
<module-option name="java.naming.security.credentials"></module-option>
<module-option name="it.babel.security.ldap.sa.role.cn">cn=sa role</module-option>
<module-option name="it.babel.security.ldap.ca.role.cn">cn=admin role</module-option>
<module-option name="it.babel.security.ldap.checkpasswordexpiration">true</module-option>
<module-option name="it.babel.security.ldap.passwordexpirationattribute">passwordExpirationTime</module-option>
</login-module>
</authentication>
</application-policy>
</policy>

View File

@ -1,10 +0,0 @@
# ldap.properties
#SECURITY_AUTHENTICATION=simple
#HOST=mailware1
HOST=localhost
PORT=389
ROOTDN=dc=babel\,dc=it
PROTOCOL=ldap://

View File

@ -1,28 +0,0 @@
#abilita l'invio del messaggio di benvenuto
#valori true/false
send_welcome_enabled=true
#Numero massimo di tentativi di invio
maxSendRetryNumber=3
#millisecondi di attesa prima di ogni tentativo di invio mail
welcomeSleepWait=1000
mail.smtp.host=localhost
mail.smtp.port=25
mail.transport.protocol=smtp
#mail.smtp.host=mailware1.babel.it
#mail.smtp.port=465
#mail.transport.protocol=smtps
mail.smtp.auth=false
mail.smtp.starttls.enable=false
mail.smtp.secure=false
mail.smtp.username=postmaster@demo1.net
mail.smtp.password=password
sender=MAILER-DAEMON@${domain}
subject=Benvenuto in ${domain} !
body=Questo messaggio viene generato automaticamente alla creazione della mailbox. Non rispondere all'indirizzo mittente.

View File

@ -1,49 +0,0 @@
#versione dell'applicazione
application_version=development version
#RAMO DEGLI SA
SA_TREE=ou=Service Administrators
##BULK LOAD
#formato delle righe usato nell'inserimento massivo
row_format="uid","givenname","sn","mailalternateaddress","district"
##FINE BULK LOAD
#numero massimo di risultati nelle liste (da pagine web)
list_max_results=200
#quota minima in MB
min_quota=10
#indica se la quota delle mailbox ha il formato maildrop (con il $ finale)
#valori possibili true/false
maildrop_quota=true
#TOMCAT
#datasource=java:/comp/env/jdbc/MailWare-Collaboration
#reportSmsDataSource=java:/comp/env/jdbc/MailWare-reportSmsDatasource
#reportFaxDataSource=java:/comp/env/jdbc/MailWare-reportFaxDatasource
#JBOSS
datasource=java:MailWare-Collaboration
reportSmsDataSource=java:MailWare-reportSmsDatasource
reportFaxDataSource=java:MailWare-reportFaxDatasource
cal_uri_suffix=calendar/
#template per il campo psroot
#psroot_template=${ldapuri}/piPStoreOwner=${uid},o=${domain},o=${ldapDB}
#dal 15/07
psroot_template=${ldapuri}/ou=${uid}@${domain},dc=${domain},o=${ldapDB}
#indica se l'applicazione è installata sul proxy
is_proxy=true
#dis/abilita il ckeck sull'esistenza di un dominio con lo stesso nome, in fase di creazione domini.
#valori possibili:
#no_check nessun controllo
#node_check il controllo viene fatto solo sull'isola
#proxy_check il controllo viene fatto su tutte le isole (ha senso solo se l'applicazione si trova sul proxy)
domain_check_type=proxy_check
#è il link alla webapp di reset password
reset_link=/ResetPassword/ResetServlet

View File

@ -1,59 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
<bean id="balanceService" class="it.babel.manager.services.AddressBookBalanceService">
<property name="balanceGroups">
<map>
<entry key="node1">
<bean class="it.babel.manager.model.BalanceGroup">
<property name="balanceItems" >
<list>
<bean class="it.babel.manager.model.AddressBookBalanceItem">
<property name="ldapUri" value="ldap://localhost:389" />
<property name="ldapDatabase" value="db1"></property>
</bean>
<!--bean class="it.babel.manager.model.AddressBookBalanceItem">
<property name="ldapUri" value="ldap://localhost:389" />
<property name="ldapDatabase" value="db2"></property>
</bean-->
</list>
</property>
</bean>
</entry>
<!-- ALTRA ENTRY PER ALTRA ISOLA -->
<!--
<entry key="node2">
<bean class="it.babel.manager.model.BalanceGroup">
<property name="balanceItems" >
<list>
<bean class="it.babel.manager.model.AddressBookBalanceItem">
<property name="ldapUri" value="ldap://localhost:389" />
<property name="ldapDatabase" value="db1"></property>
</bean>
<bean class="it.babel.manager.model.AddressBookBalanceItem">
<property name="ldapUri" value="ldap://localhost:389" />
<property name="ldapDatabase" value="db2"></property>
</bean>
</list>
</property>
</bean>
</entry>
-->
</map>
</property>
</bean>
</beans>

View File

@ -1,477 +0,0 @@
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<axisconfig name="AxisJava2.0">
<!-- ================================================= -->
<!-- Parameters -->
<!-- ================================================= -->
<parameter name="hotdeployment">true</parameter>
<parameter name="hotupdate">false</parameter>
<parameter name="enableMTOM">false</parameter>
<parameter name="enableSwA">false</parameter>
<!--Uncomment if you want to enable file caching for attachments -->
<!--parameter name="cacheAttachments">true</parameter>
<parameter name="attachmentDIR"></parameter>
<parameter name="sizeThreshold">4000</parameter-->
<!--Uncomment if you want to plugin your own attachments lifecycle implementation -->
<!--<attachmentsLifecycleManager class="org.apache.axiom.attachments.lifecycle.impl.LifecycleManagerImpl"/>-->
<!--Uncomment if you want to enable the reduction of the in-memory cache of WSDL definitions -->
<!--In some server environments, the available memory heap is limited and can fill up under load -->
<!--Since in-memory copies of WSDL definitions can be large, some steps can be taken-->
<!--to reduce the memory needed for the cached WSDL definitions. -->
<!--parameter name="reduceWSDLMemoryCache">true</parameter-->
<!--This will give out the timout of the configuration contexts, in milliseconds-->
<parameter name="ConfigContextTimeoutInterval">30000</parameter>
<!--During a fault, stack trace can be sent with the fault message. The following flag will control -->
<!--that behavior.-->
<parameter name="sendStacktraceDetailsWithFaults">false</parameter>
<!--If there aren't any information available to find out the fault reason, we set the message of the exception-->
<!--as the faultreason/Reason. But when a fault is thrown from a service or some where, it will be -->
<!--wrapped by different levels. Due to this the initial exception message can be lost. If this flag-->
<!--is set, then Axis2 tries to get the first exception and set its message as the faultreason/Reason.-->
<parameter name="DrillDownToRootCauseForFaultReason">false</parameter>
<parameter name="userName">admin</parameter>
<parameter name="password">axis2</parameter>
<!--To override repository/services you need to uncomment following parameter and value SHOULD be absolute file path.-->
<!--ServicesDirectory only works on the following cases-->
<!---File based configurator and in that case the value should be a file URL (http:// not allowed)-->
<!---When creating URL Based configurator with URL file:// -->
<!--- War based configurator with expanded case , -->
<!--All the other scenarios it will be ignored.-->
<!--<parameter name="ServicesDirectory">service</parameter>-->
<!--To override repository/modules you need to uncomment following parameter and value SHOULD be absolute file path-->
<!--<parameter name="ModulesDirectory">modules</parameter>-->
<!--Following params will set the proper context paths for invocations. All the endpoints will have a commons context-->
<!--root which can configured using the following contextRoot parameter-->
<!--<parameter name="contextRoot">axis2</parameter>-->
<!--Our HTTP endpoints can handle both REST and SOAP. Following parameters can be used to distinguiush those endpoints-->
<!--In case of a servlet, if you change this you have to manually change the settings of your servlet container to map this -->
<!--context path to proper Axis2 servlets-->
<!--<parameter name="servicePath">services</parameter>-->
<!--<parameter name="restPath">rest</parameter>-->
<!-- Following parameter will completely disable REST handling in Axis2-->
<parameter name="disableREST" locked="false">false</parameter>
<!-- Following parameter will suppress generation of SOAP 1.2 bindings in auto-generated WSDL files -->
<parameter name="disableSOAP12" locked="true">false</parameter>
<!--POJO deployer , this will alow users to drop .class file and make that into a service-->
<deployer extension=".class" directory="pojo" class="org.apache.axis2.deployment.POJODeployer"/>
<deployer extension=".jar" directory="servicejars" class="org.apache.axis2.jaxws.framework.JAXWSDeployer"/>
<!--<deployer extension=".jsa" directory="rmiservices" class="org.apache.axis2.rmi.deploy.RMIServiceDeployer"/>-->
<!-- Following parameter will set the host name for the epr-->
<!--<parameter name="hostname" locked="true">myhost.com</parameter>-->
<parameter name="hostname" locked="true">localhost</parameter>
<!-- If you have a front end host which exposes this webservice using a different public URL -->
<!-- use this parameter to override autodetected url -->
<parameter name="httpFrontendHostUrl">http://localhost:8080/MailWare-Manager/services/UserWebService</parameter>
<!-- The way of adding listener to the system-->
<!-- <listener class="org.apache.axis2.ObserverIMPL">-->
<!-- <parameter name="RSS_URL">http://127.0.0.1/rss</parameter>-->
<!-- </listener>-->
<threadContextMigrators>
<threadContextMigrator listId="JAXWS-ThreadContextMigrator-List" class="org.apache.axis2.jaxws.addressing.migrator.EndpointContextMapMigrator"/>
</threadContextMigrators>
<!-- ================================================= -->
<!-- Message Receivers -->
<!-- ================================================= -->
<!--This is the deafult MessageReceiver for the system , if you want to have MessageReceivers for -->
<!--all the other MEP implement it and add the correct entry to here , so that you can refer from-->
<!--any operation -->
<!--Note : You can ovrride this for a particular service by adding the same element with your requirement-->
<messageReceivers>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
<messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-only"
class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
<messageReceiver mep="http://www.w3.org/2006/01/wsdl/in-out"
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
</messageReceivers>
<!-- ================================================= -->
<!-- Message Formatter -->
<!-- ================================================= -->
<!--Following content type to message formatter mapping can be used to implement support for different message -->
<!--format serialization in Axis2. These message formats are expected to be resolved based on the content type. -->
<messageFormatters>
<messageFormatter contentType="application/x-www-form-urlencoded"
class="org.apache.axis2.transport.http.XFormURLEncodedFormatter"/>
<messageFormatter contentType="multipart/form-data"
class="org.apache.axis2.transport.http.MultipartFormDataFormatter"/>
<messageFormatter contentType="application/xml"
class="org.apache.axis2.transport.http.ApplicationXMLFormatter"/>
<messageFormatter contentType="text/xml"
class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>
<messageFormatter contentType="application/soap+xml"
class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>
</messageFormatters>
<!-- ================================================= -->
<!-- Message Builders -->
<!-- ================================================= -->
<!--Following content type to builder mapping can be used to implement support for different message -->
<!--formats in Axis2. These message formats are expected to be resolved based on the content type. -->
<messageBuilders>
<messageBuilder contentType="application/xml"
class="org.apache.axis2.builder.ApplicationXMLBuilder"/>
<messageBuilder contentType="application/xml"
class="org.apache.axis2.builder.ApplicationXMLBuilder"/>
<messageBuilder contentType="application/x-www-form-urlencoded"
class="org.apache.axis2.builder.XFormURLEncodedBuilder"/>
<messageBuilder contentType="multipart/form-data"
class="org.apache.axis2.builder.MultipartFormDataBuilder"/>
</messageBuilders>
<!-- ================================================= -->
<!-- Transport Ins -->
<!-- ================================================= -->
<transportReceiver name="http"
class="org.apache.axis2.transport.http.SimpleHTTPServer">
<parameter name="port">8080</parameter>
<!-- Here is the complete list of supported parameters (see example settings further below):
port: the port to listen on (default 6060)
hostname: if non-null, url prefix used in reply-to endpoint references (default null)
originServer: value of http Server header in outgoing messages (default "Simple-Server/1.1")
requestTimeout: value in millis of time that requests can wait for data (default 20000)
requestTcpNoDelay: true to maximize performance and minimize latency (default true)
false to minimize bandwidth consumption by combining segments
requestCoreThreadPoolSize: number of threads available for request processing (unless queue fills up) (default 25)
requestMaxThreadPoolSize: number of threads available for request processing if queue fills up (default 150)
note that default queue never fills up: see HttpFactory
threadKeepAliveTime: time to keep threads in excess of core size alive while inactive (default 180)
note that no such threads can exist with default unbounded request queue
threadKeepAliveTimeUnit: TimeUnit of value in threadKeepAliveTime (default SECONDS) (default SECONDS)
-->
<!-- <parameter name="hostname">http://www.myApp.com/ws</parameter> -->
<!-- <parameter name="originServer">My-Server/1.1</parameter> -->
<!-- <parameter name="requestTimeout">10000</parameter> -->
<!-- <parameter name="requestTcpNoDelay">false</parameter> -->
<!-- <parameter name="requestCoreThreadPoolSize">50</parameter> -->
<!-- <parameter name="requestMaxThreadPoolSize">100</parameter> -->
<!-- <parameter name="threadKeepAliveTime">240000</parameter> -->
<!-- <parameter name="threadKeepAliveTimeUnit">MILLISECONDS</parameter> -->
</transportReceiver>
<!--Uncomment this and configure as appropriate for JMS transport support, after setting up your JMS environment (e.g. ActiveMQ)
<transportReceiver name="jms" class="org.apache.axis2.transport.jms.JMSListener">
<parameter name="myTopicConnectionFactory">
<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory</parameter>
</parameter>
<parameter name="myQueueConnectionFactory">
<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
</parameter>
<parameter name="default">
<parameter name="java.naming.factory.initial">org.apache.activemq.jndi.ActiveMQInitialContextFactory</parameter>
<parameter name="java.naming.provider.url">tcp://localhost:61616</parameter>
<parameter name="transport.jms.ConnectionFactoryJNDIName">QueueConnectionFactory</parameter>
</parameter>
</transportReceiver>-->
<!-- ================================================= -->
<!-- Non-blocking http/s Transport Listener -->
<!-- the non blocking http transport based on HttpCore + NIO extensions
<transportReceiver name="http" class="org.apache.axis2.transport.nhttp.HttpCoreNIOListener">
<parameter name="port" locked="false">9000</parameter>
<parameter name="non-blocking" locked="false">true</parameter>
</transportReceiver>-->
<!-- the non blocking https transport based on HttpCore + SSL-NIO extensions
<transportReceiver name="https" class="org.apache.axis2.transport.nhttp.HttpCoreNIOSSLListener">
<parameter name="port" locked="false">9002</parameter>
<parameter name="non-blocking" locked="false">true</parameter>
<parameter name="keystore" locked="false">
<KeyStore>
<Location>identity.jks</Location>
<Type>JKS</Type>
<Password>password</Password>
<KeyPassword>password</KeyPassword>
</KeyStore>
</parameter>
<parameter name="truststore" locked="false">
<TrustStore>
<Location>trust.jks</Location>
<Type>JKS</Type>
<Password>password</Password>
</TrustStore>
</parameter>-->
<!--<parameter name="SSLVerifyClient">require</parameter>
supports optional|require or defaults to none -->
<!--</transportReceiver>-->
<!-- ================================================= -->
<!-- Mail Transport Listener -->
<!-- This is a sample configuration. It assumes a mail server running in localhost.
Listener pops messages that comes to the email address red@localhost. Users
password is red. Listener connect to the server every 3000 milliseconds.
Parameters with "transport." prefix is Axis2 specific. Others are all from Java Mail API.
http://people.apache.org/~pzf/SMTPBase64Binding-0.2.html
-->
<!-- ================================================= -->
<!--<transportReceiver name="mailto" class="org.apache.axis2.transport.mail.SimpleMailListener">
<parameter name="mail.pop3.host">localhost</parameter>
<parameter name="mail.pop3.user">red</parameter>
<parameter name="mail.store.protocol">pop3</parameter>
<parameter name="transport.mail.pop3.password">red</parameter>
<parameter name="transport.mail.replyToAddress">red@localhost</parameter>
<parameter name="transport.listener.interval">3000</parameter>
</transportReceiver>-->
<!--Uncomment if you want to have TCP transport support-->
<!--transportReceiver name="tcp"
class="org.apache.axis2.transport.tcp.TCPServer">
<parameter name="port">6060</parameter-->>
<!--If you want to give your own host address for EPR generation-->
<!--uncomment the following paramter , and set it as you required.-->
<!--<parameter name="hostname">tcp://myApp.com/ws</parameter>-->
<!-- /transportReceiver -->
<!-- ================================================= -->
<!-- Transport Outs -->
<!-- ================================================= -->
<transportSender name="tcp"
class="org.apache.axis2.transport.tcp.TCPTransportSender"/>
<transportSender name="local"
class="org.apache.axis2.transport.local.LocalTransportSender"/>
<transportSender name="http"
class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
<parameter name="PROTOCOL">HTTP/1.1</parameter>
<parameter name="Transfer-Encoding">chunked</parameter>
<!-- If following is set to 'true', optional action part of the Content-Type will not be added to the SOAP 1.2 messages -->
<!-- <parameter name="OmitSOAP12Action">true</parameter> -->
</transportSender>
<transportSender name="https"
class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
<parameter name="PROTOCOL">HTTP/1.1</parameter>
<parameter name="Transfer-Encoding">chunked</parameter>
</transportSender>
<!-- Please enable this if you need the java transport -->
<!-- <transportSender name="java"
class="org.apache.axis2.transport.java.JavaTransportSender"/> -->
<!--<transportSender name="jms"-->
<!--class="org.apache.axis2.transport.jms.JMSSender"/>-->
<!-- ================================================= -->
<!-- Non-blocking http/s Transport Sender -->
<!-- the non-blocking http transport sender based on HttpCore + NIO extensions
<transportSender name="http" class="org.apache.axis2.transport.nhttp.HttpCoreNIOSender">
<parameter name="non-blocking" locked="false">true</parameter>
</transportSender>-->
<!-- the non-blocking https transport sender based on HttpCore + NIO SSL extensions
<transportSender name="https" class="org.apache.axis2.transport.nhttp.HttpCoreNIOSSLSender">
<parameter name="non-blocking" locked="false">true</parameter>
<parameter name="keystore" locked="false">
<KeyStore>
<Location>identity.jks</Location>
<Type>JKS</Type>
<Password>password</Password>
<KeyPassword>password</KeyPassword>
</KeyStore>
</parameter>
<parameter name="truststore" locked="false">
<TrustStore>
<Location>trust.jks</Location>
<Type>JKS</Type>
<Password>password</Password>
</TrustStore>
</parameter>-->
<!--<parameter name="HostnameVerifier">DefaultAndLocalhost</parameter>
supports Strict|AllowAll|DefaultAndLocalhost or the default if none specified -->
<!--</transportSender>-->
<!-- ================================================= -->
<!-- Mail Transport Sender -->
<!--Only need to uncomment the sender. Configuration is achieved with every client.
At any instant mail host should be given. Sample configuration has been given.
http://people.apache.org/~pzf/SMTPBase64Binding-0.2.html
-->
<!-- ================================================= -->
<!--<transportSender name="mailto" class="org.apache.axis2.transport.mail.MailTransportSender">
<parameter name="mail.smtp.host">localhost</parameter>
</transportSender>-->
<!-- ================================================= -->
<!-- Global Modules -->
<!-- ================================================= -->
<!-- Comment this to disable Addressing -->
<module ref="addressing"/>
<!--Configuring module , providing parameters for modules whether they refer or not-->
<!--<moduleConfig name="addressing">-->
<!--<parameter name="addressingPara">N/A</parameter>-->
<!--</moduleConfig>-->
<!-- ================================================= -->
<!-- Clustering -->
<!-- ================================================= -->
<!-- Configure and uncomment following for preparing Axis2 to a clustered environment -->
<!--
<cluster class="org.apache.axis2.cluster.tribes.TribesClusterManager">
<parameter name="param1">value1</parameter>
<parameter name="domain">apache.axis2.domain</parameter>
<parameter name="synchronizeAll">true</parameter>
<parameter name="maxRetries">10</parameter>
<configurationManager class="org.apache.axis2.cluster.configuration.TribesConfigurationManager">
<listener class="org.apache.axis2.cluster.configuration.DefaultConfigurationManagerListener"/>
</configurationManager>
<contextManager class="org.apache.axis2.cluster.context.TribesContextManager">
<listener class="org.apache.axis2.cluster.context.DefaultContextManagerListener"/>
</contextManager>
</cluster>
-->
<!-- ================================================= -->
<!-- Phases -->
<!-- ================================================= -->
<phaseOrder type="InFlow">
<!-- System predefined phases -->
<phase name="Transport">
<handler name="RequestURIBasedDispatcher"
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher">
<order phase="Transport"/>
</handler>
<handler name="SOAPActionBasedDispatcher"
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher">
<order phase="Transport"/>
</handler>
</phase>
<phase name="Addressing">
<handler name="AddressingBasedDispatcher"
class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
<order phase="Addressing"/>
</handler>
</phase>
<phase name="Security"/>
<phase name="PreDispatch"/>
<phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
<handler name="RequestURIBasedDispatcher"
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
<handler name="SOAPActionBasedDispatcher"
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
<handler name="RequestURIOperationDispatcher"
class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
<handler name="SOAPMessageBodyBasedDispatcher"
class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
<handler name="HTTPLocationBasedDispatcher"
class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
<handler name="GenericProviderDispatcher"
class="org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher"/>
<handler name="MustUnderstandValidationDispatcher"
class="org.apache.axis2.jaxws.dispatchers.MustUnderstandValidationDispatcher"/>
</phase>
<phase name="RMPhase"/>
<!-- System predefined phases -->
<!-- After Postdispatch phase module author or service author can add any phase he want -->
<phase name="OperationInPhase">
<handler name="MustUnderstandChecker"
class="org.apache.axis2.jaxws.dispatchers.MustUnderstandChecker">
<order phase="OperationInPhase"/>
</handler>
</phase>
<phase name="soapmonitorPhase"/>
</phaseOrder>
<phaseOrder type="OutFlow">
<!-- user can add his own phases to this area -->
<phase name="soapmonitorPhase"/>
<phase name="OperationOutPhase"/>
<!--system predefined phase-->
<!--these phase will run irrespective of the service-->
<phase name="RMPhase"/>
<phase name="PolicyDetermination"/>
<phase name="MessageOut"/>
<phase name="Security"/>
</phaseOrder>
<phaseOrder type="InFaultFlow">
<phase name="Addressing">
<handler name="AddressingBasedDispatcher"
class="org.apache.axis2.dispatchers.AddressingBasedDispatcher">
<order phase="Addressing"/>
</handler>
</phase>
<phase name="Security"/>
<phase name="PreDispatch"/>
<phase name="Dispatch" class="org.apache.axis2.engine.DispatchPhase">
<handler name="RequestURIBasedDispatcher"
class="org.apache.axis2.dispatchers.RequestURIBasedDispatcher"/>
<handler name="SOAPActionBasedDispatcher"
class="org.apache.axis2.dispatchers.SOAPActionBasedDispatcher"/>
<handler name="RequestURIOperationDispatcher"
class="org.apache.axis2.dispatchers.RequestURIOperationDispatcher"/>
<handler name="SOAPMessageBodyBasedDispatcher"
class="org.apache.axis2.dispatchers.SOAPMessageBodyBasedDispatcher"/>
<handler name="HTTPLocationBasedDispatcher"
class="org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher"/>
<handler name="GenericProviderDispatcher"
class="org.apache.axis2.jaxws.dispatchers.GenericProviderDispatcher"/>
<handler name="MustUnderstandValidationDispatcher"
class="org.apache.axis2.jaxws.dispatchers.MustUnderstandValidationDispatcher"/>
</phase>
<phase name="RMPhase"/>
<!-- user can add his own phases to this area -->
<phase name="OperationInFaultPhase"/>
<phase name="soapmonitorPhase"/>
</phaseOrder>
<phaseOrder type="OutFaultFlow">
<!-- user can add his own phases to this area -->
<phase name="soapmonitorPhase"/>
<phase name="OperationOutFaultPhase"/>
<phase name="RMPhase"/>
<phase name="PolicyDetermination"/>
<phase name="MessageOut"/>
<phase name="Security"/>
</phaseOrder>
</axisconfig>

View File

@ -1,80 +0,0 @@
#!/bin/bash
_is_live() {
cdroot=$(cat /proc/cmdline | grep cdroot)
if [ -n "${cdroot}" ]; then
return 0
else
return 1
fi
}
_is_installer_mode() {
is_installer=$(cat /proc/cmdline | grep installer)
if [ -n "${is_installer}" ]; then
return 0
else
return 1
fi
}
_setup_fds_live() {
# setup 389-ds
tmp_config_file="$(mktemp)"
echo "[General]
FullMachineName=localhost.localdomain
SuiteSpotUserID=dirsrv
SuiteSpotGroup=dirsrv
ConfigDirectoryAdminPwd=mcsmanager
[slapd]
ServerPort=389
ServerIdentifier=sabayon
Suffix=dc=babel,dc=it
RootDN=cn=Directory Manager
RootDNPwd=mcsmanager
[admin]
Port=9830
SysUser=dirsrv
ServerIpAddress=127.0.0.1
ServerAdminID=admin
ServerAdminPwd=mcsmanager
" > "${tmp_config_file}"
su - -c "/usr/sbin/setup-ds-admin.pl -f ${tmp_config_file} --silent" || return 1
# init MCS ldap data
( /usr/sbin/mcs-ldapinit.pl -d localhost.localdomain -b "dc=babel,dc=it" \
-s sa -p mcsmanager -a node1 -B "db1,db2" -f /tmp/base.ldif ) || return 1
/usr/bin/ldapmodify -a -D "cn=directory manager" -h localhost -w mcsmanager \
-f /tmp/base.ldif || return 1
echo "389 Directory Server configured."
return 0
}
FDS_SETUP_FILE="/etc/.389-sabayon-configured"
_setup_fds_installed() {
if [ -e "${FDS_SETUP_FILE}" ]; then
return
fi
# First, setup 389, if not in installer mode
_is_installer_mode || _setup_fds_live
# then make it autostart at the next boot
rc-update add 389-ds default
rc-update add 389-admin default
# do the whole thing once
touch "${FDS_SETUP_FILE}"
}
setup_fds() {
# setup 389
if _is_live; then
_setup_fds_live
else
_setup_fds_installed
fi
}

View File

@ -1,29 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
. /sbin/mcs-functions.sh
MCS_CONFIGURED="/etc/.mcs-oemsystem-default-configured"
depend() {
need net
use dns
before 389-ds 389-ds-snmp 389-admin
before mysql jboss-bin-4.2 postfix ejabberd
}
start() {
if [ -f "${MCS_CONFIGURED}" ]; then
return 0
fi
einfo "Setting up MailWare Collaboration Suite"
setup_fds
rc="$?"
eend "${rc}"
if [ "${rc}" = "0" ]; then
touch "${MCS_CONFIGURED}"
fi
return "${rc}"
}

View File

@ -1,21 +0,0 @@
#!/bin/bash
EMAILPUSH_HOSTNAME=""
EMAILPUSH_PORTNO="4242"
EMAILPUSH_PREFIX="PREFIX"
INSPECT_DIR="/var/spool/filter"
DELIVER="/usr/libexec/dovecot/deliver"
EMAILPUSH="/usr/local/mmt_scripts/emailpush.pl"
SCHEDULEBE="/usr/local/mmt_scripts/schedulebe.py"
LOGGER_FACILITY="mail"
LOGGER_PRIORITY="info"
LOGGER_PROGRAM_NAME="deliver.sh"
# Exit codes from <sysexits.h>
EX_TEMPFAIL=75
EX_UNAVAILABLE=69
SCHEDULEBE_URL="http://localhost:8080/pubcaldav/rtsvc"
SCHEDULEBE_USERNAME="caladmin"
SCHEDULEBE_PASSWORD="caladmin"

View File

@ -1,65 +0,0 @@
#!/bin/sh
# Simple shell-based filter. It is meant to be invoked as follows:
# /path/to/script -f sender recipients...
#INSPECT_DIR="/var/spool/filter"
#DELIVER="/usr/libexec/dovecot/deliver"
#EMAILPUSH="/usr/local/mmt_scripts/emailpush.pl"
#SCHEDULEBE="/usr/local/mmt_scripts/schedulebe.py"
#LOGGER_FACILITY="mail"
#LOGGER_PRIORITY="info"
#LOGGER_PROGRAM_NAME="deliver.sh"
# Exit codes from <sysexits.h>
#EX_TEMPFAIL=75
#EX_UNAVAILABLE=69
source /usr/local/mmt_scripts/config.sh
if [ $? -ne 0 ]; then exit 75; fi
COMMAND=$(which echo); if [ $? -ne 0 ] || [ ! -x $COMMAND ]; then echo "echo command doesn't exist"; exit $EX_TEMPFAIL;fi
COMMAND=$(which cut); if [ $? -ne 0 ] || [ ! -x $COMMAND ]; then echo "cut command doesn't exist"; exit $EX_TEMPFAIL;fi
COMMAND=$(which cat); if [ $? -ne 0 ] || [ ! -x $COMMAND ]; then echo "cat command doesn't exist"; exit $EX_TEMPFAIL;fi
COMMAND=$(which egrep); if [ $? -ne 0 ] || [ ! -x $COMMAND ]; then echo "egrep command doesn't exist"; exit $EX_TEMPFAIL;fi
COMMAND=$(which grep); if [ $? -ne 0 ] || [ ! -x $COMMAND ]; then echo "grep command doesn't exist"; exit $EX_TEMPFAIL;fi
COMMAND=$(which logger); if [ $? -ne 0 ] || [ ! -x $COMMAND ]; then echo "logger command doesn't exist"; exit $EX_TEMPFAIL;fi
# Clean up when done or when aborting.
trap "rm -f in.$$" 0 1 2 3 15
# Start processing.
cd $INSPECT_DIR || {
echo $INSPECT_DIR does not exist; exit $EX_TEMPFAIL; }
cat >in.$$ || {
echo Cannot save mail to file $UID; exit $EX_TEMPFAIL; }
LINE=$(egrep -m 1 "by.+with.+[0-9A-Fa-f]+$" in.$$)
HEX=$(echo $LINE | egrep -o " id [0-9A-Fa-f]+$" | cut -d " " -f 3)
if [ -z $HEX ]; then
LINE=$(egrep -m 1 "id [0-9A-Fa-f]+;.+" in.$$)
HEX=$(echo $LINE | egrep -o "id [0-9A-Fa-f]+" | cut -d " " -f 2)
fi
grep -P "^X-MW-Scheduler:\scalendar.myplace.edu$" in.$$
if [ $? -ne 0 ]; then
#SCHEDULEBE_OUT=$(cat in.$$ | $SCHEDULEBE -U $SCHEDULEBE_URL -u $SCHEDULEBE_USERNAME -p $SCHEDULEBE_PASSWORD)
SCHEDULEBE_OUT=$(cat in.$$ | $SCHEDULEBE -U $SCHEDULEBE_URL)
logger -t $LOGGER_PROGRAM_NAME -p $LOGGER_FACILITY.$LOGGER_PRIORITY "mail-id $HEX - schedulebe.py: $SCHEDULEBE_OUT"
fi
#EMAILPUSH_OUT=$($EMAILPUSH "$@" -h $EMAILPUSH_HOSTNAME -p $EMAILPUSH_PORTNO -P $EMAILPUSH_PREFIX)
#logger -t $LOGGER_PROGRAM_NAME -p $LOGGER_FACILITY.$LOGGER_PRIORITY "mail-id $HEX - emailpush.sh: $EMAILPUSH_OUT"
DELIVER_OUT=$($DELIVER "$@" <in.$$)
DELIVER_EXIT_STATUS=$?
if [ $DELIVER_EXIT_STATUS -eq 0 ]; then
logger -t $LOGGER_PROGRAM_NAME -p $LOGGER_FACILITY.$LOGGER_PRIORITY "mail-id $HEX - dovecot deliver: mail sent - exit status $DELIVER_EXIT_STATUS"
else
logger -t $LOGGER_PROGRAM_NAME -p $LOGGER_FACILITY.$LOGGER_PRIORITY "mail-id $HEX - dovecot deliver: error - exit status $DELIVER_EXIT_STATUS"
fi
exit $DELIVER_EXIT_STATUS

View File

@ -1,56 +0,0 @@
#!/usr/bin/perl
use Getopt::Std;
use Socket;
#my @HOSTNAME = ("host", "host");
#my @HOSTNAME = ("localhost", "localhost");
#my $PORTNO = "4242";
#my $PREFIX = "PREFIX";
sub funambol_udp_push {
my $MSGTOSEND = shift;
my @HOSTNAME = @{shift()};
my $PORTNO = shift;
my $PREFIX = shift;
socket(SOCKET, PF_INET, SOCK_DGRAM, getprotobyname("udp")) or do{print "Cannot make a socket: $!\n"; exit(0); };
for ($i = 0; $i <= $#HOSTNAME; $i++) {
if ($portaddr = sockaddr_in($PORTNO, inet_aton($HOSTNAME[$i]))) {
send(SOCKET, $MSGTOSEND, 0, $portaddr) == length($MSGTOSEND)
or do{print "Cannot send to $HOSTNAME[$i]($PORTNO): $!\n";};
}
}
return 0;
}
my %options = ();
getopts("f:d:h:p:P:",\%options);
my $MSG = $PREFIX.$options{d}.pack("c","04");
my @HOSTNAME = split(',', $options{h});
my $PORTNO = $options{p};
my $PREFIX = $options{P};
if (($PORTNO eq undef) or ($PREFIX eq undef) or ($MSG eq undef) or ($#HOSTNAME eq 0)) {
print "bad arguments";
print "PORTNO:".$PORTNO;
print "PREFIX:".$PREFIX;
print "MSG:".$MSG;
for ($i = 0; $i <= $#HOSTNAME; $i++) {
print "HOSTNAME[$i]:".$HOSTNAME[$i];
}
exit(1);
}
chop($MSG);
my $exitcode = funambol_udp_push($MSG, \@HOSTNAME, $PORTNO, $PREFIX);
if($exitcode eq 0){
print "UDP Notification sent correctly.\n";
}
exit($exitcode);

View File

@ -1,379 +0,0 @@
#!/usr/bin/python
# schedulebe (c) robipolli@gmail.com
# a postfix plugin for managing events in python
# License: GPL2
#
#
# this software manage mail meeting invitation,
# notifying to bedework
# * meeting request to bedework users
# * meeting replies
# takes a mail from stdin
# check if it's a meeting request/reply
# get header from mail
# use them to make a POST request to bedework RTSVC
#
import StringIO
import vobject
import email, httplib
import re
import pycurl
import sys, getopt
from xml.dom import minidom
from xml.parsers.expat import ExpatError
_debug = False
#rtsvcUrl = "http://caladminurl"
#rtsvcUrl = "http://pubcaladminurl"
rtsvcUrl = None
conf_request_enabled = True
conf_mail_enabled = True
# rtsvcUser = "user1"
# rtsvcPass = "user2"
class Meeting:
def __init__(self):
self.ics = None
self.method = None
self.organizer = None
self.attendees = []
self.sender = None
self.recipient = []
def setMail(self, mailMessage):
self.walkMail(mailMessage)
def getMethod(self):
return self.ics.method.value
def getOrganizer(self):
# TODO check organizer ~= /mailto:/
o = cleanMailAddress(self.ics.vevent.organizer.value)
return o
def getAttendees(self):
if len(self.attendees) == 0:
for a in self.ics.vevent.__getattr__("attendee_list"):
self.attendees.append(cleanMailAddress(a.value))
return self.attendees
def validate(self):
if conf_request_enabled and self.getMethod() == "REQUEST":
#mail recipient must be internal and in attendees
# in a meeting request, organizer is the mail sender
if self.getOrganizer() != self.sender:
if _debug:
print "in %s: Organizer != sender : %s != %s" % (self.getMethod(), self.getOrganizer(), self.sender)
return False
elif self.getMethod() == "REPLY":
#the sender mail should be one of the attendees
if not self.sender in self.getAttendees():
if _debug:
print "in %s: sender != attendees : %s not contains %s" % (self.getMethod(),self.getAttendees(), self.sender)
return False
else:
print "Error validating meeting"
return True
# check that organizer is valid
# if not __checkOrganizer(self.getOrganizer()):
# return False
def walkMail(self, mailMessage):
"""walk thru the mail looking for calendar attachment"""
"""parse attachment and set meeting.ics"""
self.sender = cleanMailAddress(mailMessage['From'])
for rcpt in mailMessage['To'].split(","):
self.recipient.append(cleanMailAddress(rcpt))
if _debug:
print "DEBUG: from: %s, rcpt: %s" % (mailMessage['From'], mailMessage['To'])
mailWalker = mailMessage.walk()
try:
for i in mailWalker:
if i.get_content_type() == "text/calendar":
if self != None:
icalendar = vobject.readOne(i.get_payload(decode=True))
self.ics = icalendar
else:
if _debug:
print "Test case: %s" % i.get_payload(decode=True)
except vobject.base.ParseError:
print "Error while parsing calendar"
raise
#end class
def __checkOrganizer(organizer):
"""check if organizer is an user of the platform"""
return True
def getMeetingInfo(meeting):
"""get meeting info """
""" TODO http://docs.python.org/library/email.html#module-email"""
meeting.method = meeting.ics.method.value
meeting.organizer = meeting
return meeting.method.value
def cleanMailAddress(mailaddress):
"""clean the mail address returning a string value (no unicode)"""
s = re.compile('^.*<(.+)>.*',re.IGNORECASE).sub(r'\1', mailaddress)
s = re.compile('mailto:',re.IGNORECASE).sub(r'', s)
return str(s.lower())
def getRecipientsFromMail(mail):
"""get the TO Header from the email"""
recipients = ["one@example.com","two@exmaple.com"]
recipient = mail['To']
return recipients
def sendRequestToBedework(meeting):
"""send a POST request to RTSVC url, setting """
""" Header: originator: me@gmail.com """
""" Header: recipient: one@example.com """
""" Header: recipient: two@example.com """
""" Header: Content-type: text/calendar """
""" .ics as POST body """
if not meeting.validate():
return False
rtsvcHeader = [ 'Content-Type:text/calendar; charset=UTF-8' ]
rtsvcHeader.append('originator: ' + meeting.sender)
if conf_mail_enabled:
rcptList = []
if meeting.getMethod() == "REQUEST":
rcptList = set(meeting.getAttendees()).intersection(meeting.recipient)
elif meeting.getMethod() == "REPLY":
rcptList.append(meeting.getOrganizer())
rcptList = set(rcptList).intersection(meeting.recipient)
for a in rcptList:
rtsvcHeader.append('recipient: ' + a)
c = pycurl.Curl()
if _debug:
print "DEBUG:" + meeting.ics.serialize()
# c.setopt(c.VERBOSE, 1)
for a in rtsvcHeader: print "DEBUG:" + a
output = StringIO.StringIO()
c.setopt(c.HTTPHEADER, rtsvcHeader)
c.setopt(c.POSTFIELDS, meeting.ics.serialize())
c.setopt(c.URL, rtsvcUrl)
c.setopt(c.HEADER, 1)
c.setopt(c.POST, 1)
c.setopt(pycurl.WRITEFUNCTION, output.write)
res = c.perform()
if _debug:
# print output
print """DEBUG request %d """ % c.getinfo(pycurl.HTTP_CODE)
#response = output.read()
response = output.getvalue()
if _debug:
print "DEBUG: response: [%s]" % response
parseResponse(response)
return True
def parseRecipientResponse(response):
"""return True if the scheduling request to the recipient is successful
<ns1:response>
<ns1:recipient>
<href>attendee@mysite.edu</href>
</ns1:recipient>
<ns1:request-status>2.0;Success</ns1:request-status>
</ns1:response>
"""
if response.localName != 'response':
return False
for walk in response.childNodes:
if walk.localName == 'recipient':
attendees = walk.getElementsByTagName('href')
attendee = attendees[0].childNodes[0].data
elif walk.localName == 'request-status':
if _debug:
print "REPORT: attendee: %s\t\tstatus: %s" % (attendee, walk.childNodes[0].data)
v = {'2.0;Success' : True,
'1.0;Deferred' : True,
'default' : False
}
return v.get(walk.childNodes[0].data, 'default')
# false by default
return False
def parseResponse(response):
"""Parse the xml response of the RTSVC server
The response is like:
HttpHeaders
...
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:schedule-response xmlns="DAV:" xmlns:ns1="urn:ietf:params:xml:ns:caldav" xmlns:ns2="http://www.w3.org/2002/12/cal/ical#">
<ns1:response>
<ns1:recipient>
<href>attendee@mysite.edu</href>
</ns1:recipient>
<ns1:request-status>2.0;Success</ns1:request-status>
</ns1:response>
</ns1:schedule-response>
"""
ret = False
# strip http headers
try:
response = response[response.index('<'):]
except ValueError:
print "DEBUG: Can't find < in response"
return False
#support multiple xml documents in response
for singleResponse in response.split('\n<?xml'):
if len(singleResponse) <= 5:
if _debug:
print "skipping short response" + singleResponse
continue
try:
doc = minidom.parseString(singleResponse)
for walk in doc.childNodes:
if walk.localName == 'schedule-response':
for resp in walk.getElementsByTagName(walk.prefix + ':response'):
ret = parseRecipientResponse(resp)
except ExpatError:
print "Errore nella stringa [%s] " % singleResponse
raise
ret = False
return ret
def __notifyUpdate(isError):
"""notify the user that bedework has been nicely updated"""
if isError:
return False
return True
def countEnum(i):
tot=0
for j in i:
tot = tot+1
return tot
def usage():
print "usage: schedulebe -U [-v][-h][-f file][-u[-p]]"
def main():
# parse command line options
try:
#sys.argv[1:] strip the first argument from sys.argv[]
opts, args = getopt.getopt(sys.argv[1:], "hvf:U:u:p:", ["help", "verbose", "file", "URL", "username", "password"])
except getopt.error, msg:
print msg
print "for help use --help"
sys.exit(2)
file = None
url = None
username = None
password = None
for opt,arg in opts:
if opt in ("-h", "--help"):
usage()
sys.exit()
elif opt == '-v':
global _debug
_debug = True
elif opt in ("-f", "--file" ):
file = arg
elif opt in ("-U", "--URL"):
url = arg
elif opt in ("-u", "--username"):
username = arg
elif opt in ("-p", "--password"):
password = arg
if (url == None) or (username != None and password == None) or (username == None and password != None):
print url
usage()
sys.exit()
if url.find("://") == -1:
print "bad url"
usage()
sys.exit(2)
global rtsvcUrl
if username != None and password != None:
schema, address = url.split("://")
rtsvcUrl = schema + "://" + username + ":" + password + "@" + address
else:
rtsvcUrl = url
try:
if file==None:
fd=sys.stdin
else:
fd = open(file)
m = Meeting()
m.setMail(email.message_from_string(fd.read()))
organizer = m.getOrganizer()
recipients = m.getAttendees()
if _debug:
print "organizer :%s\nattendees:%s\n" % (organizer, recipients)
if (__checkOrganizer(organizer)):
if (sendRequestToBedework(m)):
print "calendar event synchronized"
return True
except IOError:
print "error: file not found"
sys.exit(2)
except:
print "error: No ics found"
sys.exit(2)
# if it's standalone, exec
if __name__ == "__main__":
main()

View File

@ -1,4 +0,0 @@
CREATE USER 'mwsql'@'localhost' IDENTIFIED BY 'mcsmanager';
GRANT ALL PRIVILEGES ON * . * TO 'mwsql'@'localhost' IDENTIFIED BY 'mcsmanager' WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR
0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;

View File

@ -1,263 +0,0 @@
-- phpMyAdmin SQL Dump
-- version 3.3.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generato il: 02 ott, 2010 at 03:50 AM
-- Versione MySQL: 5.1.46
-- Versione PHP: 5.3.2-pl0-gentoo
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `mwsql`
--
CREATE DATABASE /*!32312 IF NOT EXISTS*/ mwsql /*!40100 DEFAULT CHARACTER SET latin1 */;
USE mwsql;
-- --------------------------------------------------------
--
-- Struttura della tabella `calendars`
--
DROP TABLE IF EXISTS `calendars`;
CREATE TABLE IF NOT EXISTS `calendars` (
`username` varchar(320) CHARACTER SET latin1 NOT NULL DEFAULT '',
`name` varchar(700) CHARACTER SET latin1 NOT NULL DEFAULT '',
`color` char(6) NOT NULL DEFAULT '999966',
PRIMARY KEY (`username`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Struttura della tabella `collector_settings`
--
DROP TABLE IF EXISTS `collector_settings`;
CREATE TABLE IF NOT EXISTS `collector_settings` (
`username` varchar(320) CHARACTER SET latin1 NOT NULL,
`email` varchar(320) CHARACTER SET latin1 DEFAULT NULL,
`protocol` varchar(10) DEFAULT NULL,
`server` varchar(256) DEFAULT NULL,
`porta` int(5) DEFAULT '110',
`password` varchar(100) DEFAULT NULL,
`label` varchar(100) DEFAULT NULL,
`toremove` char(1) DEFAULT 'y'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dump dei dati per la tabella `collector_settings`
--
-- --------------------------------------------------------
--
-- Struttura della tabella `DISTRICTS`
--
DROP TABLE IF EXISTS `DISTRICTS`;
CREATE TABLE IF NOT EXISTS `DISTRICTS` (
`DISTRICT_ID` varchar(25) NOT NULL DEFAULT '',
`DISTRICT_NAME` varchar(40) DEFAULT NULL,
PRIMARY KEY (`DISTRICT_ID`),
UNIQUE KEY `NAME_UNQ` (`DISTRICT_NAME`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dump dei dati per la tabella `DISTRICTS`
--
-- --------------------------------------------------------
--
-- Struttura della tabella `FAX_NUMBERS`
--
DROP TABLE IF EXISTS `FAX_NUMBERS`;
CREATE TABLE IF NOT EXISTS `FAX_NUMBERS` (
`FAX_NUMBER` varchar(25) NOT NULL DEFAULT '',
`DISTRICT_ID` varchar(25) DEFAULT NULL,
`STATUS` varchar(1) NOT NULL DEFAULT 'F',
`FREEZE_TS` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`FAX_NUMBER`),
KEY `STATUS_FK` (`STATUS`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dump dei dati per la tabella `FAX_NUMBERS`
--
-- --------------------------------------------------------
--
-- Struttura della tabella `FAX_STATUS`
--
DROP TABLE IF EXISTS `FAX_STATUS`;
CREATE TABLE IF NOT EXISTS `FAX_STATUS` (
`STATUS` varchar(1) NOT NULL,
`DESCRIPTION` varchar(50) NOT NULL,
PRIMARY KEY (`STATUS`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dump dei dati per la tabella `FAX_STATUS`
--
INSERT INTO `FAX_STATUS` (`STATUS`, `DESCRIPTION`) VALUES
('A', 'Assegnato'),
('F', 'Non assegnato'),
('R', 'Non assegnabile');
-- --------------------------------------------------------
--
-- Struttura della tabella `groups`
--
DROP TABLE IF EXISTS `groups`;
CREATE TABLE IF NOT EXISTS `groups` (
`username` varchar(320) CHARACTER SET latin1 NOT NULL,
`name` varchar(25) NOT NULL,
`description` varchar(100) DEFAULT NULL,
`addresses` text,
PRIMARY KEY (`username`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dump dei dati per la tabella `groups`
--
-- --------------------------------------------------------
--
-- Struttura della tabella `labels_names`
--
DROP TABLE IF EXISTS `labels_names`;
CREATE TABLE IF NOT EXISTS `labels_names` (
`username` varchar(320) CHARACTER SET latin1 NOT NULL,
`lid` varchar(10) NOT NULL,
`color` char(7) DEFAULT NULL,
`labelname` varchar(100) DEFAULT NULL,
PRIMARY KEY (`username`,`lid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dump dei dati per la tabella `labels_names`
--
-- --------------------------------------------------------
--
-- Struttura della tabella `shared_addressbook`
--
DROP TABLE IF EXISTS `shared_addressbook`;
CREATE TABLE IF NOT EXISTS `shared_addressbook` (
`username` varchar(320) CHARACTER SET latin1 NOT NULL,
`id_rubrica` varchar(300) CHARACTER SET latin1 NOT NULL,
`rights` char(1) DEFAULT NULL,
PRIMARY KEY (`username`,`id_rubrica`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dump dei dati per la tabella `shared_addressbook`
--
-- --------------------------------------------------------
--
-- Struttura della tabella `users_chat_settings`
--
DROP TABLE IF EXISTS `users_chat_settings`;
CREATE TABLE IF NOT EXISTS `users_chat_settings` (
`username` varchar(320) CHARACTER SET latin1 NOT NULL,
`loginenable` char(1) DEFAULT NULL,
`onlyOnlineContacts` char(1) DEFAULT NULL,
`personalMessage` varchar(320) DEFAULT NULL,
PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dump dei dati per la tabella `users_chat_settings`
--
-- --------------------------------------------------------
--
-- Struttura della tabella `users_settings`
--
DROP TABLE IF EXISTS `users_settings`;
CREATE TABLE IF NOT EXISTS `users_settings` (
`username` varchar(320) CHARACTER SET latin1 NOT NULL COMMENT 'username utente chiave primaria',
`signature` text,
`pager` smallint(5) unsigned DEFAULT '20',
`language` varchar(5) DEFAULT NULL,
`sendvcard` char(1) DEFAULT NULL,
`sendtype` varchar(20) DEFAULT NULL,
`timesavemessage` int DEFAULT 300,
`forward_type` char(1) NULL,
PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `users_calendar_settings`;
CREATE TABLE `users_calendar_settings` (
`username` VARCHAR(320) CHARACTER SET latin1 NOT NULL,
`timezone` VARCHAR(320) NOT NULL DEFAULT 'Europe/Rome',
PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Limiti per le tabelle scaricate
--
--
-- Limiti per la tabella `calendars`
--
ALTER TABLE `calendars`
ADD CONSTRAINT `calendars_ibfk_1` FOREIGN KEY (`username`) REFERENCES `users_settings` (`username`) ON DELETE CASCADE;
--
-- Limiti per la tabella `FAX_NUMBERS`
--
ALTER TABLE `FAX_NUMBERS`
ADD CONSTRAINT `STATUS_FK` FOREIGN KEY (`STATUS`) REFERENCES `FAX_STATUS` (`STATUS`);
--
-- Limiti per la tabella `groups`
--
ALTER TABLE `groups`
ADD CONSTRAINT `groups_ibfk_1` FOREIGN KEY (`username`) REFERENCES `users_settings` (`username`) ON DELETE CASCADE;
--
-- Limiti per la tabella `labels_names`
--
ALTER TABLE `labels_names`
ADD CONSTRAINT `labels_names_ibfk_1` FOREIGN KEY (`username`) REFERENCES `users_settings` (`username`) ON DELETE CASCADE;
--
-- Limiti per la tabella `shared_addressbook`
--
ALTER TABLE `shared_addressbook`
ADD CONSTRAINT `shared_addressbook_ibfk_1` FOREIGN KEY (`username`) REFERENCES `users_settings` (`username`) ON DELETE CASCADE;

View File

@ -1,7 +0,0 @@
# all forwards
server_host = ldap://localhost
server_port = 389
search_base = dc=babel,dc=it
scope = sub
query_filter = (&(|(mail=%s)(mailalternateaddress=%s))(objectClass=mailrecipient))
result_attribute = mailForwardingAddress

View File

@ -1,8 +0,0 @@
# reject all internal domains
server_host = ldap://localhost
server_port = 389
search_base = dc=babel,dc=it
scope = sub
query_filter = (&(dc=%d)(objectClass=domain))
result_attribute = dc
result_filter = REJECT

View File

@ -1,6 +0,0 @@
server_host = ldap://localhost
server_port = 389
search_base = dc=babel,dc=it
scope = sub
query_filter = (&(dc=%s)(objectClass=domain))
result_attribute = dc

View File

@ -1,7 +0,0 @@
server_host = ldap://localhost
server_port = 389
search_base = dc=babel,dc=it
scope = sub
query_filter = (&(|(mail=%s)(mailalternateaddress=%s))(objectClass=mailrecipient))
result_attribute = mail

View File

@ -1,8 +0,0 @@
server_host = ldap://localhost
server_port = 389
search_base = dc=babel,dc=it
scope = sub
query_filter = (&(mgrpdeliverto=%s)(objectClass=mailgroup)(mgrpbroadcasterpolicy=*))
result_attribute = mgrpbroadcasterpolicy
result_format = policy_lists

View File

@ -1,8 +0,0 @@
# all mailboxes
server_host = ldap://localhost
policy_server_port = 389
search_base = dc=babel,dc=it
scope = sub
query_filter = (&(mail=%u@%d)(objectClass=mailrecipient))
result_attribute = mail

View File

@ -1,732 +0,0 @@
# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README
# and STANDARD_CONFIGURATION_README. To find these documents, use
# the command "postconf html_directory readme_directory", or go to
# http://www.postfix.org/.
#
# For best results, change no more than 2-3 parameters at a time,
# and test if Postfix still works after every change.
# SOFT BOUNCE
#
# The soft_bounce parameter provides a limited safety net for
# testing. When soft_bounce is enabled, mail will remain queued that
# would otherwise bounce. This parameter disables locally-generated
# bounces, and prevents the SMTP server from rejecting mail permanently
# (by changing 5xx replies into 4xx replies). However, soft_bounce
# is no cure for address rewriting mistakes or mail routing mistakes.
#
#soft_bounce = no
# LOCAL PATHNAME INFORMATION
#
# The queue_directory specifies the location of the Postfix queue.
# This is also the root directory of Postfix daemons that run chrooted.
# See the files in examples/chroot-setup for setting up Postfix chroot
# environments on different UNIX systems.
#
queue_directory = /var/spool/postfix
# The command_directory parameter specifies the location of all
# postXXX commands.
#
command_directory = /usr/sbin
# The daemon_directory parameter specifies the location of all Postfix
# daemon programs (i.e. programs listed in the master.cf file). This
# directory must be owned by root.
#
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
# QUEUE AND PROCESS OWNERSHIP
#
# The mail_owner parameter specifies the owner of the Postfix queue
# and of most Postfix daemon processes. Specify the name of a user
# account THAT DOES NOT SHARE ITS USER OR GROUP ID WITH OTHER ACCOUNTS
# AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM. In
# particular, don't specify nobody or daemon. PLEASE USE A DEDICATED
# USER.
#
mail_owner = postfix
# The default_privs parameter specifies the default rights used by
# the local delivery agent for delivery to external file or command.
# These rights are used in the absence of a recipient user context.
# DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER.
#
#default_privs = nobody
# INTERNET HOST AND DOMAIN NAMES
#
# The myhostname parameter specifies the internet hostname of this
# mail system. The default is to use the fully-qualified domain name
# from gethostname(). $myhostname is used as a default value for many
# other configuration parameters.
#
#myhostname = host.domain.tld
#myhostname = virtual.domain.tld
# The mydomain parameter specifies the local internet domain name.
# The default is to use $myhostname minus the first component.
# $mydomain is used as a default value for many other configuration
# parameters.
#
#mydomain = domain.tld
# SENDING MAIL
#
# The myorigin parameter specifies the domain that locally-posted
# mail appears to come from. The default is to append $myhostname,
# which is fine for small sites. If you run a domain with multiple
# machines, you should (1) change this to $mydomain and (2) set up
# a domain-wide alias database that aliases each user to
# user@that.users.mailhost.
#
# For the sake of consistency between sender and recipient addresses,
# myorigin also specifies the default domain name that is appended
# to recipient addresses that have no @domain part.
#
#myorigin = $myhostname
#myorigin = $mydomain
# RECEIVING MAIL
# The inet_interfaces parameter specifies the network interface
# addresses that this mail system receives mail on. By default,
# the software claims all active interfaces on the machine. The
# parameter also controls delivery of mail to user@[ip.address].
#
# See also the proxy_interfaces parameter, for network addresses that
# are forwarded to us via a proxy or network address translator.
#
# Note: you need to stop/start Postfix when this parameter changes.
#
inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
#inet_interfaces = $myhostname, localhost
# The proxy_interfaces parameter specifies the network interface
# addresses that this mail system receives mail on by way of a
# proxy or network address translation unit. This setting extends
# the address list specified with the inet_interfaces parameter.
#
# You must specify your proxy/NAT addresses when your system is a
# backup MX host for other domains, otherwise mail delivery loops
# will happen when the primary MX host is down.
#
#proxy_interfaces =
#proxy_interfaces = 1.2.3.4
# The mydestination parameter specifies the list of domains that this
# machine considers itself the final destination for.
#
# These domains are routed to the delivery agent specified with the
# local_transport parameter setting. By default, that is the UNIX
# compatible delivery agent that lookups all recipients in /etc/passwd
# and /etc/aliases or their equivalent.
#
# The default is $myhostname + localhost.$mydomain. On a mail domain
# gateway, you should also include $mydomain.
#
# Do not specify the names of virtual domains - those domains are
# specified elsewhere (see VIRTUAL_README).
#
# Do not specify the names of domains that this machine is backup MX
# host for. Specify those names via the relay_domains settings for
# the SMTP server, or use permit_mx_backup if you are lazy (see
# STANDARD_CONFIGURATION_README).
#
# The local machine is always the final destination for mail addressed
# to user@[the.net.work.address] of an interface that the mail system
# receives mail on (see the inet_interfaces parameter).
#
# Specify a list of host or domain names, /file/name or type:table
# patterns, separated by commas and/or whitespace. A /file/name
# pattern is replaced by its contents; a type:table is matched when
# a name matches a lookup key (the right-hand side is ignored).
# Continue long lines by starting the next line with whitespace.
#
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
#
mydestination = $myhostname, localhost.$mydomain, localhost
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
# mail.$mydomain, www.$mydomain, ftp.$mydomain
# REJECTING MAIL FOR UNKNOWN LOCAL USERS
#
# The local_recipient_maps parameter specifies optional lookup tables
# with all names or addresses of users that are local with respect
# to $mydestination, $inet_interfaces or $proxy_interfaces.
#
# If this parameter is defined, then the SMTP server will reject
# mail for unknown local users. This parameter is defined by default.
#
# To turn off local recipient checking in the SMTP server, specify
# local_recipient_maps = (i.e. empty).
#
# The default setting assumes that you use the default Postfix local
# delivery agent for local delivery. You need to update the
# local_recipient_maps setting if:
#
# - You define $mydestination domain recipients in files other than
# /etc/passwd, /etc/aliases, or the $virtual_alias_maps files.
# For example, you define $mydestination domain recipients in
# the $virtual_mailbox_maps files.
#
# - You redefine the local delivery agent in master.cf.
#
# - You redefine the "local_transport" setting in main.cf.
#
# - You use the "luser_relay", "mailbox_transport", or "fallback_transport"
# feature of the Postfix local delivery agent (see local(8)).
#
# Details are described in the LOCAL_RECIPIENT_README file.
#
# Beware: if the Postfix SMTP server runs chrooted, you probably have
# to access the passwd file via the proxymap service, in order to
# overcome chroot restrictions. The alternative, having a copy of
# the system passwd file in the chroot jail is just not practical.
#
# The right-hand side of the lookup tables is conveniently ignored.
# In the left-hand side, specify a bare username, an @domain.tld
# wild-card, or specify a user@domain.tld address.
#
#local_recipient_maps = unix:passwd.byname $alias_maps
#local_recipient_maps = proxy:unix:passwd.byname $alias_maps
#local_recipient_maps =
# The unknown_local_recipient_reject_code specifies the SMTP server
# response code when a recipient domain matches $mydestination or
# ${proxy,inet}_interfaces, while $local_recipient_maps is non-empty
# and the recipient address or address local-part is not found.
#
# The default setting is 550 (reject mail) but it is safer to start
# with 450 (try again later) until you are certain that your
# local_recipient_maps settings are OK.
#
unknown_local_recipient_reject_code = 550
# TRUST AND RELAY CONTROL
# The mynetworks parameter specifies the list of "trusted" SMTP
# clients that have more privileges than "strangers".
#
# In particular, "trusted" SMTP clients are allowed to relay mail
# through Postfix. See the smtpd_recipient_restrictions parameter
# in postconf(5).
#
# You can specify the list of "trusted" network addresses by hand
# or you can let Postfix do it for you (which is the default).
#
# By default (mynetworks_style = subnet), Postfix "trusts" SMTP
# clients in the same IP subnetworks as the local machine.
# On Linux, this does works correctly only with interfaces specified
# with the "ifconfig" command.
#
# Specify "mynetworks_style = class" when Postfix should "trust" SMTP
# clients in the same IP class A/B/C networks as the local machine.
# Don't do this with a dialup site - it would cause Postfix to "trust"
# your entire provider's network. Instead, specify an explicit
# mynetworks list by hand, as described below.
#
# Specify "mynetworks_style = host" when Postfix should "trust"
# only the local machine.
#
#mynetworks_style = class
#mynetworks_style = subnet
#mynetworks_style = host
# Alternatively, you can specify the mynetworks list by hand, in
# which case Postfix ignores the mynetworks_style setting.
#
# Specify an explicit list of network/netmask patterns, where the
# mask specifies the number of bits in the network part of a host
# address.
#
# You can also specify the absolute pathname of a pattern file instead
# of listing the patterns here. Specify type:table for table-based lookups
# (the value on the table right-hand side is not used).
#
#mynetworks = 168.100.189.0/28, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table
# The relay_domains parameter restricts what destinations this system will
# relay mail to. See the smtpd_recipient_restrictions description in
# postconf(5) for detailed information.
#
# By default, Postfix relays mail
# - from "trusted" clients (IP address matches $mynetworks) to any destination,
# - from "untrusted" clients to destinations that match $relay_domains or
# subdomains thereof, except addresses with sender-specified routing.
# The default relay_domains value is $mydestination.
#
# In addition to the above, the Postfix SMTP server by default accepts mail
# that Postfix is final destination for:
# - destinations that match $inet_interfaces or $proxy_interfaces,
# - destinations that match $mydestination
# - destinations that match $virtual_alias_domains,
# - destinations that match $virtual_mailbox_domains.
# These destinations do not need to be listed in $relay_domains.
#
# Specify a list of hosts or domains, /file/name patterns or type:name
# lookup tables, separated by commas and/or whitespace. Continue
# long lines by starting the next line with whitespace. A file name
# is replaced by its contents; a type:name table is matched when a
# (parent) domain appears as lookup key.
#
# NOTE: Postfix will not automatically forward mail for domains that
# list this system as their primary or backup MX host. See the
# permit_mx_backup restriction description in postconf(5).
#
#relay_domains = $mydestination
# INTERNET OR INTRANET
# The relayhost parameter specifies the default host to send mail to
# when no entry is matched in the optional transport(5) table. When
# no relayhost is given, mail is routed directly to the destination.
#
# On an intranet, specify the organizational domain name. If your
# internal DNS uses no MX records, specify the name of the intranet
# gateway host instead.
#
# In the case of SMTP, specify a domain, host, host:port, [host]:port,
# [address] or [address]:port; the form [host] turns off MX lookups.
#
# If you're connected via UUCP, see also the default_transport parameter.
#
#relayhost = $mydomain
#relayhost = [gateway.my.domain]
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]
# REJECTING UNKNOWN RELAY USERS
#
# The relay_recipient_maps parameter specifies optional lookup tables
# with all addresses in the domains that match $relay_domains.
#
# If this parameter is defined, then the SMTP server will reject
# mail for unknown relay users. This feature is off by default.
#
# The right-hand side of the lookup tables is conveniently ignored.
# In the left-hand side, specify an @domain.tld wild-card, or specify
# a user@domain.tld address.
#
#relay_recipient_maps = hash:/etc/postfix/relay_recipients
# INPUT RATE CONTROL
#
# The in_flow_delay configuration parameter implements mail input
# flow control. This feature is turned on by default, although it
# still needs further development (it's disabled on SCO UNIX due
# to an SCO bug).
#
# A Postfix process will pause for $in_flow_delay seconds before
# accepting a new message, when the message arrival rate exceeds the
# message delivery rate. With the default 100 SMTP server process
# limit, this limits the mail inflow to 100 messages a second more
# than the number of messages delivered per second.
#
# Specify 0 to disable the feature. Valid delays are 0..10.
#
#in_flow_delay = 1s
# ADDRESS REWRITING
#
# The ADDRESS_REWRITING_README document gives information about
# address masquerading or other forms of address rewriting including
# username->Firstname.Lastname mapping.
# ADDRESS REDIRECTION (VIRTUAL DOMAIN)
#
# The VIRTUAL_README document gives information about the many forms
# of domain hosting that Postfix supports.
# "USER HAS MOVED" BOUNCE MESSAGES
#
# See the discussion in the ADDRESS_REWRITING_README document.
# TRANSPORT MAP
#
# See the discussion in the ADDRESS_REWRITING_README document.
# ALIAS DATABASE
#
# The alias_maps parameter specifies the list of alias databases used
# by the local delivery agent. The default list is system dependent.
#
# On systems with NIS, the default is to search the local alias
# database, then the NIS alias database. See aliases(5) for syntax
# details.
#
# If you change the alias database, run "postalias /etc/aliases" (or
# wherever your system stores the mail alias file), or simply run
# "newaliases" to build the necessary DBM or DB file.
#
# It will take a minute or so before changes become visible. Use
# "postfix reload" to eliminate the delay.
#
#alias_maps = dbm:/etc/aliases
#alias_maps = hash:/etc/aliases
#alias_maps = hash:/etc/aliases, nis:mail.aliases
#alias_maps = netinfo:/aliases
# The alias_database parameter specifies the alias database(s) that
# are built with "newaliases" or "sendmail -bi". This is a separate
# configuration parameter, because alias_maps (see above) may specify
# tables that are not necessarily all under control by Postfix.
#
#alias_database = dbm:/etc/aliases
#alias_database = dbm:/etc/mail/aliases
#alias_database = hash:/etc/aliases
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
# ADDRESS EXTENSIONS (e.g., user+foo)
#
# The recipient_delimiter parameter specifies the separator between
# user names and address extensions (user+foo). See canonical(5),
# local(8), relocated(5) and virtual(5) for the effects this has on
# aliases, canonical, virtual, relocated and .forward file lookups.
# Basically, the software tries user+foo and .forward+foo before
# trying user and .forward.
#
#recipient_delimiter = +
# DELIVERY TO MAILBOX
#
# The home_mailbox parameter specifies the optional pathname of a
# mailbox file relative to a user's home directory. The default
# mailbox file is /var/spool/mail/user or /var/mail/user. Specify
# "Maildir/" for qmail-style delivery (the / is required).
#
#home_mailbox = Mailbox
#home_mailbox = Maildir/
# The mail_spool_directory parameter specifies the directory where
# UNIX-style mailboxes are kept. The default setting depends on the
# system type.
#
#mail_spool_directory = /var/mail
#mail_spool_directory = /var/spool/mail
# The mailbox_command parameter specifies the optional external
# command to use instead of mailbox delivery. The command is run as
# the recipient with proper HOME, SHELL and LOGNAME environment settings.
# Exception: delivery for root is done as $default_user.
#
# Other environment variables of interest: USER (recipient username),
# EXTENSION (address extension), DOMAIN (domain part of address),
# and LOCAL (the address localpart).
#
# Unlike other Postfix configuration parameters, the mailbox_command
# parameter is not subjected to $parameter substitutions. This is to
# make it easier to specify shell syntax (see example below).
#
# Avoid shell meta characters because they will force Postfix to run
# an expensive shell process. Procmail alone is expensive enough.
#
# IF YOU USE THIS TO DELIVER MAIL SYSTEM-WIDE, YOU MUST SET UP AN
# ALIAS THAT FORWARDS MAIL FOR ROOT TO A REAL USER.
#
#mailbox_command = /some/where/procmail
#mailbox_command = /some/where/procmail -a "$EXTENSION"
# The mailbox_transport specifies the optional transport in master.cf
# to use after processing aliases and .forward files. This parameter
# has precedence over the mailbox_command, fallback_transport and
# luser_relay parameters.
#
# Specify a string of the form transport:nexthop, where transport is
# the name of a mail delivery transport defined in master.cf. The
# :nexthop part is optional. For more details see the sample transport
# configuration file.
#
# NOTE: if you use this feature for accounts not in the UNIX password
# file, then you must update the "local_recipient_maps" setting in
# the main.cf file, otherwise the SMTP server will reject mail for
# non-UNIX accounts with "User unknown in local recipient table".
#
#mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
# If using the cyrus-imapd IMAP server deliver local mail to the IMAP
# server using LMTP (Local Mail Transport Protocol), this is prefered
# over the older cyrus deliver program by setting the
# mailbox_transport as below:
#
# mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
#
# The efficiency of LMTP delivery for cyrus-imapd can be enhanced via
# these settings.
#
# local_destination_recipient_limit = 300
# local_destination_concurrency_limit = 5
#
# Of course you should adjust these settings as appropriate for the
# capacity of the hardware you are using. The recipient limit setting
# can be used to take advantage of the single instance message store
# capability of Cyrus. The concurrency limit can be used to control
# how many simultaneous LMTP sessions will be permitted to the Cyrus
# message store.
#
# To use the old cyrus deliver program you have to set:
#mailbox_transport = cyrus
# The fallback_transport specifies the optional transport in master.cf
# to use for recipients that are not found in the UNIX passwd database.
# This parameter has precedence over the luser_relay parameter.
#
# Specify a string of the form transport:nexthop, where transport is
# the name of a mail delivery transport defined in master.cf. The
# :nexthop part is optional. For more details see the sample transport
# configuration file.
#
# NOTE: if you use this feature for accounts not in the UNIX password
# file, then you must update the "local_recipient_maps" setting in
# the main.cf file, otherwise the SMTP server will reject mail for
# non-UNIX accounts with "User unknown in local recipient table".
#
#fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp
#fallback_transport =
# The luser_relay parameter specifies an optional destination address
# for unknown recipients. By default, mail for unknown@$mydestination,
# unknown@[$inet_interfaces] or unknown@[$proxy_interfaces] is returned
# as undeliverable.
#
# The following expansions are done on luser_relay: $user (recipient
# username), $shell (recipient shell), $home (recipient home directory),
# $recipient (full recipient address), $extension (recipient address
# extension), $domain (recipient domain), $local (entire recipient
# localpart), $recipient_delimiter. Specify ${name?value} or
# ${name:value} to expand value only when $name does (does not) exist.
#
# luser_relay works only for the default Postfix local delivery agent.
#
# NOTE: if you use this feature for accounts not in the UNIX password
# file, then you must specify "local_recipient_maps =" (i.e. empty) in
# the main.cf file, otherwise the SMTP server will reject mail for
# non-UNIX accounts with "User unknown in local recipient table".
#
#luser_relay = $user@other.host
#luser_relay = $local@other.host
#luser_relay = admin+$local
# JUNK MAIL CONTROLS
#
# The controls listed here are only a very small subset. The file
# SMTPD_ACCESS_README provides an overview.
# The header_checks parameter specifies an optional table with patterns
# that each logical message header is matched against, including
# headers that span multiple physical lines.
#
# By default, these patterns also apply to MIME headers and to the
# headers of attached messages. With older Postfix versions, MIME and
# attached message headers were treated as body text.
#
# For details, see "man header_checks".
#
#header_checks = regexp:/etc/postfix/header_checks
# FAST ETRN SERVICE
#
# Postfix maintains per-destination logfiles with information about
# deferred mail, so that mail can be flushed quickly with the SMTP
# "ETRN domain.tld" command, or by executing "sendmail -qRdomain.tld".
# See the ETRN_README document for a detailed description.
#
# The fast_flush_domains parameter controls what destinations are
# eligible for this service. By default, they are all domains that
# this server is willing to relay mail to.
#
#fast_flush_domains = $relay_domains
# SHOW SOFTWARE VERSION OR NOT
#
# The smtpd_banner parameter specifies the text that follows the 220
# code in the SMTP server's greeting banner. Some people like to see
# the mail version advertised. By default, Postfix shows no version.
#
# You MUST specify $myhostname at the start of the text. That is an
# RFC requirement. Postfix itself does not care.
#
#smtpd_banner = $myhostname ESMTP $mail_name
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
# PARALLEL DELIVERY TO THE SAME DESTINATION
#
# How many parallel deliveries to the same user or domain? With local
# delivery, it does not make sense to do massively parallel delivery
# to the same user, because mailbox updates must happen sequentially,
# and expensive pipelines in .forward files can cause disasters when
# too many are run at the same time. With SMTP deliveries, 10
# simultaneous connections to the same domain could be sufficient to
# raise eyebrows.
#
# Each message delivery transport has its XXX_destination_concurrency_limit
# parameter. The default is $default_destination_concurrency_limit for
# most delivery transports. For the local delivery agent the default is 2.
#local_destination_concurrency_limit = 2
#default_destination_concurrency_limit = 20
# DEBUGGING CONTROL
#
# The debug_peer_level parameter specifies the increment in verbose
# logging level when an SMTP client or server host name or address
# matches a pattern in the debug_peer_list parameter.
#
debug_peer_level = 2
# The debug_peer_list parameter specifies an optional list of domain
# or network patterns, /file/name patterns or type:name tables. When
# an SMTP client or server host name or address matches a pattern,
# increase the verbose logging level by the amount specified in the
# debug_peer_level parameter.
#
#debug_peer_list = 127.0.0.1
#debug_peer_list = some.domain
# The debugger_command specifies the external command that is executed
# when a Postfix daemon program is run with the -D option.
#
# Use "command .. & sleep 5" so that the debugger can attach before
# the process marches on. If you use an X-based debugger, be sure to
# set up your XAUTHORITY environment variable before starting Postfix.
#
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
# If you can't use X, use this to capture the call stack when a
# daemon crashes. The result is in a file in the configuration
# directory, and is named after the process name and the process ID.
#
# debugger_command =
# PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont;
# echo where) | gdb $daemon_directory/$process_name $process_id 2>&1
# >$config_directory/$process_name.$process_id.log & sleep 5
#
# Another possibility is to run gdb under a detached screen session.
# To attach to the screen sesssion, su root and run "screen -r
# <id_string>" where <id_string> uniquely matches one of the detached
# sessions (from "screen -list").
#
# debugger_command =
# PATH=/bin:/usr/bin:/sbin:/usr/sbin; export PATH; screen
# -dmS $process_name gdb $daemon_directory/$process_name
# $process_id & sleep 1
# INSTALL-TIME CONFIGURATION INFORMATION
#
# The following parameters are used when installing a new Postfix version.
#
# sendmail_path: The full pathname of the Postfix sendmail command.
# This is the Sendmail-compatible mail posting interface.
#
sendmail_path = /usr/sbin/sendmail
# newaliases_path: The full pathname of the Postfix newaliases command.
# This is the Sendmail-compatible command to build alias databases.
#
newaliases_path = /usr/bin/newaliases
# mailq_path: The full pathname of the Postfix mailq command. This
# is the Sendmail-compatible mail queue listing command.
#
mailq_path = /usr/bin/mailq
# setgid_group: The group for mail submission and queue management
# commands. This must be a group name with a numerical group ID that
# is not shared with other accounts, not even with the Postfix account.
#
setgid_group = postdrop
# html_directory: The location of the Postfix HTML documentation.
#
html_directory = /usr/share/doc/postfix-2.6.7/html
# manpage_directory: The location of the Postfix on-line manual pages.
#
manpage_directory = /usr/share/man
# sample_directory: The location of the Postfix sample configuration files.
# This parameter is obsolete as of Postfix 2.1.
#
sample_directory = /etc/postfix
# readme_directory: The location of the Postfix README files.
#
readme_directory = /usr/share/doc/postfix-2.6.7/readme
# mailware
virtual_mailbox_domains = ldap:/etc/postfix/ldapconf/ldap_internaldomains.cf
virtual_mailbox_base = /
virtual_mailbox_maps = ldap:/etc/postfix/ldapconf/ldap_internalmailbox.cf
virtual_alias_maps = ldap:/etc/postfix/ldapconf/ldap_internal_forward.cf ldap:/etc/postfix/ldapconf/ldap_internalmailbox.cf
virtual_alias_expansion_limit = 25000
virtual_minimum_uid = 2
virtual_uid_maps = static:8
virtual_gid_maps = static:12
transport_maps = hash:/etc/postfix/transport
##################################################################DECOMMENTARE PER ABILITARE DOVECOT
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
#virtual_transport = maildrop
#maildrop_destination_recipient_limit = 1
listcf_destination_recipient_limit = 1
smtpd_restriction_classes = sasl_interface, policy_0
# policy_1, policy_2, policy_3, policy_lists
# LAN
policy_0 = check_policy_service unix:private/lanpolicy
# QXN: destinatario in whitelist
#policy_1 = check_recipient_access ldap:/etc/postfix/ldapconf/ldap_policy_1.cf, check_recipient_access ldap:/etc/postfix/ldapconf/ldap_internal_reject_policy_1.cf, check_policy_service unix:private/qxnlistpolicy, reject
#policy_1 = check_recipient_access ldap:/etc/postfix/ldapconf/ldap_policy_1.cf, check_recipient_access ldap:/etc/postfix/ldapconf/ldap_internal_reject_policy_1.cf, check_recipient_access hash:/etc/postfix/qxnlist, reject
# WWW destinatario in PD
#policy_2 = check_recipient_access ldap:/etc/postfix/ldapconf/ldap_policy_2.cf, check_recipient_access ldap:/etc/postfix/ldapconf/ldap_internal_reject_policy_2.cf, check_policy_service unix:private/internetpolicy, reject
# WWW+QNX
#policy_3 = check_recipient_access ldap:/etc/postfix/ldapconf/ldap_policy_3.cf, check_recipient_access ldap:/etc/postfix/ldapconf/ldap_internal_reject_policy_3.cf, permit
sasl_interface = reject_unknown_sender_domain, reject_authenticated_sender_login_mismatch, reject_unauthenticated_sender_login_mismatch
# policy_lists = check_policy_service unix:private/listpolicy
smtpd_sender_restrictions = sasl_interface, permit_sasl_authenticated, reject
smtpd_recipient_restrictions = check_recipient_access ldap:/etc/postfix/ldapconf/ldap_policygroup.cf, check_sender_access ldap:/etc/postfix/policy_domains.cf, reject_unauth_destination
policy_time_limit = 3600
# Nega l'invio da domini gestiti sugli mx record
# check_mx_access=check_sender_access ldap:/etc/postfix/ldapconf/ldap_internal_mx_reject.cf, permit
# controlla il MAIL FROM con le credenziali di autenticazione sasl
smtpd_sender_login_maps = ldap:/etc/postfix/ldapconf/ldap_sender_mismatch.cf
# antirelay mx internet
# check_internet_access=check_recipient_access ldap:/etc/postfix/ldapconf/ldap_policygroup.cf, check_recipient_access ldap:/etc/postfix/ldapconf/ldap_internal_internet_mailboxes.cf, check_recipient_access ldap:/etc/postfix/ldapconf/ldap_internal_internet_aliases.cf
####Far loggare il Subject su maillog
#header_checks = pcre:/etc/postfix/header_checks
mynetworks = 127.0.0.1, 10.0.11.50, 10.0.8.4, 10.0.8.0/22, 10.0.10.10, 10.0.0.62, 10.0.0.0/24
#always_bcc = gnarwl
# always_bcc = schedulebe
sms_destination_recipient_limit = 1

View File

@ -1,111 +0,0 @@
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd
# -o receive_override_options=no_address_mappings
-o smtpd_sender_restrictions=permit_mynetworks,$check_mx_access
-o smtpd_recipient_restrictions=permit_mynetworks,$check_internet_access,reject_unauth_destination,reject
submission inet n - n - - smtpd
-o smtpd_sasl_auth_enable=yes
-o smtpd_sender_restrictions=permit_mynetworks,$check_mx_access
-o smtpd_recipient_restrictions=permit_mynetworks,$check_internet_access,reject_unauth_destination,reject
smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_sender_restrictions=permit_mynetworks,$check_mx_access
-o smtpd_recipient_restrictions=permit_mynetworks,$check_internet_access,reject_unauth_destination,reject
-o smtpd_tls_key_file=/etc/ssl/dovecot/server.key
-o smtpd_tls_cert_file=/etc/ssl/dovecot/server.cert
-o smtpd_tls_CAfile=/etc/ssl/dovecot/server.pem
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop unix - n n - - pipe
# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/deliver -e -r ${sender} -m ${extension} ${user}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
maildrop unix - n n - - pipe
flags=ODRhu user=mail argv=/usr/bin/maildrop -d ${recipient}
cos-cf unix - n n - 10 pipe
flags=Rq user=mail argv=/etc/postfix/filter.pl -f ${sender} ${recipient}
dovecot unix - n n - - pipe
flags=ODRhu user=mail:mail argv=/usr/local/mmt_scripts/deliver.sh -f ${sender} -d ${recipient}
#dovecot unix - n n - - pipe
# flags=ODRhu user=mail:mail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient}
#Deliver del sieve
#dovecot unix - n n - - pipe
# flags=ODRhu user=mail:mail argv=/opt/dovecot-1.2.8/libexec/dovecot/deliver -f ${sender} -d ${recipient}
#always_bcc=gnarwl
gnarwl unix - n n - - pipe
flags=F user=gnarwl argv=/usr/bin/gnarwl -s ${sender} -a ${recipient}
schedulbe unix - n n - - pipe
flags=F user=schedulbe argv=/root/python/ScheduleBe/schedulebe.py -v
sms unix - n n - - smtp
retry unix - - n - - error
proxywrite unix - - n - 1 proxymap

View File

@ -1,286 +0,0 @@
#!/usr/bin/perl
# author rgiannetto@babel.it, rpolli@babel.it
#
# create the ldif file used to initialize Fedora Directory Server
# with Mailware Collaboration Suite
#
# specify by command line the following arguments:
# first administator domain (ex. babel.it )
# dn (the base dn ex. $dn)
# username - the username of the SA
# password - the password of the SA
# aisle - the name of the mail aisle
use Getopt::Std;
our %opt;
our $domain, $dn, $user, $password, $isola, $addressbooks, $mailAlternateAddress;
my $numArgs = $#ARGV + 1;
if($numArgs < 10) {
printf(STDERR "Usage: mcs-ldapinit.pl -d [dominio] -b [basedn] -s [sa user] -p [sa password] -a [aisle name] [-B addressbook basedn ] [-f output file]]\n");
printf(STDERR "
specify by command line the following arguments:
-d first administator domain (ex. babel.it )
-b dn (the base dn ex. $dn)
-s username - the username of the SA
-p password - the password of the SA
-a aisle - the name of the mail aisle
-B \"db1,db2\" - the databases to create under your server
-f filename.ldif - the output file
EXAMPLE:
# mcs-ldapinit.pl babel.it \"$dn\" sa secret node1 -f base.ldif
# ldapmodify -a -D \"cn=directory manager\" -W -f base.ldif
");
exit(0);
}
getopts('vd:b:s:p:a:B:f:', \%opt); # options as above. Values in %opts
$domain = $opt{'d'};
$dn =$opt{'b'};
$user = $opt{'s'};
$password = $opt{'p'};
$isola = $opt{'a'};
$addressbooks = $opt{'B'};
$mailAlternateAddress = $opt{'m'};
$ldifFileName = $opt{'f'};
if ($opt{'v'}) {
print STDERR "parameters $domain\n$dn\n$user\n$password\n$isola\n$addressbooks\n";
}
sub create_calendar_ldif() {
open (FH, ">>$ldifFileName")
or die("Cannot create $ldifFileName: ".$!);
printf(FH "dn: uid=caladmin,ou=People,$dn\n");
printf(FH "changetype: add\n");
printf(FH "businessCategory: sa\n");
printf(FH "userPassword: $password\n");
printf(FH "mail: caladmin\n");
printf(FH "uid: caladmin\n");
printf(FH "givenName: caladmin\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: person\n");
printf(FH "objectClass: organizationalPerson\n");
printf(FH "objectClass: inetorgperson\n");
printf(FH "objectClass: mailrecipient\n");
printf(FH "objectClass: babmware\n");
printf(FH "objectClass: babmwcompany\n");
printf(FH "sn: caladmin\n");
printf(FH "cn: caladmin caladmin\n");
printf(FH "\n");
printf(FH "\n");
printf(FH "dn: uid=public-user,ou=People,$dn\n");
printf(FH "changetype: add\n");
printf(FH "mail: public-user\n");
printf(FH "uid: public-user\n");
printf(FH "givenName: public\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: person\n");
printf(FH "objectClass: organizationalPerson\n");
printf(FH "objectClass: inetorgperson\n");
printf(FH "sn: user\n");
printf(FH "cn: public user\n");
printf(FH "\n");
printf(FH "dn: uid=realtime01,ou=People,$dn\n");
printf(FH "changetype: add\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: person\n");
printf(FH "objectClass: organizationalPerson\n");
printf(FH "objectClass: inetOrgPerson\n");
printf(FH "objectClass: babmwcompany\n");
printf(FH "mail: realtime01\n");
printf(FH "givenName: realtime01\n");
printf(FH "uid: realtime01\n");
printf(FH "sn: realtime01\n");
printf(FH "cn: realtime01\n");
printf(FH "businessCategory: sa\n");
printf(FH "\n");
close(FH);
}
sub create_ldif() {
open (FH, ">$ldifFileName")
or die("Cannot create $ldifFileName: ".$!);
printf(FH "# Service Administrators \n");
printf(FH "# the tree of the MCS administration\n");
printf(FH "dn: ou=Service Administrators,$dn\n");
printf(FH "changetype: add\n");
printf(FH "description: Tree containing all Service Administrators\n");
printf(FH "ou: Service Administrators\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: organizationalunit\n");
printf(FH "\n");
printf(FH "# The first administrator\n");
printf(FH "# $user, Service Administrators, $domain\n");
printf(FH "dn: uid=$user,ou=Service Administrators,$dn\n");
printf(FH "changetype: add\n");
printf(FH "mail: $user\@$domain\n");
printf(FH "uid: $user\n");
printf(FH "givenName: Service\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: person\n");
printf(FH "objectClass: organizationalPerson\n");
printf(FH "objectClass: inetorgperson\n");
printf(FH "objectClass: babmwcompany\n");
printf(FH "objectClass: mailrecipient\n");
printf(FH "sn: Administrator\n");
printf(FH "cn: Service Administrator\n");
printf(FH "userPassword: $password\n");
printf(FH "businessCategory: sa\n");
# !!! DOESN'T WORK !!!
# printf(FH "mailAlternateAddress: $mailAlternateAddress\n");
printf(FH "\n");
printf(FH "# sa role, $domain\n");
printf(FH "dn: cn=sa role,$dn\n");
printf(FH "changetype: add\n");
printf(FH "nsRoleFilter: (&(businesscategory=sa)(objectclass=inetorgperson)(objectclass=babmwcompany))\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: ldapsubentry\n");
printf(FH "objectClass: nsroledefinition\n");
printf(FH "objectClass: nscomplexroledefinition\n");
printf(FH "objectClass: nsfilteredroledefinition\n");
printf(FH "cn: sa role\n");
printf(FH "\n");
printf(FH "# sa role, aci\n");
printf(FH "dn: $dn\n");
printf(FH "changetype: modify\n");
printf(FH "add: aci\n");
printf(FH "ACI: (targetattr = \"*\") (version 3.0;acl \"SA administration\";allow (all)(roledn = \"ldap:///cn=SA role,$dn\");)\n");
printf(FH "\n");
printf(FH "# isola-mcs, $domain\n");
printf(FH "dn: node=$isola, $dn\n");
printf(FH "changetype: add\n");
printf(FH "node: $isola\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: babmwcompany\n");
printf(FH "\n");
if (defined $addressbooks) {
foreach my $i (split(/[, ]+/, $addressbooks)) {
printf(FH "# Create database and BackendInstance for storing personal contacts\n");
printf(FH "dn: cn=Addressbook%s,cn=ldbm database,cn=plugins,cn=config\n", $i);
printf(FH "changetype: add\n");
printf(FH "objectclass: extensibleObject\n");
printf(FH "objectclass: nsBackendInstance\n");
printf(FH "nsslapd-suffix: o=%s\n", $i);
printf(FH "\n");
printf(FH "dn: cn=\"o=%s\",cn=mapping tree,cn=config\n", $i);
printf(FH "changetype: add\n");
printf(FH "objectclass: top\n");
printf(FH "objectclass: extensibleObject\n");
printf(FH "objectclass: nsMappingTree\n");
printf(FH "nsslapd-state: backend\n");
printf(FH "nsslapd-backend: Addressbook%s\n", $i);
printf(FH "cn: \"o=%s\"\n", $i);
printf(FH "\n");
printf(FH "dn: o=%s\n",$i);
printf(FH "changetype: add\n");
printf(FH "objectclass: top\n");
printf(FH "objectclass: organization\n");
printf(FH "o: %s\n", $i);
printf(FH "\n");
}
}
printf(FH "dn: o=example,node=$isola, $dn\n");
printf(FH "changetype: add\n");
printf(FH "maxusers: 1000\n");
printf(FH "aci: (targetattr=cn||userpassword||skypename||mailforwardingaddress||secretary||vacationstatus||vacationmessage||l||st||postalcode||postaladdress||telephonenumber||facsimiletelephonenumber||newuser||pwdreminderquestion||pwdreminderanswer)(version 3.0; acl \"SelfWrite\"; allow (read,write)(userdn=\"ldap:///self\");)\n");
printf(FH "aci: (targetattr = \"subschemaSubentry || companyUsedQuota\") (version 3.0;acl \"admin update used quota\";allow (read,compare,search,write)(roledn = \"ldap:///cn=admin role,o=example,node=$isola, $dn\");)\n");
printf(FH "companyUsedQuota: 0\n");
printf(FH "o: example\n");
printf(FH "companyQuota: 102400\n");
printf(FH "companyvatnumber: 1234567890\n");
printf(FH "mailHost: localhost\n");
printf(FH "mailUserAgentHost: 127.0.0.1\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: organization\n");
printf(FH "objectClass: babmwcompany\n");
printf(FH "maxsms: 10000\n");
printf(FH "maxfax: 10000\n");
printf(FH "\n");
printf(FH "dn: cn=admin role,o=example,node=$isola, $dn\n");
printf(FH "changetype: add\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: ldapsubentry\n");
printf(FH "objectClass: nsroledefinition\n");
printf(FH "objectClass: nscomplexroledefinition\n");
printf(FH "objectClass: nsfilteredroledefinition\n");
printf(FH "nsRoleFilter: (&(businesscategory=companymanager)(objectclass=inetorgperson)(objectclass=babmwcompany))\n");
printf(FH "cn: admin role\n");
printf(FH "\n");
printf(FH "dn: cn=cosindicator,o=example,node=$isola, $dn\n");
printf(FH "changetype: add\n");
printf(FH "aci: (targetattr = \"*\") (version 3.0;acl \"Company Manager Cos administrator\";allow (all)(roledn = \"ldap:///cn=admin role,o=example,node=$isola, $dn\");)\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: cossuperdefinition\n");
printf(FH "objectClass: cosindirectdefinition\n");
printf(FH "objectClass: ldapSubEntry\n");
printf(FH "cosAttribute: maildirquota\n");
printf(FH "cosAttribute: mailmaxmessagesize\n");
printf(FH "cosAttribute: maildirwarn1\n");
printf(FH "cosAttribute: maildirwarn2\n");
printf(FH "cosAttribute: maildirwarn3\n");
printf(FH "cosAttribute: smsenabled\n");
printf(FH "cosAttribute: faxenabled\n");
printf(FH "cosAttribute: imenabled\n");
printf(FH "cosAttribute: syncmlenabled\n");
printf(FH "cosAttribute: gigaenabled\n");
printf(FH "cosAttribute: mailcollectorenabled\n");
printf(FH "cosIndirectSpecifier: manager\n");
printf(FH "cn: cosindicator\n");
printf(FH "\n");
printf(FH "dn: dc=example.com,o=example,node=$isola, $dn\n");
printf(FH "changetype: add\n");
printf(FH "dc: example.com\n");
printf(FH "calCalURI: http://localhost:8080/ucaldav/\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: domain\n");
printf(FH "objectClass: babmwcompany\n");
printf(FH "objectClass: calentry\n");
printf(FH "\n");
printf(FH "dn: ou=People,dc=example.com,o=example,node=$isola, $dn\n");
printf(FH "changetype: add\n");
printf(FH "aci: (targetattr = \"*\") (version 3.0;acl \"Company Manager People\";allow (all)(roledn = \"ldap:///cn=admin role,o=example,node=$isola, $dn\");)\n");
printf(FH "ou: People\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: organizationalunit\n");
printf(FH "\n");
printf(FH "dn: ou=Groups,dc=example.com,o=example,node=$isola, $dn\n");
printf(FH "changetype: add\n");
printf(FH "aci: (targetattr = \"*\") (version 3.0;acl \"Company Manager Groups\";allow (all)(roledn = \"ldap:///cn=admin role,o=example,node=$isola, $dn\");)\n");
printf(FH "ou: Groups\n");
printf(FH "objectClass: top\n");
printf(FH "objectClass: organizationalunit\n");
printf(FH "\n");
close(FH);
}
sub create_balance() {
$addressbooks =~ s/ +//g;
my $command = "bash -c './balance.sh $isola:ldap://localhost:389/{$addressbooks}'";
print STDERR "executing $command\n" if ($opt{'v'});
system($command) == 0
or die("Error creating balance.xml");
}
sub main() {
&create_ldif;
&create_calendar_ldif;
# &create_balance;
}
&main;

View File

@ -1,16 +0,0 @@
#!/bin/sh
# setup ISOLINUX background
cp /sabayon/remaster/mcs/isolinux/back.jpg "${CDROOT_DIR}/isolinux/back.jpg" || exit 1
# execute parent script
/sabayon/scripts/generic_pre_iso_script.sh MCS || exit 1
echo "Copying new kernel images over"
boot_kernel=$(find "${CHROOT_DIR}/boot" -name "kernel-*" | sort | head -n 1)
boot_ramfs=$(find "${CHROOT_DIR}/boot" -name "initramfs-*" | sort | head -n 1)
cp "${boot_kernel}" "${CDROOT_DIR}/boot/sabayon" || exit 1
cp "${boot_ramfs}" "${CDROOT_DIR}/boot/sabayon.igz" || exit 1
# Setup default splash theme
sed -i "s/theme:sabayon/theme:babel/g" "${CDROOT_DIR}/isolinux/txt.cfg" || exit 1

View File

@ -1,21 +0,0 @@
#!/bin/sh
env-update
source /etc/profile
export FORCE_EAPI=2
equo update
if [ "${?}" != "0" ]; then
sleep 1200 || exit 1
equo update || exit 1
fi
# unmask apache with worker MPM
equo unmask www-servers/apache[threads]
# mask regular one
equo mask www-servers/apache[-threads]
# better installing sun-jdk here, to make packages_to_install happy
equo install sun-jdk
java-config -S sun-jdk
env-update

View File

@ -1,240 +0,0 @@
#!/bin/sh
env-update
source /etc/profile
# merge config updates first
echo -5 | equo conf update
# make sure that sun-jdk is in use
java-config -S sun-jdk || exit 1
# Create OEM directory
mkdir -p /etc/oem
# Setup fbsplash (babel theme)
mv /.mcs/fbsplash-babel /etc/splash/babel || exit 1
chown root:root /etc/splash/babel -R || exit 1
echo "babel" > /etc/oem/splash_name || exit 1
# update initramfs with new splash data
for img in /boot/initramfs-genkernel-*; do
splash_geninitramfs -a "${img}" babel || exit 1
done
# copy background over
cp /.mcs/background/* /usr/share/backgrounds/ -R || exit 1
chown root:root /usr/share/backgrounds/ -R || exit 1
# setup background in /etc/skel
for file in `find /etc/skel -type f`; do
sed -i "s:/usr/share/backgrounds/sabayonlinux.jpg:/usr/share/backgrounds/background-mailware.jpg:g" "${file}"
sed -i "s:/usr/share/backgrounds/sabayonlinux.png:/usr/share/backgrounds/background-mailware.png:g" "${file}"
done
sed -i "s:/usr/share/backgrounds/sabayonlinux.png:/usr/share/backgrounds/background-mailware.png:g" /etc/init.d/installer-gui
# setup Desktop icons
rm /etc/skel/Desktop/*.desktop
cp /usr/share/applications/keyboard.desktop /etc/skel/Desktop/ -p
cp /usr/share/applications/389-console*.desktop /etc/skel/Desktop/ -p
cp /.mcs/desktop/* /etc/skel/Desktop -R
chmod +x /etc/skel/Desktop/*
chown root:root /etc/skel/Desktop -R
# Setup Firefox
for file in `find /etc/skel/.mozilla -name prefs.js`; do
sed -i 's:sabayon.org:babel.it:g' "${file}"
done
mkdir -p /etc/skel/.local/share/applications
echo "[Added Associations]" >> /etc/skel/.local/share/applications/mimeapps.list
echo "application/octet-stream=firefox.desktop;" >> /etc/skel/.local/share/applications/mimeapps.list
# Setup init scripts
cp /.mcs/mcs-functions.sh /sbin/mcs-functions.sh
chmod 755 /sbin/mcs-functions.sh
chown root:root /sbin/mcs-functions.sh
cp /.mcs/mcs-oemsystem-default /etc/init.d/oemsystem-default
chmod 755 /etc/init.d/oemsystem-default
chown root:root /etc/init.d/oemsystem-default
rc-update add oemsystem-default default
# setup fqdn
sed -i 's/sabayon/localhost.localdomain example.com sabayon/g' /etc/hosts
sed -i 's/sabayon/localhost.localdomain/g' /etc/conf.d/hostname
# setup fqdn in 389-admin, stop annoying apache crap
sed -i '/^#ServerName/ s/.*/ServerName localhost.localdomain/g' /etc/dirsrv/admin-serv/httpd.conf || exit 1
# setup MySQL
# Fixup mysqld permissions, ebuild bug?
chown mysql:mysql /var/run/mysqld -R
echo "password=mcsmanager" > /root/.my.cnf || exit 1
HOSTNAME="somethingelse" equo config dev-db/mysql || exit 1
if [ "${?}" != "0" ]; then
exit 1
fi
rm /root/.my.cnf -f
# setup password
sed -i '/^#password/ s/your_password/mcsmanager/g' /etc/mysql/my.cnf || exit 1
sed -i '/^#password/ s/#//g' /etc/mysql/my.cnf || exit 1
# start and insert data
echo "Setting up mysql"
/etc/init.d/mysql start --nodeps || exit 1
mysql -u root --password=mcsmanager -h localhost < /.mcs/mwsql.sql
mysql -u root --password=mcsmanager -h localhost < /.mcs/mwsql-user.sql
mysql -u root --password=mcsmanager -h localhost < /.mcs/bedework.sql
mysql -u root --password=mcsmanager -h localhost < /.mcs/bedework_init.sql
/etc/init.d/mysql stop --nodeps
# setup 389-console data
mkdir /etc/skel/.389-console
echo "UserID=admin
HostURL=http\://localhost\:9830
" > /etc/skel/.389-console/Console.1.1.5.Login.preferences
# Setup Postfix
echo "Setting up Postfix"
cp /.mcs/postfix/main.cf /etc/postfix/main.cf || exit 1
cp /.mcs/postfix/master.cf /etc/postfix/master.cf || exit 1
cp /.mcs/postfix/ldapconf /etc/postfix/ldapconf -Rp || exit 1
chown root:root /etc/postfix/{main,master}.cf || exit 1
chmod 644 /etc/postfix/{main,master}.cf || exit 1
chmod 755 /etc/postfix/ldapconf || exit 1
chmod 644 /etc/postfix/ldapconf/*.cf || exit 1
chown root:root /etc/postfix/ldapconf -R || exit 1
( cd /etc/mail && newaliases ) || exit 1
touch /etc/postfix/transport || exit 1
( cd /etc/postfix && postmap hash:/etc/postfix/transport ) || exit 1
mkdir /var/spool/filter || exit 1
chown mail:mail /var/spool/filter || exit 1
chmod 775 /var/spool/filter || exit 1
# mmt_scripts
cp /.mcs/mmt_scripts /usr/local/ -Rp || exit 1
chown root:root /usr/local/mmt_scripts -R || exit 1
chmod 755 /usr/local/mmt_scripts/* -R || exit 1
chmod 755 /usr/local/mmt_scripts || exit 1
# temp unpack jboss-deploy.tar.bz2
echo "Unpacking jboss-deploy data"
tar xjf /.mcs/jboss-deploy.tar.bz2 -C /tmp || exit 1
jboss_deploy="/tmp/jboss-deploy"
if [ ! -d "${jboss_deploy}" ]; then
echo "${jboss_deploy} not a dir"
exit 1
fi
# copy mcs-ldapinit.pl somewhere, it will be used to setup mcs ldap schema at runtime
cp /.mcs/scripts/mcs-ldapinit.pl /usr/sbin/ || exit 1
chmod +x /usr/sbin/mcs-ldapinit.pl || exit 1
chown root:root /usr/sbin/mcs-ldapinit.pl || exit 1
## Setup MCS
# copy jboss data over
echo "Copying jboss-bin deploy data over"
cp /tmp/jboss-deploy/* /opt/jboss-bin-4.2/server/default/deploy/ -Rp || exit 1
chown jboss:jboss /opt/jboss-bin-4.2/server/default/deploy/ -R || exit 1
rm -r /tmp/jboss-deploy || exit 1
# setup jboss login info
cp /.mcs/mailware-jboss-conf/login-config.xml /opt/jboss-bin-4.2/server/default/conf/login-config.xml || exit 1
chown jboss:jboss /opt/jboss-bin-4.2/server/default/conf/login-config.xml || exit 1
cp /.mcs/mailware-jboss-conf/jboss-log4j.xml /opt/jboss-bin-4.2/server/default/conf/jboss-log4j.xml || exit 1
chown jboss:jboss /opt/jboss-bin-4.2/server/default/conf/jboss-log4j.xml || exit 1
# temp fix (waiting for updated pkgs) for 389-ds dir perms
chmod 755 /var/lock/dirsrv || exit 1
chmod 755 /var/lib/dirsrv || exit 1
# setup 389 schema
cp /.mcs/389-mailware-schema/* /etc/dirsrv/schema/ || exit 1
chown root:root /etc/dirsrv/schema/*.ldif -R || exit 1
# setup config
cp /.mcs/mailware-sabayon-conf/web/WEB-INF/balance.xml /opt/jboss-bin-4.2/server/default/deploy/MailWare-Manager.war/WEB-INF/balance.xml || exit 1
cp /.mcs/mailware-sabayon-conf/web/WEB-INF/conf/axis2.xml /opt/jboss-bin-4.2/server/default/deploy/MailWare-Manager.war/WEB-INF/conf/axis2.xml || exit 1
# setup MySQL jdbc connector
echo "setting up MySQL jdbc connector"
ln -s /usr/share/jdbc-mysql/lib/jdbc-mysql.jar /opt/jboss-bin-4.2/server/default/lib/ || exit 1
# setup MCS MySQL password
sed -i "s:<password>password</password>:<password>mcsmanager</password>:g" /opt/jboss-bin-4.2/server/default/deploy/mailware-collaboration-mysql-ds.xml || exit 1
sed -i "s:<password>password</password>:<password>mcsmanager</password>:g" /opt/jboss-bin-4.2/server/default/deploy/bedework-mysql-ds.xml || exit 1
sed -i "s:org.bedework.global.jdbcpw=.*:org.bedework.global.jdbcpw=mcsmanager:g" /opt/jboss-bin-4.2/server/default/deploy/rpical.ear/properties/calendar/env.properties || exit 1
sed -i "s:mailware1.babel.it:localhost:g" /opt/jboss-bin-4.2/server/default/deploy/*/WEB-INF/classes/mw-collaboration.properties || exit 1
sed -i "s:mailware1:localhost:g" /opt/jboss-bin-4.2/server/default/deploy/*/WEB-INF/classes/mw-collaboration.properties || exit 1
mkdir /maildirs || exit 1
chown mail:mail /maildirs -R || exit 1
# Setup dovecot
cp /.mcs/dovecot*.conf /etc/dovecot/ || exit 1
chown root:root /etc/dovecot/dovecot*.conf || exit 1
chmod 644 /etc/dovecot/dovecot*.conf || exit 1
touch /etc/dovecot/passwd.masterusers || exit 1
# Setup ejabberd, why do I need to enable shell for ejabberd-babel?
usermod -s /bin/sh jabber || exit 1
usermod -d /home/jabber -m jabber || exit 1
mkdir -p /home/jabber || exit 1
chown jabber:jabber /home/jabber -R || exit 1
# Copy babel configuration file over
cp /.mcs/ejabberd.cfg.vanilla.working /etc/jabber/ejabberd.cfg || exit 1
chown root:jabber /etc/jabber/ejabberd.cfg || exit 1
chmod 640 /etc/jabber/ejabberd.cfg || exit 1
# add services to init
# autostarted by the mcs setup script
## rc-update add 389-ds default
## rc-update add 389-admin default
rc-update add 389-ds-snmp default
rc-update add jboss-bin-4.2 default
rc-update add mysql default
rc-update add dovecot default
rc-update add postfix default
rc-update add ejabberd default
# remove unused services from init
rc-update del sabayon-mce default
rc-update del sabayon-mce boot
rc-update del music default
# remove temp .mcs dir
rm /.mcs -rf
# Sabayon stuff
echo "Working out Sabayon stuff"
rm -rf /install-data || exit 1
rm -rf /usr/share/sabayon/xdg || exit 1
rm -rf /usr/share/applications/sabayon-*.desktop
mount -t proc proc /proc
/lib/rc/bin/rc-depend -u
echo "Vacuum cleaning client db"
rm /var/lib/entropy/client/database/*/sabayonlinux.org -rf
rm /var/lib/entropy/client/database/*/sabayon-weekly -rf
equo rescue vacuum
# cleanup log dir
rm /var/lib/entropy/logs -rf
# Generate openrc cache
touch /lib/rc/init.d/softlevel
/etc/init.d/savecache start
/etc/init.d/savecache zap
ldconfig
ldconfig
umount /proc
equo deptest --pretend
emaint --fix world
# remove non-interactive settings
rm /etc/env.d/00mcs-etp-noninteractive -f
rm -rf /var/lib/entropy/*cache*

View File

@ -1,13 +0,0 @@
#!/bin/sh
# call parent script
/sabayon/scripts/remaster_pre.sh
# copy mcs data over
mkdir -p "${CHROOT_DIR}/.mcs"
cp /sabayon/remaster/mcs/* "${CHROOT_DIR}"/.mcs/ -Rap
# setup non-interactive mode
echo "ETP_NONINTERACTIVE=1" > "${CHROOT_DIR}"/etc/env.d/00mcs-etp-noninteractive
exit 0