On Thu, 22 Jul 2010 10:04:41 +0200 Nico Hoffmann <n...@bacanol.de> wrote:
> Hello! > Guten Tag Nico, > I have got a question about forwarding spam email to user based learning > address. How do you integrate this with postfix? The eMail-Addresses are > not recognized by the system (postfix), when a user forwards this and so > the mail is dropped/rejected. Is there a way to customize the address, > to let it point to a subdomain like u...@spam.xyz.de? Or is there a way > to let postfix process the messages correctly to dspam? Is there any > kind of manual that handles this kind of issue? I used google, the faqs > and a lot of time, without success. > this little beast here can do what you want: http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=tree;f=contrib/dspam_alias_retraining;hb=HEAD You could then instruct Postfix to send u...@spam.xyz.de to the retrain-dspam service. A simple PCRE would do the trick: /^...@]+\@spam\.xyz\.de$/ dspam-retrain:spam /^...@]+\@(not?spam|ham)\.xyz\.de$/ dspam-retrain:innocent And in master.cf you could have something like this: retrain-dspam unix - n n - - pipe flags=Ru user=retrain argv=/path/to/dspam-retrain-forward.pl --debug=no --client --user ${sender} --class=${nexthop} --source=error --full=yes --headers-only=no --bodies-only=yes --first-only=no --skip-first=no --bin-dir=/path/to/dspam/binary > Version: DSPAM Anti-Spam Suite 3.9.0 > > > Thank you for any help! > > best regards, > > Nico > -- Kind Regards from Switzerland, Stevan Bajić ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user