The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Ubuntu
.
google unix.com



Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem with sendmail procmail spamassasin & relay hardesty UNIX for Advanced & Expert Users 3 08-05-2008 04:04 AM
Spam Filtering: Understanding SEP and CEP iBot Complex Event Processing RSS News 0 04-14-2008 02:10 AM
awk and sed filtering invinzin21 Shell Programming and Scripting 2 01-11-2008 03:56 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-21-2009
subchee subchee is offline
Registered User
  
 

Join Date: Jun 2009
Location: Hungary
Posts: 1
Spam filtering with Postfix + Spamassasin + maildrop

Hello all,

I would like to ask for your help. I'm trying to configure my Ubuntu Server 8.10 x64 to act as a mail server. I'd like to make it able to filtering spam emails.

So, I've followed this tutorial to set up the needed configs and packages.

After that, I changed my config files, like this wiki page says.

Now, I've got a working mailing system with a webmail interface (atmail open). If somebody send me a spam, the system adds to the mail subject the ****SPAM**** string and the original text of the mail is in an attached plain-text file, the mail contains only a warning message.

I just want only one last thing to get work: messages with ****SPAM**** string in the subject should go to the following directory: /home/vmail/$d/$u/Maildir/.Spam (where $d=domain, $u=user, these variables come from Postfix virtual user's config)

I tried to use the maildrop for this. I added this to my /etc/postfix/master.cf:


Code:
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}

and it's my /etc/maildroprc (it's so simple because I just want see if it works):


Code:
to "/home/vmail/tesztgep.hu/subchee/Maildir/.Spam"

But this is not working. All the incoming massages go to the Inbox instead os Spam... I checked the /var/log/mail.log file and there isn't anything related maildrop. The maildrop is installed:


Code:
root@tesztgep:/# dpkg -l | grep maildrop
ii  maildrop                                   2.0.4-3                            mail delivery agent with filtering abilities

Here is my full master.cf file. Could anybody help me, please? I can't find out what is the problem.

Thanks in advance
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:24 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0