Yes, you can. You just need to move the forwarding code in incoming.pl (around line 750), to be after the spam and filtering code. The forwarding code looks like this:
$PLG->dispatch('incoming::forward', \&forward, $num, $mail) or next MESSAGE;
$ret->{forward_count}++;
next USER unless $USER->{opts}->{mailbox}->{save_forwarded};
}
I've made this change in cvs, so it should be like this in future releases as well.
Adrian
Code:
if ($USER->{opts}->{mailbox}->{forward_email} and $CFG->{limits}->{forwards} and $USER->{opts}->{mailbox}->{forward_email_to} =~ m/^$VALID_CHARACTERS\@.+/) { $PLG->dispatch('incoming::forward', \&forward, $num, $mail) or next MESSAGE;
$ret->{forward_count}++;
next USER unless $USER->{opts}->{mailbox}->{save_forwarded};
}
I've made this change in cvs, so it should be like this in future releases as well.
Adrian