On Fri, Oct 31, 2003 at 11:30:29AM -0800, Josiah DeWitt wrote:
> I just installed SpamAssassin and got it working, but it just drops or marks spam 
> after it has already accepted it.  While this /dev/null type behavior is great, I 
> would rather discourage spammers by refusing the connection period.
> 
> I was wondering if there is a way of using spamd/spamc to reject the spammers SMTP 
> connection by inserting a ruleset in the sendmail.mc or cf.  I was hoping for a 
> result similar to that of the RBL mc's.
> 
> FEATURE(dnsbl,`dun.dnsrbl.net')dnl
> FEATURE(dnsbl,`spam.dnsrbl.net')dnl
> FEATURE(dnsbl,`blackholes.mail-abuse.org')dnl
> FEATURE(dnsbl,`list.dsbl.org')dnl
> FEATURE(dnsbl,`multihop.dsbl.org')dnl
> FEATURE(dnsbl,`unconfirmed.dsbl.org')dnl
> 
> etc...
> 
> I imagine there might be a way to pipe the incoming data to spamc and return a 
> boolean response weather or not to accept the connection.  In reponse to a dropped 
> connection it would reply with error codes and the spam condition of the mail.  
> 
> Am I just fantasizing?  If so where are the resourses I need to start coding this 
> one up?

Using mimedefang is probably the easiest way to cook this up, you can also
get virus filtering too boot.  :)

-- 
Kelsey Cummings - [EMAIL PROTECTED]           sonic.net, inc.
System Administrator                      2260 Apollo Way
707.522.1000 (Voice)                      Santa Rosa, CA 95407
707.547.2199 (Fax)                        http://www.sonic.net/
Fingerprint = D5F9 667F 5D32 7347 0B79  8DB7 2B42 86B6 4E2C 3896


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to