# to real moderation scripts. Follow the instructions.
#
+set -e
+
+umask 007
+
#######################################################################
# this is the root directory where moderation software & config
# resides. Make sure that sendmail is in the PATH.
-I Bcc:%OURUSER%+%ABBREV%-internal-log+mailout@%DOMAIN%
'
MAILOUT_ACCEPTACK_FORMAIL_ARGS='
- -I Bcc:%OURUSER%+mtm-internal-log+mailout@%DOMAIN%
+ -I Bcc:%OURUSER%+%ABBREV%-internal-log+mailout@%DOMAIN%
'
MAILOUT_REJECT_FORMAIL_ARGS='
-I Bcc:%OURUSER%+%ABBREV%-internal-log+mailout@%DOMAIN%
-I Bcc:%OURUSER%+%ABBREV%-internal-reject-copy@%DOMAIN%
'
-
-sanitise_and_quote_email () {
- perl -pe '
- s/ %OURUSER% \+ [-+/0-9a-z]* \@
- (\Q %DOMAIN% | %SLIMYDOMAIN \E) \b
- /%OURUSER%+?\@$1/igx
- unless m/^$/..0;
- s/^/> /;
- ' "$@"
-}
+export MAILOUT_RECVACK_FORMAIL_ARGS
+export MAILOUT_ACCEPTACK_FORMAIL_ARGS
+export MAILOUT_REJECT_FORMAIL_ARGS
#######################################################################
# STUMP enforces limitations on the maximum number of newsgroups
#
if [ "x$1" != "x" ]; then
- umask 077
antivirus | decodeBase64 | "$@"
fi