Users getting 451 qq read error while sending mail

From Mithiwiki
Jump to: navigation, search
MithiWiki Home > ConnectXf Home > ConnectXf Administration > Configuration > Users getting 451 qq read error while sending mail


Troubleshooting Icon.png
Troubleshooting
Product ConnectXf
Version All
Applies to Administrators
Level Advanced




Users getting 451 qq read error while sending mail

Symptoms

User of Connect Xf are unable to send mail. The mail is not getting queued by the server and is remaining in the outbox. They are receiving an error message "message temporarly not accepted because: qq read error (#4.3.0)"

Diagnosis

  • In /var/log/messages log following error was coming :
"message temporarly not accepted because: qq read error (#4.3.0)".
  • In the /var/log/mithi/mcs/prequeue.cpp.log the following error was seen:
"{Mail footer(remote) - block (Internal error when processing the remote footer)"
  • To get the exact error related to footer, we had enabled the debug log for prequeue.
To enable debug log following are the steps:
vi /mithi/mcs/modules/mithi-bl/conf/server/log4c.properties
search for prequeue.You will get the following line
log4j.logger.prequeue=INFO, F1 
Make INFO to DEBUG
log4j.logger.prequeue=DEBUG, F1
Save the file.
  • After enabling DEBUG for prequeue, send one test mail and then disable prequeue DEBUG log
Steps to Disable Prequeue Debug are as follows ;
vi /mithi/mcs/modules/mithi-bl/conf/server/log4c.properties
search for prequeue.You will get the following line
log4j.logger.prequeue=DEBUG, F1 
Make INFO to DEBUG
log4j.logger.prequeue=INFO, F1
Save the file.
  • After enabling DEBUG, the /var/log/mithi/mcs/prequeue.cpp.log shows the following errors
[10-Aug-2012_11:01:58] 14886.1344576716.112332 [prequeue] [WARN] - [MailFooterCheck(doAddMailFooter)] - <Error attaching remote mailfooter, will use original copy to send mail>
[10-Aug-2012_11:01:58] 14886.1344576716.112332 [prequeue] [DEBUG] - [MailFooterCheck(doProcess)] - SENDING USER: root SENDING DOMAIN: acmecorp.com STATUS :SUCCESS"

Cause

The localfooterplaintext, localfooterhtmltext, remotefooterplaintext and remotefooterhtmltext file were not present on the server, so the user were getting the error. Confirm this by executing the following command

ls /var/spool/qmailscan/domains/acmecorp.com/ -l
Output : ls: cannot access /var/spool/qmailscan/domains/acmecorp.com: No such file or directory

Resolution

Regen footer for the domain by executing the following four commands

/mithi/mcs/bin/regendomainproperties.sh --domain <domain name> --properties remotefooterhtmltext
/mithi/mcs/bin/regendomainproperties.sh --domain <domain name> --properties localfooterhtmltext
/mithi/mcs/bin/regendomainproperties.sh --domain <domain name> --properties remotefooterplaintext
/mithi/mcs/bin/regendomainproperties.sh --domain <domain name> --properties localfooterplaintext