My folder /etc/virtual/ is empty. How can I rebuild it?

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » Email » Repair Broken or Missing

My folder /etc/virtual/ is empty. How can I rebuild it?Last Modified: Feb 9, 2015, 4:42 pm
If, for whatever reason, you have your /etc/virtual/ folder for User , but still have other valid data in /etc/virtual that you don't want to lose, then you can re-set the default data with these commands:

cd /etc/virtual/

touch autoresponder.conf
touch filter
touch filter.conf
touch passwd
touch quota
touch vacation.conf
echo "user: user" > aliases
echo "*: :fail:" >> aliases
chown mail:mail *

mkdir -p majordomo
chmod 751 majordomo
chown majordomo:daemon majordomo

mkdir -p reply
chmod 700 reply
chown mail:mail reply

chown mail:mail .

Then you can start the process of re-adding all User accounts through DA, which are listed here

ls -la /home/user/imap/

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST