7 messages in net.sourceforge.lists.courier-maildrop[maildropl] enable embedded mode mail...
FromSent OnAttachments
C. J. MeidlingerJul 14, 2003 3:10 pm 
Sam VarshavchikJul 14, 2003 3:29 pm 
C. J. MeidlingerJul 14, 2003 7:16 pm 
Sam VarshavchikJul 14, 2003 8:12 pm 
C. J. MeidlingerJul 15, 2003 12:05 am 
C. J. MeidlingerJul 17, 2003 11:41 am 
C. J. MeidlingerJul 18, 2003 7:22 am 
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] enable embedded mode maildrop filter -or- filter syntax help?Actions...
From:C. J. Meidlinger (cj@meidlinger.org)
Date:Jul 14, 2003 3:10:13 pm
List:net.sourceforge.lists.courier-maildrop

I've been over the applicable man pages several times, but I think I'm missing something. I'm willing to subject myself to an RTFM response and I hope the respondent is gracious enough to point out which FM to R because I'm not seeing the answer...

How do I enable embedded mode maildrop filtering in courier? If it's already enabled, how do I bounce all messages?

My story:

-Courier 0.40.1 ./configure --sysconfdir=/etc/courier make make check su - make install make install-configure (essentially a default config)

-from 'localmailfilter' man page, I did the following: echo /usr/lib/courier/bin/maildrop > /etc/courier/maildropfilter

-I also added: echo /usr/lib/courier/bin/maildrop > /etc/courier/maildrop

-I created my rcptfilter file: mkdir /home/cjm/.mailfilters touch /home/cjm/.mailfilters/rcptfilter chmod 700 /home/cjm/.mailfilters chmod 600 /home/cjm/.mailfilters/rcptfilter

-I put (what I think is) definite bounce syntax into the file: EXITCODE=64 exit

-I restarted the server and I'm still accepting mail.

-My test of maildrop: ran command below as root and killed with CTRL-D.

/home/cjm# maildrop -V9 -D 503 -M rcptfilter maildrop: Changing to /home/cjm Message start at 0 bytes, envelope sender=root maildrop: Attempting .mailfilters/rcptfilter Tokenized string: "EXITCODE" Tokenized = Tokenized string: "64" Tokenized ; Tokenized exit Tokenized ; Tokenized eof .mailfilters/rcptfilter(1): EXITCODE="64"

I have a couple of "extra" factors that I don't think come into play, but I'll describe them just in case they do. (1) the default shell for the cjm user is a chroot script, and (2) I have posix acls installed on the filesystem (http://acl.bestbits.at/).

Also, I googled a bunch, and I tried searching the list archives at http://sourceforge.net/mailarchive/forum.php?forum=courier-maildrop but the Search engine yielded "No matches found for courier" when I searched for "courier" (so maybe it's broken?). I scanned several hundred subject lines manually and clicked on a few score to read the messages, but alas, I think I'm stuck.

Help?

CJM