Page Menu
Home
WMGMC Issues
搜索
Configure Global Search
登录
Files
F15916
whitelist_forwardinghosts.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
订阅
标记用于日后
授予令牌
Size
317 B
Referenced Files
None
订阅者
None
whitelist_forwardinghosts.sh
View Options
#!/bin/bash
while
read
QUERY
;
do
QUERY
=(
$QUERY
)
if
[
"
${
QUERY
[0]
}
"
!
=
"get"
]
;
then
echo
"500 dunno"
continue
fi
result
=
$(
curl
-s
http://nginx:8081/forwardinghosts.php?host
=
${
QUERY
[1]
}
)
logger
-t
whitelist_forwardinghosts
-p
mail.info
"Look up
${
QUERY
[1]
}
on whitelist, result
$result
"
echo
${
result
}
done
File Metadata
详情
附加的
Mime Type
text/x-shellscript
Expires
9月 9 Tue, 5:49 AM (10 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5234
默认替代文本
whitelist_forwardinghosts.sh (317 B)
Attached To
Mode
rMAILCOW mailcow-tracking
附加的
Detach File
Event Timeline
Log In to Comment