diff options
Diffstat (limited to 'amavis')
-rwxr-xr-x | amavis/amavis.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/amavis/amavis.sh b/amavis/amavis.sh new file mode 100755 index 0000000..670e3c4 --- /dev/null +++ b/amavis/amavis.sh @@ -0,0 +1,5 @@ +#!/bin/sh +su - amavis -c 'razor-admin -create' +su - amavis -c 'razor-admin -register' || su - amavis -c 'razor-admin -register' || su - amavis -c 'razor-admin -register' \ + || echo "Run this command until it succeeds: \"su - amavis -c 'razor-admin -register'\"" +su amavis -c 'sa-learn --sync' |