On Thu, 1 Sep 2016 20:57:50 -0400
David Niklas <do...@mail.com> wrote:

> Hello,
> I wanted to know if courier could read the subject/from metadata so
> that it could place courier mailing list mail into one folder and so
> on with other mail received.
> I'm talking about doing this after the part where courier figures out
> that the email message it just received/retrieved is for a local user
> and after deciding to place the email in the inbox of said user.
> 
> Thanks,
> David
> 

Hi,

simplest method would be using maildrop recipe for this user. It comes
into play after determining mailbox/home directory for mail being
delivered id configured so. Maildrop recipes are easy to read
resembling common programming languages or scripts.

You nead just configure courier to use it, either with .courier if
maildrop should be used only for said user, or setting DEFAULTDELIVERY
in courierd config file for all users.

If you would like to sort mails from this mailing list into defined
folder, then use List-Id header as selection criterium:

if (/^List-Id:.*courier-users.lists.sourceforge.net/)
 to "$HOME/Maildir/$FOLDER/"

(use desired folder name instead on $FOLDER, I use - for this list -
.Software.Courier.courier-users).

Regards,
Milan

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to