1 message in net.sourceforge.lists.courier-maildrop[maildropl] Qmailtoaster and maildrop
FromSent OnAttachments
Raymond WebsterSep 6, 2007 2:01 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Qmailtoaster and maildropActions...
From:Raymond Webster (raym@ncbi.com)
Date:Sep 6, 2007 2:01:14 pm
List:net.sourceforge.lists.courier-maildrop

I am trying to use maildrop as a way to prevent some users from receiving outside email. I have installed the current qmailtoaster on CentOS 5. So maildrop is in there. I have an idea on how to make it work for me, but lots of questions.

I currently use qmailrocks and procmail to do this very thing, but I would love to try maildrop and not add procmail onto qmailtoaster.

I think I should have a .qmail file in every user's virtual home mail directory that I don't want outside email to get to. Each .qmail file should have a line like so;

|preline /usr/bin/maildrop -m $USER

and a .mailfilter file in each of those users virtual directories to drop anything not from my domain

my first attempt is

if (/^From: .*ncbi\.com/) to new DEFAULT="dev/null"

of course these two files are not working fo me.

Does anyone have any ideas how to make this work?