blob: 63aacab8b4f5f7576a52304b9df8a5b26ed3e027 [file] [log] [blame]
# ============================================= BlobStore Implementation ==================================
# Read https://james.apache.org/server/config-blobstore.html for further details
# Choose your BlobStore implementation
# Mandatory, allowed values are: cassandra, s3, hybrid
# hybrid is using both objectstorage for unfrequently read or big blobs & cassandra for small, often read blobs
implementation=s3
# ============================================== ObjectStorage ============================================
# ========================================= ObjectStorage Buckets ==========================================
# bucket names prefix
# Optional, default no prefix
# objectstorage.bucketPrefix=prod-
# Default bucket name
# Optional, default is bucketPrefix + `default`
objectstorage.namespace=${env:OS_NAMESPACE}
# ========================================= ObjectStorage on S3 =============================================
objectstorage.s3.region=${env:OS_S3_REGION}
objectstorage.s3.endPoint=${env:OS_S3_ENDPOINT}
objectstorage.s3.accessKeyId=${env:OS_S3_ACCESSKEYID}
objectstorage.s3.secretKey=${env:OS_S3_SECRETKEY}
# ============================================ Blobs Exporting ==============================================
# Read https://james.apache.org/server/config-blob-export.html for further details
# Choosing blob exporting mechanism, allowed mechanism are: localFile, linshare
# LinShare is a file sharing service, will be explained in the below section
# Optional, default is localFile
blob.export.implementation=localFile
# ======================================= Local File Blobs Exporting ========================================
# Optional, directory to store exported blob, directory path follows James file system format
# default is file://var/blobExporting
blob.export.localFile.directory=file://var/blobExporting
# ======================================= LinShare File Blobs Exporting ========================================
# LinShare is a sharing service where you can use james, connects to an existing LinShare server and shares files to
# other mail addresses as long as those addresses available in LinShare. For example you can deploy James and LinShare
# sharing the same LDAP repository
# Mandatory if you choose LinShare, url to connect to LinShare service
# blob.export.linshare.url=http://linshare:8080
# ======================================= LinShare Configuration BasicAuthentication ===================================
# Authentication is mandatory if you choose LinShare, TechnicalAccount is need to connect to LinShare specific service.
# For Example: It will be formalized to 'Authorization: Basic {Credential of UUID/password}'
# blob.export.linshare.technical.account.uuid=Technical_Account_UUID
# blob.export.linshare.technical.account.password=password