Pardon me for reposting on serverfault; I mistakenly posted it initially on stackoverflow earlier than, and was kindly reminded to publish right here…..
Downside: I expertise every so often non-delivery messages being despatched out when procmail fails. Any non-delivery message ought to exit however not these resulting from procmail errors.
Makes an attempt with out the anticipated
-
principal.cf: nonetheless bounces to exterior senders
notify_classes = 2bounce, information, delay, useful resource, software program, bounce
bounce_notice_recipient = postmaster -
grasp.cf: no bounce messages in any respect
bounce unix – – y – 0 discard
-
my procmailrc settings that appear to trigger the error (however had been working completely for the reason that early 2000’s till I improve to Debian 10)
VERBOSE=ON
LOGABSTRACT=ALL
PATH=/bin:/usr/bin:/usr/native/bin
SERVER=`hostname`
RECYEAR=`date +%Y`
RECMONTH=`date +%Ypercentm`
MAILDIR=$HOME/mail
MAILDIRchk="`check -d $MAILDIR || mkdir -p $MAILDIR`"
BACKUPDIR=$HOME/Backup
BACKUPDIRchk="`check -d $BACKUPDIR || mkdir -p $BACKUPDIR`"
BACKYEARDIR=$HOME/Backup/$RECYEAR
BACKYEARDIRchk="`check -d $BACKYEARDIR || mkdir -p $BACKYEARDIR`"
BACKUP=$BACKYEARDIR/$RECMONTH.backup
LOGDIR=$HOME/MailLog/$RECYEAR
LOGDIRchk="`check -d $LOGDIR || mkdir -p $LOGDIR`"
LOGFILE=$LOGDIR/$RECMONTH.log.$SERVER
-
The error message reported again to the sender 🙁
<lpr_cxa@mail.vacation spot.tld> (expanded from <my.identify@vacation spot.tld>): Command
time restrict exceeded: "procmail -a "$EXTENSION"". Command output: procmail:
[44927] Mon Might 18 15:48:12 2020 procmail: Assigning "LOGABSTRACT=ALL"
procmail: Assigning "PATH=/bin:/usr/bin:/usr/native/bin" procmail: Executing
"hostname" procmail: Assigning "SERVER=mail-vm" procmail: Executing
"date,+%Y" procmail: Assigning "RECYEAR=2020" procmail: Executing
"date,+%Ypercentm" procmail: Assigning "RECMONTH=202005" procmail: Assigning
"MAILDIR=/residence/lpr_cxa/mail" procmail: Executing "check -d $MAILDIR || mkdir
-p $MAILDIR" procmail: Assigning "MAILDIRchk=" procmail: Assigning
"BACKUPDIR=/residence/lpr_cxa/Backup" procmail: Executing "check -d $BACKUPDIR ||
mkdir -p $BACKUPDIR" procmail: Assigning "BACKUPDIRchk=" procmail:
Assigning "BACKYEARDIR=/residence/lpr_cxa/Backup/2020" procmail: Executing "check
-d $BACKYEARDIR || mkdir -p $BACKYEARDIR" procmail: Assigning
"BACKYEARDIRchk=" procmail: Assigning
"BACKUP=/residence/lpr_cxa/Backup/2020/202005.backup" procmail: Assigning
"LOGDIR=/residence/lpr_cxa/MailLog/2020" procmail: Executing "check -d $LOGDIR ||
mkdir -p $LOGDIR" procmail: Assigning "LOGDIRchk=" procmail: Assigning
"LOGFILE=/residence/lpr_cxa/MailLog/2020/202005.log.mail-vm" procmail: Opening
"/residence/lpr_cxa/MailLog/2020/202005.log.mail-vm"
Reporting-MTA: dns; mail.vacation spot.tld
Query: Is there any configuration setting in postfix such that errors resulting from procmail failures aren’t reported — however nonetheless all others are?