I solved. But, now I have another problem:
postfix/trivial-rewrite[6342]: warning: regexp map /etc/postfix/dspam_filter_access, line 2: regular expression substitution is not allowed: skipping this rule my dspam_filter_access /^spam@.*$/ spam:${1} /^ham@.*$/ innocent:${1} my master.cf: spam unix - n n - 10 pipe flags=Rhq user=dspam argv=/usr/bin/dspam --debug --user ${user}@${nexthop} --class=spam --source=error innocent unix - n n - 10 pipe flags=Rhq user=dspam argv=/usr/bin/dspam --debug --user ${user}@${nexthop} --class=innocent --source=error I've tried to modify dspam_filter_access: with: \${1} (error) with: $${1} error I've readed in transport manual that you can not put substition in the right side of transport, as Venema said: "You are not allowed to use regular expression substitution in the right-hand side of ***TRANSPORT(5) MAPS***. That can give random strangers control over delivery agent (selection, command lines or network ports), and thus cause security problems." Remember that this machine is only to train (TOE). Some tip? ----- Mensagem original ----- De: "Alfredo Saldanha" <asalda...@infolink.com.br> Para: dspam-user@lists.sourceforge.net Enviadas: Quinta-feira, 8 de agosto de 2013 16:02:20 Assunto: [Dspam-user] Discard the message after retrain Hi there, I have a DSpam structure that was ok, but my database is growing up and my database server is with high I/O, so I need to separate the read to write. I'd like to create a server just to receives the retrain messages(write) and another servers will be only read (notrain). Is possible discard the message after retrain instead re-inject to postfix? I'm telling this because this retrain messages are only to train dspam(obviously) and don't need to be delivered to user. My dspam.conf has: DeliveryHost 127.0.0.1 DeliveryPort 10026 DeliveryIdent localhost DeliveryProto SMTP This confs make the re-injection. Thanks. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user