Thanks Sam.

> It's not the headers, it's the envelope return address. Which may not be
> preserved if maildrop is thrown into the mix.
>
> Rather than invoking couriermlm via maildrop, just invoke it directly from
> the .courier file, as the couriermlm man page explains.

I understand, however this is a special type of list and I need to do some 
processing on it prior to posting, that's why I'm running maildrop on it.

I've figured out that if I pipe it to couriermlm via the backtick, it 
actually works. However I don't seem to be getting any stdout back from 
couriermlm; so if for example a non-member posts, I'm not getting the "You 
are not subscribed" getting output.

So this actually works in maildrop:

POST = `/usr/bin/couriermlm msg /path/to/list/directory`

I'm guessing this action must be maintaining the envelope return address. 
But the problem I'm having now is that no error msg is getting output to 
$POST when a non-member posts. The desired effect still works (the message 
is not posted) but I'm not able to output an error text and EXITCODE in this 
case.

Ricardo 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to