On Fri, 23 Jul 2010 13:41:11 +0200
Nico Hoffmann <n...@bacanol.de> wrote:

> Hello Stevan,
> 
Hello Nico,


> I would like to implement your way of doing this. Can you tell me where 
> to put the PCRE within postfix?
> 
in main.cf. Just add it as an additional transport. For example:
transport_maps =
        pcre:${config_directory}/dspam-transport.cf
        [your old tranpsort map files]


> Another question I have is the following:
> 
> I have two Mail-Gateways. One is a SuSE SLES 10.3 and the other one is a 
> Mac OS X Snow Leopard Server. I have successfully installed DSPAM on the 
> first one, but I do not know if there is the same easy way for the 
> second one (OSX).
>
It is the same as on the SuSE box. Richard Valk has a good page for Mac users 
-> diymacserver.com
For DSPAM on Leopard read this link here:
http://diymacserver.com/installing-the-mailserver/adding-a-spam-filter-on-leopard/


> And furthermore, how do I implement the retrain 
> solution you told me for both?
> 
What do you mean? You want DSPAM to run on the SuSE box and on the Mac OS X 
box? Could you describe how your final setup should look like?


> Thank you and best regards,
> 
-- 
Kind Regards from Switzerland,


> Nico
> 
Stevan Bajić


> Am 22.07.2010 10:50, schrieb Stevan Bajić:
> > 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
> >>
> 
> 
> 
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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

Reply via email to