2023-08-23 16:17:01 +01:00
|
|
|
#!/bin/bash
|
2023-11-27 00:40:15 +00:00
|
|
|
virtual_alias_maps=$(postconf -h smtpd_sender_login_maps)
|
2023-08-23 16:17:01 +01:00
|
|
|
alias_to_lookup="$1"
|
|
|
|
result=$(echo "$virtual_alias_maps" | xargs -I {} postmap -q "$alias_to_lookup" {})
|
|
|
|
echo "result=$result"
|