Home : Products : Gossamer Mail : Discussion :

Products: Gossamer Mail: Discussion: Re: [pcmike] Forward and Spam Filters: Edit Log

Here is the list of edits for this post
Re: [pcmike] Forward and Spam Filters
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:
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;
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.


Last edited by:

brewt: May 13, 2004, 4:51 PM

Edit Log: