>> 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. > > Try capturing both stdout and stderr: > > POST = `/usr/bin/couriermlm msg /path/to/list/directory 2>&1`
Oddly enough, it still doesn't work. I have in maildrop, echo "$POST" And it just prints a blank line. It's a non-member posting, the message does not get posted, but couriermlm doesn't report any error. Normal member posts do work... 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
