mirror of
https://github.com/1f349/lotus.git
synced 2024-12-22 16:14:07 +00:00
6 lines
197 B
Bash
6 lines
197 B
Bash
#!/bin/bash
|
|
virtual_alias_maps=$(postconf -h smtpd_sender_login_maps)
|
|
alias_to_lookup="$1"
|
|
result=$(echo "$virtual_alias_maps" | xargs -I {} postmap -q "$alias_to_lookup" {})
|
|
echo "result=$result"
|