mirror of
https://github.com/1f349/lotus.git
synced 2024-11-09 22:52:53 +00:00
Fix postfix lookup.sh
This commit is contained in:
parent
19a112ed2d
commit
3050806f46
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
virtual_alias_maps=$(postconf -h virtual_alias_maps | tr ',' '\n')
|
virtual_alias_maps=$(postconf -h smtpd_sender_login_maps)
|
||||||
alias_to_lookup="$1"
|
alias_to_lookup="$1"
|
||||||
result=$(echo "$virtual_alias_maps" | xargs -I {} postmap -q "$alias_to_lookup" {})
|
result=$(echo "$virtual_alias_maps" | xargs -I {} postmap -q "$alias_to_lookup" {})
|
||||||
echo "result=$result"
|
echo "result=$result"
|
||||||
|
Loading…
Reference in New Issue
Block a user