To backup mail-in-a-box to AWS S3 you need:
- Have a AWS account
- Create a S3 bucket to store the backups (you will need to note the region)
- Create a group, e.g. backup-email-group, with the single policy shown bellow
- Create a IAM user with programmatic access as a member of the backup-email-group. Note down the Access key and Secret Access Key
This policy was posted in the mail-in-a-box forums.{ "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Allow", "Action": "s3:ListBucket", "Resource": "arn:aws:s3:::my-bucket-name" }, { "Sid": "VisualEditor1", "Effect": "Allow", "Action": [ "s3:PutObject", "s3:GetObject", "s3:DeleteObject" ], "Resource": "arn:aws:s3:::my-bucket-name/*" } ] }