• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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