if we want to put $NUM_PACKAGES in CURRENT_SUBJECT, may be we can change: MAILX_SUBJECT="$CUSTOM_SUBJECT" by MAILX_SUBJECT=$(eval 'echo "$CUSTOM_SUBJECT"')
and enable users to create custom subject like: CUSTOM_SUBJECT="[apticron] $SYSTEM: $NUM_PACKAGES package update(s)" sylvain
smime.p7s
Description: S/MIME Cryptographic Signature