How to get the mail statistics :
[root@ qmail]# /var/qmail/bin/qmail-qstat
messages in queue: 23024
messages in queue but not yet preprocessed: 0
[root@ qmail]#
How to get the mail statistics :
[root@ qmail]# /var/qmail/bin/qmail-qstat
messages in queue: 23024
messages in queue but not yet preprocessed: 0
[root@ qmail]#
HTTPD LOGS
/etc/httpd/logs/error_log
EMAIL LOG
/usr/local/psa/var/log/maillog
PLESK ERROR LOG
/var/log/sw-cp-server/error_log
Solution :
[ vzctl set VEID --save --offline_management yes --offline_service vzpp ]
Plesk mail directory path :
/var/qmail/mailnames/DOMAIN.com/USERNAME
When we create a folder from within the webmail its created at the backend on
/var/qmail/mailnames/DOMAIN.com/USERNAME/Maildir/.FOLDER_NAME
ITS A HIDDEN FILE
cd /usr/local/psa/bin/
./pleskbackup –help
TAKE BACKUP SERVER WIDE :
./pleskbackup server -vv
TAKE BACKUP DOMAIN WISE :
./pleskbackup domain-name
Getting the below bounce message while trying to send emails to plesk server with drweb enabled.
================
A message with the following attributes was not delivered because it contains an object which cannot be checked by antivirus.
Relaying such messages is blocked by administrator.
================
Or
==================================
Getting the below message while trying to stop drweb from within plesk >> service management
Unable to make action: Unable to manage service by dr mgr: Empty error message from utility. (‘–stop’, ‘drweb’)
====================================
Solution :
/etc/init.d/drwebd restart
If that doesnot work kill all drweb process.
pgrep drwebd | xargs kill -9
Then check emails and if that work try enabling dr web again using
/etc/init.d/drwebd restart
/var/www/vhosts/default/htdocs/
You can call using IP/file.txt
[ /usr/local/psa/admin/sbin/mailmng --start-service ]
[ /usr/local/psa/admin/sbin/mailmng --stop-smtpd ]
Domain aotomatically expires even if we have setup unlimited expiry period in plesk.
SOLUTION :
for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e “select name from domains”`; do /usr/local/psa/bin/domain_pref -u $i -expiration -1;done
NOTE: All the domains will be changed to unlimited domain expiry.
cat /usr/local/psa/admin/conf/vhosts_bootstrap.conf | grep your_domain





