HOWTO forward e-mail to multiple adress
Author: Van hees Michel
<mvanhees@vanhees.homeip.net> |
|
| |
Problem: You want to forward all
e-mail from one user to multi other users | |
|
STEP 1: Create template
directory
Create user custom template for qmail propeties
# mkdir -p /etc/e-smith/templates-user-custom/.qmail |
STEP 2: Create custom template for forward e-mail
Edit or create "e-smithForward20"
Your file have to look like
...
#pico
/etc/e-smith/templates-user-custom/.qmail/e-smithForward20 { $OUT = ''; use esmith::config; my %accounts; # get $USERNAME from esmith::config - put there by the my $type = db_get_type(\%accounts, $USERNAME); die my $EmailForward = db_get_prop(\%accounts, $USERNAME,
"EmailForward"); if ($EmailForward eq "local") |
STEP 3: Save the template
<CTRL>-o <CTRL>-x |
STEP 4: Web panel
When you
specified the forwarding e-mail adress,
Enter multi e-mail adress separate by
;