On 04/30/2010 07:13 AM, John Kenyon wrote: > Hi All, > > I'm calling DSPAM with Simscan and using Vpopmail to handle my domains... > > When receiving an email with multiple recipients, DSPAM is called with the > user: vpopmail. This makes sense since vpopmail will handle the email, > however what one user may consider spam another user may consider nonspam. > > I'm interested in what others have been doing with a similar setup? Any > thoughts...? > > Regards, > > JOHN KENYON > > >
Hi John, It's pretty simple. Simscan stands in front of the qeue, meaning that it's called right after the message is accepted. At that point in time, although the message was sent to several recipients (multiple RCPT TO commands followed by a single DATA command), you have only one copy of the message. If you're doing to act on that stream of data, you'll be altering the headers, or message, for ALL the recipients. That said you have two choices: You can setup two qmail instances, with the first scanning for virus, and passing the ball onto the second, which would then handle DSPAM. In this case, if multiple recipients were found, the first instance would deliver X copies of the message to the second, where each copy would already belong to a single recipient. or You can plug DSPAM at message delivery time, either by calling it through the LDA or by piping the messages to DSPAM with preline and using Trusted/UntrustedDeliveryAgent directives to have DSPAM pass the ball to your LDA. In any case, from my personal experience, it's not a good idea to put simscan doing spam scanning right in front of things. You can have use peaks that may lead the delivering server that there was a timeout, when in fact the server accepted the message. That will most probably lead to message duplication, since the delivering server will then retry the delivery. Regards, Hugo Monteiro. -- fct.unl.pt:~# cat .signature Hugo Monteiro Email : hugo.monte...@fct.unl.pt Telefone : +351 212948300 Ext.15307 Web : http://hmonteiro.net Divisão de Informática Faculdade de Ciências e Tecnologia da Universidade Nova de Lisboa Quinta da Torre 2829-516 Caparica Portugal Telefone: +351 212948596 Fax: +351 212948548 www.fct.unl.pt ap...@fct.unl.pt fct.unl.pt:~# _ ------------------------------------------------------------------------------ _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user