Issue 2550550
Created on 2009-05-28 12:30 by aryohrling, last changed 2011-08-24 13:20 by schlatterbeck.
Messages | |||
---|---|---|---|
msg3711 | Author: [hidden] (aryohrling) | Date: 2009-05-28 12:30 | |
I am testing my tracker in preparation for a migration from another system that is currently running a much older version of Roundup. I use the command: `echo test | mailx -s "[issue] email issue" sample_tracker@localhost` to send an email to the alias I created. I receive the following bounce email; however, the email is completely plain text. --===============4480216726750449934== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Roundup requires the submission to be plain text. The message parser could not find a text/plain part to use. Mail Gateway Help ================= Incoming messages are examined for multiple parts: . In a multipart/mixed message or part, each subpart is extracted and examined. The text/plain subparts are assembled to form the textual body of the message, to be stored in the file associated with a "msg" class node. Any parts of other types are each stored in separate files and given "file" class nodes that are linked to the "msg" node. . In a multipart/alternative message or part, we look for a text/plain subpart and ignore the other parts. Summary ------- The "summary" property on message nodes is taken from the first non-quoting section in the message body. The message body is divided into sections by blank lines. Sections where the second and all subsequent lines begin with a ">" or "|" character are considered "quoting sections". The first line of the first non-quoting section becomes the summary of the message. Addresses --------- All of the addresses in the To: and Cc: headers of the incoming message are looked up among the user nodes, and the corresponding users are placed in the "recipients" property on the new "msg" node. The address in the From: header similarly determines the "author" property of the new "msg" node. The default handling for addresses that don't have corresponding users is to create new users with no passwords and a username equal to the address. (The web interface does not permit logins for users with no passwords.) If we prefer to reject mail from outside sources, we can simply register an auditor on the "user" class that prevents the creation of user nodes with no passwords. Actions ------- The subject line of the incoming message is examined to determine whether the message is an attempt to create a new item or to discuss an existing item. A designator enclosed in square brackets is sought as the first thing on the subject line (after skipping any "Fwd:" or "Re:" prefixes). If an item designator (class name and id number) is found there, the newly created "msg" node is added to the "messages" property for that item, and any new "file" nodes are added to the "files" property for the item. If just an item class name is found there, we attempt to create a new item of that class with its "messages" property initialized to contain the new "msg" node and its "files" property initialized to contain any new "file" nodes. Triggers -------- Both cases may trigger detectors (in the first case we are calling the set() method to add the message to the item's spool; in the second case we are calling the create() method to create a new node). If an auditor raises an exception, the original message is bounced back to the sender with the explanatory message given in the exception. $Id: mailgw.py,v 1.196 2008-07-23 03:04:44 richard Exp $ --===============4480216726750449934== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit |
|||
msg3838 | Author: [hidden] (richard) | Date: 2009-08-10 03:45 | |
Could you please provide a sample message? |
|||
msg4399 | Author: [hidden] (schlatterbeck) | Date: 2011-08-24 13:20 | |
no sample message provided, example looks like there is a mime header but no mime markup for which the diagnosis that no correct text part could be found is correct. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2011-08-24 13:20:40 | schlatterbeck | set | status: new -> closed nosy: + schlatterbeck messages: + msg4399 |
2009-08-10 03:45:52 | richard | set | resolution: works for me messages: + msg3838 nosy: + richard |
2009-05-28 12:30:14 | aryohrling | create |