Il ne faut jamais gifler un sourd. Il perd la moitié du plaisir. il sent la gifle mais ne l'entend pas. Georges Courteline
Howto forward e-mail to multiple adress
HOWTO forward e-mail to multiple adress Author: Van hees Michel <michel_AT_vanhees.cc> Wednesday, | |
| |
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 ;