10 messages in net.sourceforge.lists.courier-maildrop[maildropl] How to extract $USER to e...
FromSent OnAttachments
Truong Tan SonDec 20, 2007 5:37 pm 
Sam VarshavchikDec 20, 2007 6:17 pm 
Truong Tan SonDec 20, 2007 7:10 pm 
Leandro MendesDec 21, 2007 12:33 pm 
moussDec 26, 2007 5:17 pm 
Truong Tan SonDec 26, 2007 6:26 pm 
moussDec 29, 2007 10:56 am 
Truong Tan SonDec 30, 2007 5:25 pm 
moussDec 31, 2007 3:35 am 
Truong Tan SonJan 1, 2008 6:35 pm 
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] How to extract $USER to embed to the loop in Maildropfilter ?Actions...
From:Truong Tan Son (son@fcv.fujitsu.com)
Date:Dec 20, 2007 5:37:33 pm
List:net.sourceforge.lists.courier-maildrop

Dear Sir,

I am now using Maildropfilter to deliver message manually to
$HOME/$USER/Maildir/

I refer document but could not solve . (http://www.courier-mta.org/maildrop/maildropfilter.html)

It has a list of users after extract From:, To:, Cc: in header by RFC 2822. Each of user separates by space in a string.

========/etc/maildroprc============== LSTUSER="user1 user2 user3 user4"

The loop ( /pattern/ ) { USER="$MATCH" to $HOME/$USER/Maildir/ }

================================

**Question: How to make suitable pattern match to extract each of user in LSTUSER
to $USER variable ?

I think you have more experience and technology to solve this script.

Please support.

Thanks you very much.

Best regards,