nethubonline
Regular Pleskian
- Server operating system version
- AlmaLinux release 9.3
- Plesk version and microupdate number
- Plesk Obsidian Version 18.0.59 Update #2
Hi all,
After the first time enable outgoing messages limit, it works fine at the beginning. When user exceeds the limit and I want to reset the statistics for outgoing limit, so I tried commands below, problem happens. Please help.
Case 1
Result: stop limiting the outgoing email, user can send email more than the quota.
When the first email is sent, the maillog shows below because data.db not exists
When the second email is sent, the maillog shows below because data.db 0 byte
Case 2
Result is same as Case 1
Case 3
Result: user can't send any email. data.db 131072 bytes, mailog shows:
Case 4
Result: error shows:
After the first time enable outgoing messages limit, it works fine at the beginning. When user exceeds the limit and I want to reset the statistics for outgoing limit, so I tried commands below, problem happens. Please help.
Case 1
Bash:
plesk sbin mailmng-outgoing --destroy
When the first email is sent, the maillog shows below because data.db not exists
Code:
Apr 1 20:57:46 test.plesk psa-pc-remote[546]: 784608048A: py-limit-out: stderr: ERROR:__main__:[Errno 1] Operation not permitted: '/var/lib/plesk/mail/outgoing/data.db'
Code:
Apr 1 20:44:26 test.plesk psa-pc-remote[8635]: 71F0C106198A: py-limit-out: stderr: ERROR:__main__:no such table: domains
Case 2
Bash:
rm -rf /var/lib/plesk/mail/outgoing/data.db
Case 3
Bash:
plesk sbin mailmng-outgoing --destroy
plesk sbin mailmng-outgoing --cleanup --force
Code:
Apr 1 20:48:17 test.plesk psa-pc-remote[380]: 0FAC4106198F: py-limit-out: stderr: INFO:__main__:REJECT message as system user is not allowed to use sendmail
Apr 1 20:48:17 test.plesk psa-pc-remote[380]: 0FAC4106198F: py-limit-out: stderr: DATA REPLY:554:5.7.0 The message could not be sent. You are not allowed to use sendmail utility.
Apr 1 20:48:17 test.plesk psa-pc-remote[380]: 0FAC4106198F: py-limit-out: stderr: REJECT
Apr 1 20:48:17 test.plesk postfix/cleanup[982]: 0FAC4106198F: milter-reject: END-OF-MESSAGE from localhost.localdomain[127.0.0.1]: 5.7.0 The message could not be sent. You are not allowed to use sendmail utility.; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<test.com>
Apr 1 20:48:17 test.plesk postfix/smtpd[1013]: disconnect from localhost.localdomain[127.0.0.1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=0/1 rset=1 quit=1 commands=8/9
Case 4
Bash:
plesk sbin mailmng-outgoing --cleanup --to-timestamp UTC_TIMESTAMP --force
Bash:
ERROR:__main__:supplied timestamp is invalid: 'UTC_TIMESTAMP'
exit status 1