Initial commit
This commit is contained in:
commit
529efd53a1
140 changed files with 10310 additions and 0 deletions
22
sudo_cmd/.off/mail-sync-fwd.sh
Executable file
22
sudo_cmd/.off/mail-sync-fwd.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh -x
|
||||
|
||||
# ver.20120623-01
|
||||
|
||||
. /home/web/default/petar.company/sudo_cmd/tools.cfg
|
||||
|
||||
### Inizio batch
|
||||
cd ${QUEUEDIR}
|
||||
|
||||
### Creazione local-host-names
|
||||
cat ${LHN_SRC_TOP} ${LHN_SRC_FILE} > ${LHN_DST_FILE}
|
||||
|
||||
### Creazione virtusertable
|
||||
cat ${VIRT_SRC_TOP} ${VIRT_SRC_FILE} > ${VIRT_DST_FILE}
|
||||
cp ${VIRT_DST_FILE} /etc/mail/virtusertable
|
||||
cp ${VIRT_DST_FILE} ${VIRT_DST_ARCH}
|
||||
|
||||
### Restart servizi
|
||||
cd /etc/mail
|
||||
make
|
||||
make stop
|
||||
make start
|
||||
Loading…
Add table
Add a link
Reference in a new issue