Exim/commands/exim_forwardadd.sh
2016-10-06 01:04:03 +02:00

9 lines
191 B
Bash

#!/usr/bin/env bash
echo "Forward FROM email: "
read emailfrom
echo "Forward TO email: "
read emailto
echo "$(cat /etc/exim4/forward/$emailfrom)$emailto," > "/etc/exim4/forward/$emailfrom"