FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
middleware:postfix:index.html [2018/01/27 01:26] kurihara |
middleware:postfix:index.html [2019/02/11 00:46] (current) kurihara |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| \\ | \\ | ||
| - | ===== Postfix Operation ===== | + | ===== Postfix Operation |
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| $ fab -l |grep postfix | $ fab -l |grep postfix | ||
| Line 16: | Line 16: | ||
| </ | </ | ||
| + | \\ | ||
| + | ==== Fabric Temporary Run Call Examples ==== | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| $ H=test-server-1, | $ H=test-server-1, | ||
| - | $ fab -H $H auth.pro | + | $ fab -H $H |
| + | |||
| + | $ fab -H $H -- sudo systemctl status postfix | ||
| + | $ fab -H $H -- sudo systemctl restart postfix | ||
| + | |||
| + | $ fab -H $H -- postconf | ||
| + | $ fab -H $H -- postconf -n # Display only parameters different from default | ||
| + | $ fab -H $H -- postconf -d # list default configuraiton | ||
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- "ls / |
| - | $ fab -H $H auth.pro | + | $ fab -H $H -- " |
| + | $ fab -H $H -- " | ||
| + | $ fab -H $H -- postcat | ||
| </ | </ | ||
| + | |||
| Line 51: | Line 64: | ||
| @task | @task | ||
| def postfix.check_queue_num(): | def postfix.check_queue_num(): | ||
| + | """ | ||
| # | # | ||
| sudo(" | sudo(" | ||
| Line 59: | Line 73: | ||
| \\ | \\ | ||
| - | ===== Postfix Configuration ===== | + | ===== Postfix Configuration |
| - | *[[middleware: | + | *[[middleware: |
| + | *[[middleware: | ||
| + | *[[middleware: | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.