Jay Lee writes:

On Mon, January 30, 2006 3:48 pm, Bowie Bailey wrote:
Interesting.  I wasn't aware of rcptfilter.

The docs are a bit vague on exactly how to use it.  It looks like it
uses the maildrop syntax and just produces an exit code.  So I can put the
same code from above into .mailfilters/rcptfilter rather than .mailfilter?

The docs for rcptfilter are mainly available at:

http://www.courier-mta.org/localmailfilter.html and
http://www.courier-mta.org/maildrop.html

It's maildrop syntax (since maildrop is being called) Maildrop is called
in embedded mode meaning that no external programs can be called and of
course, the format of the actual message cannot be changed.

Is there a global version of the rcptfilter, or is it strictly per-user?

AFAIK, it's per user, but you could use includes and/or symlinks to
simulate a global rcptfilter...

As a related question, is my tolower call in the code above necessary or
does courier automatically lowercase the email addresses?

<scratch head> I dunno.... </scratch head>

Yes, you need tolower.

Attachment: pgp3FDsDbt7bX.pgp
Description: PGP signature

Reply via email to