On Mon, Sep 29, 2003 at 06:22:56PM -0400, Sam Varshavchik wrote:
> Courier User writes:
>
> >Assume that I have an email user on my system whose address is
> >[EMAIL PROTECTED] I know I can use .courier and .courier-default
> >in that user's HOME directory to control the delivery of email not
> >only to [EMAIL PROTECTED], but also to all possible variants of the
> >following form:
> >
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > etc.
> >
> >But as a sysadmin, I would like to control this outside of the
> >users' HOME directories, so that I can force certain mail processing
> >for all users. Is there any way to configure Courier so that all
> >these random variant addresses can be handled for each given user
> >without the use of ~/.courier, ~/.courier-default, and their
> >cousins?
>
> You can create a script that creates a soft link from every account's
> .courier-foo file to a global default file.
What about creating a .courier-default file specifying maildrop as MDA and
having a centralized maildroprc in /etc/courier/maildroprc?
Sth. like:
---
SHELL=/bin/ash
DEFAULT=./Maildir
ALL_LIST=$DEFAULT.MessagesForAll
if (/^To:[EMAIL PROTECTED]/)
to $ALL_LIST/
to $DEFAULT
---
Regards
Mirko
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users