• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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