Mod:Postfix Made DKIM selector variable
This so multiple servers useing Web-V2 can send from the same domain Now using odksec for host selector var and odkdomsec for domain selector var
This commit is contained in:
@@ -7,6 +7,11 @@ if [ $IMODE = n ]; then
|
||||
mailas=$(whiptail --nocancel --inputbox " Enter mail addres for sending mail?" 11 78 --title "Config" 3>&1 1>&2 2>&3)
|
||||
maildomain=$(sed -e 's/[^@]*@//' <<< "$mail")
|
||||
fi
|
||||
if (whiptail --title "Config" --yesno " Use default DKIM selector [vps]?" 11 78); then
|
||||
odkdomsec=vps
|
||||
else
|
||||
odkdomsec=$(whiptail --nocancel --inputbox " Enter DKIM selector" 11 78 --title "Config" 3>&1 1>&2 2>&3)
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $IMODE = l ]; then
|
||||
@@ -25,4 +30,17 @@ if [ $IMODE = l ]; then
|
||||
* )echo "Choose yes or no.";;
|
||||
esac
|
||||
done
|
||||
while true; do
|
||||
read -p "Use default DKIM selector [vps]? (y/n)" yn
|
||||
case $yn in
|
||||
[Yy]* )
|
||||
odkdomsec=vps
|
||||
break;;
|
||||
[Nn]* )
|
||||
echo 'Enter DKIM selector? '
|
||||
read odkdomsec
|
||||
break;;
|
||||
* )echo "Choose yes or no.";;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
Reference in New Issue
Block a user