

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
10 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] How to extract $USER ...| From | Sent On | Attachments |
|---|---|---|
| Truong Tan Son | Dec 20, 2007 5:37 pm | |
| Sam Varshavchik | Dec 20, 2007 6:17 pm | |
| Truong Tan Son | Dec 20, 2007 7:10 pm | |
| Leandro Mendes | Dec 21, 2007 12:33 pm | |
| mouss | Dec 26, 2007 5:17 pm | |
| Truong Tan Son | Dec 26, 2007 6:26 pm | |
| mouss | Dec 29, 2007 10:56 am | |
| Truong Tan Son | Dec 30, 2007 5:25 pm | |
| mouss | Dec 31, 2007 3:35 am | |
| Truong Tan Son | Jan 1, 2008 6:35 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [maildropl] How to extract $USER to embed to the loop in Maildropfilter ? | Actions... |
|---|---|---|
| From: | Leandro Mendes (thef...@gmail.com) | |
| Date: | Dec 21, 2007 12:33:02 pm | |
| List: | net.sourceforge.lists.courier-maildrop | |
I believe that maildrop works with only one user per time. Probably with you want to deliver for several users, create a bash script. It will be easier.
Correct me if i wrong.
On Dec 21, 2007 1:11 AM, Truong Tan Son <son...@fcv.fujitsu.com> wrote:
I understand Sam Varshavchik wrote.
But my target that is "How to extract user in a string=user1 user2 user3 ..." to embed to loop.
There is difficult to extract each of user with pattern match result and external script to embed.
Maildropfilter Document guide ( http://www.courier-mta.org/maildrop/maildropfilter.html):
to - deliver message to a mailbox
to expression
<-----snip----->
An expression that begins with an exclamation mark, "!" specifies a whitespace-delimited list of E-mail addresses to forward the message to. The program specified by the SENDMAIL variable is run as an external program, with the list of E-mail addresses provided as parameters to the program.
Now, solve this trouble with simple command in /etc/maildroprc:
to "!$string"
Maildrop is automatic to deliver message to all users that contains in string.
Regards,
--- Sam Varshavchik wrote:
The list of addresses in the To: or Cc: header has absolutely nothing to do with an individual message's message's recipients.
This mailing list message you are reading, was delivered to your mailbox yet your individual address appears nowhere in any of these headers.
Anytime anyone says they want to do something with the To: or Cc: headers, whatever they're trying to do it's always wrong. Whatever problem you are trying to solve, you have to find some other way to solve.
----- Original Message ----- From: "Sam Varshavchik" <mrs...@courier-mta.com> To: <cour...@lists.sourceforge.net> Sent: Friday, December 21, 2007 9:17 AM Subject: Re: [maildropl] How to extract $USER to embed to the loop in Maildropfilter ?
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--------------------------------------------------------------------------------
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop







