Exim/commands/exim_forwardadd.sh

9 lines
191 B
Bash
Raw Normal View History

2016-10-05 23:04:03 +00:00
#!/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"