Over the years that I've been using courier as the MTA for my company
I've set up some fairly involved configs for handling inbound email.  My
DEFAULTDELIVERY is set to "| /usr/bin/maildrop" so maildrop is used both
in Courier in embedded mode and as the MDA.  I make use
of /etc/courier/maildroprc to run inbound email destined for local mail
accounts through SpamAssassin with per-user processing options in a
MySQL database and controlled from a user-accessible web UI.

Last week I changed my personal mail account setup to send AOL's Email
Feedback Reports, addressed to me, to a processing program in an account
on another server.  To do this, I used a dynamic delivery instruction in
my personal .courier file to send these reports to the processor, which
worked as expected.  These reports get processed and returned to me
annotated with additional headers, one of which gets read by the target
of my .courier dynamic delivery instruction which allows processing to
fall through to the second line in my .courier file, which is
"./Maildir", instructing Courier to deliver the email to me.

While this works well for handling the AOL FB reports, I discovered that
the emails to me were bypassing the system's per-user spam filtering
which runs out of the global maildroprc.  I assume I can replace the 2nd
line in my .courier with "| /usr/bin/maildrop" which will put maildrop
back in the loop (although I don't know yet if /etc/courier/maildroprc
will be processed if I do this).

What I don't have, and would like to have if it exists, is a good flow
diagram or something close to it, of the components which courier
maintains and supports and how an inbound email passes through them.  I
have Courier, Gordon Messmer's python filter (running using the
courierfilter facility), maildrop running in embedded mode and again as
the MDA, plus SpamAssassin getting invoked twice (once globally from
pythonfilter and again, optionally, per-user, per-email), and I've made
it all work well, but I'm looking for a "big picture" of what I have.
Over and above the various man pages and official online documentation,
which I've read many times, are there any comprehensive flow charts,
diagrams or something similar for Courier?

-- 
Lindsay Haisley       | "Real programmers use butterflies"
FMP Computer Services |
512-259-1190          |       - xkcd
http://www.fmp.com    |


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to