Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st October 2006, 19:00
juro juro is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix Spam Filter using Ubuntu Dapper, MailScanner, SpamAssassin, Razor, Pyzor, DCC

Hi, I have been following the above mentioned howto (link) and - although I did not need a few things - have the the setup running now.
The only problem is that I cannot get MailScanner to deliver spam-Emails to local accounts. They are simply not passed on. I can - however - have them quarantined.
I want to deliver the emails to local accounts, as I want to filter them out by using courier-maildrop (I do not want to delete message, but store them in the user specific spam-folder) and have users access the emails via Courier-Imap.

Any ides how I can get this running? What information would you nees to help me.

juro
Reply With Quote
Sponsored Links
  #2  
Old 2nd October 2006, 14:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
Originally Posted by juro
The only problem is that I cannot get MailScanner to deliver spam-Emails to local accounts. They are simply not passed on.
What's in your mail log when this happens?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 2nd October 2006, 14:42
juro juro is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Never mind ... hat a stupid typo in the MailScanner.conf
Reply With Quote
  #4  
Old 3rd January 2007, 16:48
gundestrup gundestrup is offline
Junior Member
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dear Sir

I have setup my server
Mailscanner and spamassasin works, since spam messenges get the
[spam?] header.

But I am unable to get the program to put mail messenges with the [spam?] in my junk folder, they all end up in my inbox.

I have followed your tourturial, and I cannon get the program to do what it's told :-)

I have even tryed to use, maildroprc.

root@Locutus:/etc# cat /etc/maildroprc
# Global maildrop filter file

# Uncomment this line to make maildrop default to ~/Maildir for
# delivery- this is where courier-imap (amongst others) will look.
DEFAULT="$HOME/Maildir"
if (/^X-Spam-Flag: *YES/)
{
exception {
to "$HOME/$DEFAULT/.Junk/"
}
}
else
{
exception {
to "$HOME/$DEFAULT"
}
}root@Locutus:/etc#

Any suggestions would be helpfull

Regards
svend gundestrup
Reply With Quote
  #5  
Old 25th February 2007, 17:15
aramyegenian aramyegenian is offline
Junior Member
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here's what I have in my /etc/maildroprc , it might be useful for you. watch the logfile for errors. fyi, it doesn't check if a Junk folder exists, because i have another script that creates the Junk folder each time a new mailbox is created. and spamassassin uses the "s" letter to designate the spam score.

logfile "/var/log/maildroprc.log"
JUNK=$DEFAULT/.Junk
log "Maildir home: $HOME"
log "Username: $LOGNAME"
log "Mailbox: $DEFAULT"
log "Junk folder: $JUNK"
# if more than 5 s letters dump it in the junk folder
if (/.*SpamScore: sssss*/)
{
log "**JUNK**"
to "$JUNK"
}
else
{
to "$DEFAULT"
}
Reply With Quote
  #6  
Old 20th March 2007, 21:05
blackheckler blackheckler is offline
Junior Member
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

just a quick question...
I'm using this setup as a spamfilter before my Exchange Server.
How do I set MailScanner/Spamassassin to forward quarantined spam to a specific Exchange user, i.e. spamquarantine@work.com.
I've looked through the config files for MailScanner and Spamassassin, but I don't see anything that looks like it would handle this.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Killing that spam with greylisting using Postfix and Postgrey erk Tips/Tricks/Mods 11 18th June 2008 06:09
Postfix Spam Filter using Ubuntu Dapper, MailScanner and ClamAV(beta) H8LinuxLOL HOWTO-Related Questions 8 28th August 2006 15:36
Postfix Spam Filter using Ubuntu Dapper, MailScanner and ClamAV...Where is the rest? mp3geek HOWTO-Related Questions 5 26th August 2006 00:30
php script injections Grizzly General 21 18th July 2006 09:55
This is the Postfix program <postmaster> edge Installation/Configuration 14 13th March 2006 16:50


All times are GMT +2. The time now is 10:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.