• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Strange e-mail accounts Problem

V

varet

Guest
Hi ppl,

I have a strange problem, when i create an e-mail account with mailbox, sometimes (half of them) missing a line on .qmail file!
This line is sending mails to null! (and i have missing mails)
The missing line is:
| /usr/bin/deliverquota ./Maildir

I have created the following script in order to fix the problem!
Can someone help me with this issue?


Script:
#!/bin/sh

grep=/bin/grep


find /var/qmail/mailnames/ | grep /.qmail > result
sed '/.qmail-default/d' result >result2
echo > semifinalresult
for sitestoexport in `cat result2`
do
echo `grep deliverquota $sitestoexport` $sitestoexport >> semifinalresult
done

sed '/deliverquota/d' semifinalresult > finalresult

maildomainlist=`cat finalresult | awk 'FS="/" { print $6 "@" $5 }'`

for maildirs in $maildomainlist
do
mailbox=`/usr/local/psa/bin/mail -i $maildirs | grep Mailbox`
echo $mailbox
echo "Fixed $maildirs"
echo Fixed $maildirs >> fixed
/usr/local/psa/bin/mail -u $maildirs -mailbox false
/usr/local/psa/bin/mail -u $maildirs -mailbox true
 
Hi ppl,

I have a strange problem, when i create an e-mail account with mailbox, sometimes (half of them) missing a line on .qmail file!
This line is sending mails to null! (and i have missing mails)
The missing line is:


I have created the following script in order to fix the problem!
Can someone help me with this issue?


Script:


Noone has similar problems!.... Maybe i am the only one :)
 
Noone has similar problems!.... Maybe i am the only one :)


There is also a problem.
I think most likely due to simple passwords.

I have a solution, same as you (to periodically search).

The exact reasons you can not find?
 
Back
Top