Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [pcmike] Forward and Spam Filters

Quote Reply
Re: [pcmike] Forward and Spam Filters In reply to
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
Subject Author Views Date
Thread Forward and Spam Filters pcmike 2284 May 9, 2004, 2:21 PM
Post Re: [pcmike] Forward and Spam Filters
brewt 2187 May 13, 2004, 4:50 PM