Re: [AMaViS-user] Quarantining spam to a mailbox
Thanks Mark. I had worked out that it was looping and have (at least for now) changed to quarantining to files. Thanks also for the doco link. That has told me about the quarantine to mbox which is probably the way I shall go. FWIW, I have also modified amaavisd to use bogofilter instead of SpamAssassin. Cheers, Stephen On Tuesday 30 September 2008 04:26:13 [EMAIL PROTECTED] wrote: > > Message: 3 > Date: Mon, 29 Sep 2008 18:37:14 +0200 > From: Mark Martinec <[EMAIL PROTECTED]> > Subject: Re: [AMaViS-user] Quarantining spam to a mailbox > To: amavis-user@lists.sourceforge.net > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > Stephen, > > > I am using amavisd-new 2.5.4 (20080312), amavisd-milter 1.3.1 and > > sendmail 8.14.2. I have configured amavisd to D_DISCARD spam and to > > quarantine spam using spam_quarantine_method smtp:[127.0.0.1]:25. This > > superficially seems to be working but it looks as if it may cause a loop > > whereby one spam generates several entries in the target mailbox. > > If you are sending quarantine mail back you your MTA on a port which is > configured the same as for a regular incoming mail (i.e. it is invoking > a milter), then you are creating a loop - mail to be quarantined is > being fed again to amavisd by MTA via its milter. > > You either need to tell MTA not to apply milter to a mail received > from amavisd, or tell amavisd to send quarantine mail to some other > place, like a backend MTA if you have it. With Postfix this is quite > easy, add another smtpd listening port and configure it without > a milter. Don't know what would be the best approach with sendmail. > > Probably the least work is to let amavisd quarantine directly to a > local directory or a mbox file without MTA intervention - or switch > to Postfix :) > > Another possibility is not to quarantine, but let amavisd append > address extension (e.g. '-spam' or '+spam') for spam messages, > then configure MTA to reroute such recipient addresses to a > dedicated mailbox. > > > Where is that doco? > > > > When I try the "spambox@" syntax, I get a sendmail error "hostname > > required". (Yes. I am trying to send spams to a 'special' mailbox > > for later review.) > > http://www.ijs.si/software/amavisd/amavisd-new-docs.html#quarantine > > > Mark -- Stephen Davies Consulting P/L Voice: 08-8177 1595 Adelaide, South Australia.Fax : 08-8177 0133 Computing & Network solutions.Mobile:040 304 0583 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Quarantining spam to a mailbox
Stephen, > I am using amavisd-new 2.5.4 (20080312), amavisd-milter 1.3.1 and sendmail > 8.14.2. I have configured amavisd to D_DISCARD spam and to quarantine spam > using spam_quarantine_method smtp:[127.0.0.1]:25. This superficially seems > to be working but it looks as if it may cause a loop whereby one spam > generates several entries in the target mailbox. If you are sending quarantine mail back you your MTA on a port which is configured the same as for a regular incoming mail (i.e. it is invoking a milter), then you are creating a loop - mail to be quarantined is being fed again to amavisd by MTA via its milter. You either need to tell MTA not to apply milter to a mail received from amavisd, or tell amavisd to send quarantine mail to some other place, like a backend MTA if you have it. With Postfix this is quite easy, add another smtpd listening port and configure it without a milter. Don't know what would be the best approach with sendmail. Probably the least work is to let amavisd quarantine directly to a local directory or a mbox file without MTA intervention - or switch to Postfix :) Another possibility is not to quarantine, but let amavisd append address extension (e.g. '-spam' or '+spam') for spam messages, then configure MTA to reroute such recipient addresses to a dedicated mailbox. > Where is that doco? > When I try the "spambox@" syntax, I get a sendmail error "hostname > required". (Yes. I am trying to send spams to a 'special' mailbox > for later review.) http://www.ijs.si/software/amavisd/amavisd-new-docs.html#quarantine Mark - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Quarantining spam to a mailbox
When I try the "spambox@" syntax, I get a sendmail error "hostname required". (Yes. I am trying to send spams to a 'special' mailbox for later review.) Cheers, Stephen On Saturday 27 September 2008 22:12:24 Michael Scheidell wrote: > > I am using amavisd-new 2.5.4 (20080312), amavisd-milter 1.3.1 and > > sendmail 8.14.2. > > > > I have configured amavisd to D_DISCARD spam and to quarantine spam using > > spam_quarantine_method smtp:[127.0.0.1]:25. > > > > This superficially seems to be working but it looks as if it may cause a > > loop whereby one spam generates several entries in the target mailbox. > > > > Is the above configuration correct? > > No, put in the email address you want to send the quarantine to: > VARIANT 3: > # any email address (must contain '@'). > # The e-mail messages to be quarantined will be handed to MTA > # for delivery to the specified address. If a recipient address local to > MTA # is desired, you may leave the domain part empty, e.g. 'infected@', > but the # '@' character must nevertheless be included to distinguish it > from variant 2. > > You are saying that you want quarantined email to be sent to a 'special' > email address for handling later, right? -- Stephen Davies Consulting P/L Voice: 08-8177 1595 Adelaide, South Australia.Fax : 08-8177 0133 Computing & Network solutions.Mobile:040 304 0583 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Quarantining spam to a mailbox
When I try the "spambox@" syntax, I get a sendmail error "hostname required". (Yes. I am trying to send spams to a 'special' mailbox for later review.) Cheers, Stephen On Saturday 27 September 2008 22:12:24 Michael Scheidell wrote: > > I am using amavisd-new 2.5.4 (20080312), amavisd-milter 1.3.1 and > > sendmail 8.14.2. > > > > I have configured amavisd to D_DISCARD spam and to quarantine spam using > > spam_quarantine_method smtp:[127.0.0.1]:25. > > > > This superficially seems to be working but it looks as if it may cause a > > loop whereby one spam generates several entries in the target mailbox. > > > > Is the above configuration correct? > > No, put in the email address you want to send the quarantine to: > VARIANT 3: > # any email address (must contain '@'). > # The e-mail messages to be quarantined will be handed to MTA > # for delivery to the specified address. If a recipient address local to > MTA # is desired, you may leave the domain part empty, e.g. 'infected@', > but the # '@' character must nevertheless be included to distinguish it > from variant 2. > > You are saying that you want quarantined email to be sent to a 'special' > email address for handling later, right? -- Stephen Davies Consulting P/L Voice: 08-8177 1595 Adelaide, South Australia.Fax : 08-8177 0133 Computing & Network solutions.Mobile:040 304 0583 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Quarantining spam to a mailbox
Thank you Michael. Where is that doco? Cheers, Stephen On Saturday 27 September 2008 22:12:24 Michael Scheidell wrote: > > I am using amavisd-new 2.5.4 (20080312), amavisd-milter 1.3.1 and > > sendmail 8.14.2. > > > > I have configured amavisd to D_DISCARD spam and to quarantine spam using > > spam_quarantine_method smtp:[127.0.0.1]:25. > > > > This superficially seems to be working but it looks as if it may cause a > > loop whereby one spam generates several entries in the target mailbox. > > > > Is the above configuration correct? > > No, put in the email address you want to send the quarantine to: > VARIANT 3: > # any email address (must contain '@'). > # The e-mail messages to be quarantined will be handed to MTA > # for delivery to the specified address. If a recipient address local to > MTA # is desired, you may leave the domain part empty, e.g. 'infected@', > but the # '@' character must nevertheless be included to distinguish it > from variant 2. > > You are saying that you want quarantined email to be sent to a 'special' > email address for handling later, right? -- Stephen Davies Consulting P/L Voice: 08-8177 1595 Adelaide, South Australia.Fax : 08-8177 0133 Computing & Network solutions.Mobile:040 304 0583 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
Re: [AMaViS-user] Quarantining spam to a mailbox
> I am using amavisd-new 2.5.4 (20080312), amavisd-milter 1.3.1 and sendmail > 8.14.2. > > I have configured amavisd to D_DISCARD spam and to quarantine spam using > spam_quarantine_method smtp:[127.0.0.1]:25. > > This superficially seems to be working but it looks as if it may cause a loop > whereby one spam generates several entries in the target mailbox. > > Is the above configuration correct? > No, put in the email address you want to send the quarantine to: VARIANT 3: # any email address (must contain '@'). # The e-mail messages to be quarantined will be handed to MTA # for delivery to the specified address. If a recipient address local to MTA # is desired, you may leave the domain part empty, e.g. 'infected@', but the # '@' character must nevertheless be included to distinguish it from variant 2. You are saying that you want quarantined email to be sent to a 'special' email address for handling later, right? -- Michael Scheidell, CTO >|SECNAP Network Security Winner 2008 Network Products Guide Hot Companies FreeBSD SpamAssassin Ports maintainer _ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com _ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
[AMaViS-user] Quarantining spam to a mailbox
I am using amavisd-new 2.5.4 (20080312), amavisd-milter 1.3.1 and sendmail 8.14.2. I have configured amavisd to D_DISCARD spam and to quarantine spam using spam_quarantine_method smtp:[127.0.0.1]:25. This superficially seems to be working but it looks as if it may cause a loop whereby one spam generates several entries in the target mailbox. Is the above configuration correct? Cheers and thanks, Stephen Davies -- Stephen Davies Consulting P/L Voice: 08-8177 1595 Adelaide, South Australia.Fax : 08-8177 0133 Computing & Network solutions.Mobile:040 304 0583 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/