Only message header shows with no body content in web interface
Hello Janos,
I have installed mailpiler on debian (3.16.0-4-amd64) environment. I sent few test emails to the archiver and it shows up in the web interface but when I click on the message, I am only able to view the header but not the message content.
I tried pilerget to view the message and I can see the contents there but just not in the user interface. Please suggest as I am running out of ideas.
pilerget on an individual message from /var/piler/store...
root@mailpiler:/var/piler/store/00/592/02/9f# pilerget 400000005924cee21025f3040016be69029f Return-Path: root@jailhost Received: from jailhost (localhost [127.0.0.1]) by jailhost (8.15.2/8.15.2) with ESMTPS id v4N0Oo1o001515 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for root@jailhost; Tue, 23 May 2017 10:24:52 +1000 (AEST) (envelope-from root@jailhost) Received: (from root@localhost) by jailhost (8.15.2/8.15.2/Submit) id v4HHXsni046239 for root; Thu, 18 May 2017 03:33:54 +1000 (AEST) (envelope-from root) Date: Thu, 18 May 2017 03:33:54 +1000 (AEST) From: Charlie Root root@jailhost Message-Id: 201705171733.v4HHXsni046239@jailhost To: root@jailhost Subject: jailhost daily run output
Removing stale files from /var/preserve:
Cleaning out old system announcements:
Removing stale files from /var/rwho:
Backup passwd and group files:
Verifying group file syntax: /etc/group is fine
Backing up mail aliases:
Disk status: Filesystem Size Used Avail Capacity Mounted on /dev/ada0s1a 18G 6.4G 11G 38% / devfs 1.0K 1.0K 0B 100% /dev /usr/jails/basejail 18G 6.4G 11G 38% /usr/jails/ipam/basejail devfs 1.0K 1.0K 0B 100% /usr/jails/ipam/dev fdescfs 1.0K 1.0K 0B 100% /usr/jails/ipam/dev/fd procfs 4.0K 4.0K 0B 100% /usr/jails/ipam/proc /usr/jails/basejail 18G 6.4G 11G 38% /usr/jails/ipamjail/basejail.......
Please let me know if you need further details.
Comments (8)
-
reporter -
repo owner I think the message has no default content-type nor boundary lines, so the zend mail library misses it. I've fixed this issue to use a default text/html type in this cases. So try the following: get this file, and overwrite model/message/message.php (back it up before doing so):
Let me know if it solves your problem. Anyway, try sending some emails sent by the usual MUAs, eg. Outlook, thunderbird, or some webmail, etc.
-
reporter Hi Janos,
Unfortunately, when I replaced message.php, it didn't show anything including email headers as well.
But when I changed back to the default message.php file and send a properly formatted email, I was able to see the message header and contents with attachments as well.
-
repo owner OK, then it seems that too much has changed since your version. Btw. what version do you use?
-
reporter I am using piler version 1.2 which I think is the latest version ?
-
repo owner You are right, it's 1.2.0. It seems that too much has changed since then to allow a simple overwrite. Try copying the complete webui directory to an alternative documentroot, create a test virtualhost for that, and try again.
-
reporter Thanks Janos, I was able to view emails upon copying the complete webui directory.
-
repo owner - changed status to resolved
OK, then case is closed.
- Log in to comment
When I download EML file from web UI and open it up, I am able to see the message body as well. Could be some modules be missing for apache ?