1.To check qmail in plesk:
/var/qmail/bin/qmail-qstat
2.To send qmail in plesk:
/var/qmail/bin/qmail-send
3.To flush qmail in plesk:
/var/qmail/bin/qmail-clean
mails that are send from any user are stored in the following path
/var/qmail/mailnames/rhys-white.org/rhys/Maildir/.sent-mail/cur
Mail that are received are stored at:
/var/qmail/mailnames/rhys-white.org/rhys/Maildir/new
Delete mails from queue:
go to /var/qmail/queue/mess
In mess folder delete all the folders
Mails not being delivered to outside domains:
rm maillog
mv maillog.old maillog
wall we tried stopping qmail and inetd servers to remove maillog but this does seem to have worked
service xinetd stop
service qmail stop
ls
mv maillog maillog.old
touch maillog
service xinetd start
service qmail start
If you send ALRM signal to the qmail-send process, Qmail will try to process all messages in queue again immediately.
# ps ax | grep qmail-send
# kill -ALRM
hold time for mails in queue: to set in /var/qmail/control
http://forum.plesk.com/showthread.php?s=&threadid=11003&highlight=temporary+URL
Block mail from particular address : add the domain in /var/qmail/control/badmailfrom
mail logs:
tail -f /usr/local/psa/var/log/maillog
logfile:/usr/local/psa/var/log/maillog
ignorefile:/usr/local/etc/spam-ignore.txt
badmailfile:/var/qmail/control/badmailfrom
statfile:/usr/local/etc/spamguard.stat
warning count:30
block count:50
paranoid count:100
hostname: web5.3essentials.com
Spammers:
No spammer found yet
Sponsored link
No comments:
Post a Comment