Jump to: navigation, search
MithiWiki Home > ConnectXf Home > ConnectXf Administration > Configuration > Link to the stripped attachment is missing in the mail received by the user

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

Link to the stripped attachment is missing in the mail received by the user


  • User received an email with attachment but the link to the stripped attachment is missing in the email.
  • Attachment stripping feature is enabled for the user.


Check the prequeue log for the user.

cat /var/log/mithi/mcs/prequeue.cpp.log | grep <sender id> or <receiver id> or Subject --for current(today) log

if want to check previous days

zcat /var/log/mithi/mcs/prequeue.cpp.log.1.gz | grep <sender id> or <receiver id> or Subject --for one day before

Note: Grep content either a sender id, or receiver id, or subject

Following is a sample pre-queue log

21-Oct-2013_17:30:18] 10341.1382356807.15457 [prequeue] [INFO] - [PreQueue] - <Details :: ["Status"="[Message acceptance status:Accepted for prequeue processing][Mail queue status:Message successfully queued]"]["IP"=""] ["Sender"="poorna@mithi.com"]["Envelope Sender"="poorna@mithi.com"]["Recipients"="deepa@acmecorp.com"]["Date"="Mon, 21 Oct 2013 17:17:41 +0530"]["MessageID"="1875060847.1429.1382356061213.JavaMail.root@"]["Subject"="for attachment stripping-ignore it"]["Size(KB)"="10144"]["AttachmentCount"="1"]["AttachmentList"="gz, "]["ReturnCode"="0"]["ProcessingTime"="11.470"]["ProcessedSteps"=" {Validate email ids - allow (EmailId validation was successful.)} { Spoof check - allow (Mail is not a spoof mail.)} {Domain Spoof check - allow (Mail is not a spoof mail.)} {Quota check - allow (Sender's used quota is below than the allocated limit.)} {Mail Archive : (Archive ids found :,deepa@archive.acmecorp.com)} { Mail Policy - allow( For the recipient : deepa@acmecorp.com( Policy type=Mail policy for recipient, Matched default action, Action=allow, Entity=User/Group, Id=deepa, Domain=acmecorp.com)} {SpamCheck : SC : Whitelisted/Blacklisted (Action: Allow)} { Attachment Stripping Policy - Strip (For the recipient : deepa@acmecorp.com, Matched Receiver Policy action is : strip, Mail attachment size exceeds the threshold attachment size. Stripping mail) Error while storing original mail in attachment store user. Sending original copy.}{ Mail processed footer is disabled at server level }"]>


Prequeue log shows an error while storing the attachment.

This may cause if settings in the configuration file are wrong.


1. Look for the settings for authmodulelist

cat /etc/authlib/authdaemonrc | grep -i "authmodulelist"

2. Check the for authmodulelist, if it not as given below below

authmodulelist="authattachmentstore authpipe authmcs"
  • Open the file /etc/authlib/authdaemonrc
vi /etc/authlib/authdaemonrc
  • Add the authattachmentstore auth module in the auth imap list before authpipe and authmcs such as
authmodulelist="authattachmentstore authpipe authmcs" 
  • Save the file
  • Restart Courier authlib service
/etc/init.d/courier-authlib restart

Refer to the topic Configure IMAP Authentication for the original mail store used by the Attachment Stripping module