14 lines
444 B
Bash
Executable File
14 lines
444 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
# mis à jour du filtre (si pas de ./build)
|
|
cd $(dirname $0)/..
|
|
for i in eMailShrinker filter.sh filterTest.sh; do
|
|
docker cp "postfix/filter/$i" sympaServ:/home/filter/
|
|
done
|
|
#Correction des droits sur le filter.sh
|
|
docker exec sympaServ chmod a+rx /home/filter/filter.sh /home/filter/filterTest.sh
|
|
|
|
# limitation du filter.sh
|
|
docker exec -it sympaServ bash -c "cp /home/filter/config/filter-20241109.sh /home/filter/filter.sh"
|