PROBLEM
How can I administer atmail obj.store()?
ENVIRONMENT
- atmail mail server
- atmail suite
- atmail obj.store()
CAUSE
Administration requirement.
RESOLUTION
Before you attempt to configure the atmail obj.store() plugin, please make sure you have reviewed the following documentation:
Administration
The following basic commands can be used to administer your atmail store(obj) functionality.
doveadm objbox sync
- Sync (sync) all attachments within the /sis/ directory to the end point (-u) and then verify (-v) for the domain test.com. Only attachments that meet the requirements set by the
serialize_attach_size_gt = 1m
variable will be uploaded.
root@localhost sis]# doveadm objbox sync -d /sis/test.com -u test.com -v;
upload[13158]: (https://s3.amazonaws.com/......./47/e1/47e1c64c2c978cdd54ef14234ef50cb3e5418dc7) - (200:OK) (*) - Remove files (-x) for the domain (-d) test.com from local storage after they have been synced.
[root@localhost sis]# doveadm objbox sync -d /sis/test.com -u test.com -x;
verify[13161]: (https://s3.amazonaws.com/....../47/e1/47e1c64c2c978cdd54ef14234ef50cb3e5418dc7) - same (v)
doveadm objbox msync:
Usage
-o = endpoint
-p = threading 1
-v verify
-x delete local
-u mike
Sync all attachments to object storage end-point and remove locally.
[root@localhost sis]# doveadm objbox msync -o test.com -p 1 -v -x -u mike@test.com search before 10s larger 1M
upload[13474]: (https://s3.amazonaws.com/35/ea/35ea37e876c2d4d4629063755f0b7162aca15dc2) - (200:OK) (*)
- /sis/test.com/47/e1/47e1c64c2c978cdd54ef14234ef50cb3e5418dc7-d2e94035a5afcd592d33000011fcb210 (x) : not found
verify[13474]: (https://s3.amazonaws.com/35/ea/35ea37e876c2d4d4629063755f0b7162aca15dc2) - same (v)
- /sis/test.com/47/e1/47e1c64c2c978cdd54ef14234ef50cb3e5418dc7-e64d9c36a5afcd592133000011fcb210 (x) : not found
Further information about search functionality for msync can be found within the dovecot documentation.
Comments