3 # Alias: Administrative Mail Address
6 # Mails sent to the sites user (e.g. by crontab) are forwarded
7 # to this mail address. If you configure none, the mail is
8 # handled normally by the mailer config.
12 if [ -e $OMD_ROOT/.forward
]; then
13 head -n1 $OMD_ROOT/.forward
19 echo "^([-a-zäöüÄÖÜA-Z0-9_.+%]+@[-a-zäöüÄÖÜA-Z0-9]+(\.[-a-zäöüÄÖÜA-Z0-9]+)*)?$"
23 echo $2 > $OMD_ROOT/.forward
25 rm -f $OMD_ROOT/.forward