Skip to content

Commit

Permalink
use resetquota conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhangui committed Nov 26, 2023
1 parent 223c037 commit a2ea9db
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions indimail-mta-x/atrn.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# $Id: atrn.sh,v 1.12 2023-11-26 12:50:37+05:30 Cprogrammer Exp mbhangui $
# $Id: atrn.sh,v 1.12 2023-11-26 19:51:03+05:30 Cprogrammer Exp mbhangui $
#
# 0 - queueing started
# 1 - System Error
Expand Down Expand Up @@ -74,14 +74,16 @@ do
PREFIX/bin/setlock -nx $domains/seriallock PREFIX/bin/maildirserial \
-b -t $LIFETIME $domains/Maildir "$qvirtual"- \
PREFIX/bin/serialsmtp "$qvirtual"- AutoTURN 1
PREFIX/bin/setlock -nx $domains/seriallock PREFIX/sbin/resetquota \
$domains/Maildir
if [ -f $domains/Maildir/maildirsize ] ; then
PREFIX/bin/setlock -nx $domains/seriallock PREFIX/sbin/resetquota \
$domains/Maildir
fi
PREFIX/bin/setlock -nx $domains/seriallock /bin/rm $domains/seriallock
done
exit 0
#
# $Log: atrn.sh,v $
# Revision 1.12 2023-11-26 12:50:37+05:30 Cprogrammer
# Revision 1.12 2023-11-26 19:51:03+05:30 Cprogrammer
# fixed path for resetquota
#
# Revision 1.11 2021-04-29 10:04:52+05:30 Cprogrammer
Expand Down

0 comments on commit a2ea9db

Please sign in to comment.