We also use office365 for our email accounts and have been polling for tickets successfully for a while now (with 2fa turned off of course) but now we just received a similar notice about our mail accounts switching over to oauth and will be looking to know if osticket will support "modern auth" or "oauth" as our IT folks referred to it.
There are many times where we would like to quickly delete a ticket from the agent "new ticket" email. It would be nice to be able to click a link from the email and go right to the ticket delete screen. Unfortunately, it seems that the delete ticket action is done via ajax so it's proving hard for me to go directly to a delete ticket screen.
That wouldn't necessarily work. What's going on is that we have html tags inside an html formatted message, which is something very common and most systems that process html are able to handle it. What happens is that the html editor that originated the message will use html entities like > to express a > symbol so that it is not treated as markup in the receiving system. What osticket's html parsing is doing is basically treating those html entities as actual html markup. I don't know if this is maybe some easy parameter setting on the htmlawed parser or if there is some other pre/post processing being done.
the html editor in osticket correctly displays the > entities when you switch to source, screenshots below:
but then after processing by osticket, it displays like this in the thread:
I will be looking foward to this release. This behavior definitely needs to change... take the example of a helpdesk that is helping people with html. If a ticket agent tried to write this response:
It would get convered to:
which would be non-helpful to the end user!
Thanks. Further testing and thinking about this has led me to this test:
Email sent to ticket inbox with this text:
And the text in the body of the ticket in osticket looks like this:
And the same behavior is seen when creating a ticket directly inside of osticket. It's completely reasonable to want to type a html tag directly into a ticket body and not have it interpreted as html. Generally these are converted to entities like < and >
Thanks for looking into this.
- Edited
The "thing" that is sending the bounceback is a mailserver.
I found this:
https://csguide.cs.princeton.edu/email/errors
and
https://answers.uillinois.edu/illinois/page.php?id=53259which both show the same bounce format with the problem email address enclosed in brackets.
So this seems to be a standard bounceback format.
Also, further testing shows that any < or > characters are causing issues.
I opened a ticket with the text:
Question for you, is 1 < 3?
and the resulting ticket body was:
Question for you, is 1Thanks for the suggestion, unfortunately it did not work. The text in question is still suppressed in the ticket body, and now, with this setting unchecked, the emails now have gibberish in them so I need to check it again... any other ideas?
We are getting bounces coming into the osticket imap inbox that have this in the body of the bounce message:
The original message was received at Thu, 6 Dec 2018 10:57:55 -0600 from: <support@mcw.edu> ----- The following addresses had permanent fatal errors ----- <bademail@mcw.emu> (reason: 550 Host unknown) ----- Transcript of session follows ----- 550 5.0.0 Host unknown
However, when osticket ingests that email and creates a ticket, the body of the ticket contains:
The original message was received at Thu, 6 Dec 2018 10:57:55 -0600 from: ----- The following addresses had permanent fatal errors ----- (reason: 550 Host unknown) ----- Transcript of session follows ----- 550 5.0.0 Host unknown
It seems that osticket is having trouble reading the full message, perhaps it's doing something with the "<" and ">" characters and thinking it is html or something? Unfortunately, this is the most important part of the email and we need to be able to tell which address bounced so we can deal with it. Generally we have osticket set to delete incoming email after ingesting it, but I temporarily turned it off in order to retrieve the actual source email for this forum post.
Can this be fixed? Or can you tell me which php file to look into and I'll try to figure it out.
Server Information
osTicket Version v1.10.4 (035fd0a) — Up to date
Web Server Software Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips
MySQL Version 5.6.42
PHP Version 5.6.38
PHP Extensions
gdlib Used for image manipulation and PDF printing
imap Used for email fetching
xml XML API
xml-dom Used for HTML email processing
json Improves performance creating and processing JSON
mbstring Highly recommended for non western european language content
phar Highly recommended for plugins and language packs
intl Highly recommended for non western european language content
fileinfo Used to detect file types for uploads
APCu Improves overall performance
Zend Opcache Improves overall performance
PHP Settings
cgi.fix_pathinfo "1" is recommended if AJAX is not working
date.timezone America/Chicago
Database Information and Usage
Schema osticketprd (localhost)
Schema Signature 98ad7d550c26ac44340350912296e673
Space Used 31.19 MiB
Space for Attachments 24.22 MiB
Timezone CST (Interpreted as America/Chicago)Installed Language Packs
English (United States)
en_US — include/i18n/en_USramrajone I didn't have that checked
ntozier That's what I needed, thank you.%{response.staff.signature} and %{response.staff.name} are the exact variables that work in this situation.
I didn't realize the responding staff person was hidden under the "response" variable, since I was just
using it for the text of the response. It's not listed as an "expandable variable". Somehow this could probably be made more clear in the "supported variables" screen.This behavior has stopped. very odd though.
my email template is:
Dear %{recipient.name},
%{response}
dept sig:
%{ticket.dept.signature}
assigned agent:
%{ticket.assigned}
ticket.staff.name:
%{ticket.staff.name}
When a ticket is assigned to Agent X, but Agent Y replies to the ticket, I can't figure out how to get the email to display the name of Agent Y. The email template only seems to provide access to the ASSIGNED agent's name, but I would like to display the RESPONDING agent's name so that the end user will know that someone else is answering their question. Additionally, selecting the agent's personal signature does not work... the personal signature displays in the HTML editor window when the agent is replying, but that signature does not display in the actual email that goes out to the end user.
osTicket Version v1.10.4 (035fd0a) — Up to date
Web Server Software Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips
MySQL Version 5.6.42
PHP Version 5.6.38
PHP Extensions
gdlib Used for image manipulation and PDF printing
imap Used for email fetching
xml XML API
xml-dom Used for HTML email processing
json Improves performance creating and processing JSON
mbstring Highly recommended for non western european language content
phar Highly recommended for plugins and language packs
intl Highly recommended for non western european language content
fileinfo Used to detect file types for uploads
APCu Improves overall performance
Zend Opcache Improves overall performance
PHP Settings
cgi.fix_pathinfo "1" is recommended if AJAX is not working
date.timezone America/Chicago
Database Information and Usage
Schema osticketprd (localhost)
Schema Signature 98ad7d550c26ac44340350912296e673
Space Used 30.02 MiB
Space for Attachments 24.22 MiB
Timezone CST (Interpreted as America/Chicago)any idea what's going on with this issue? thanks.
How do I troubleshoot this error? It happens every so often and our osticket is not getting much use yet:
[INSERT INTOost_attachment
SETfile_id
= 101,type
= 'D',object_id
= 66]Duplicate entry '66-101-D' for key 'file-type'<br />
<br />
---- Backtrace ----<br />
#0 (root)/include/mysqli.php(204): osTicket->logDBError('DB Error #1062', '[INSERT INTOo...')<br />
os...', true, true)<br />
#1 (root)/include/class.orm.php(3136): db_query('INSERT INTO
#2 (root)/include/class.orm.php(597): MySqlExecutor->execute()<br />
#3 (root)/include/class.attachment.php(161): VerySimpleModel->save()<br />
#4 (root)/include/ajax.draft.php(101): GenericAttachments->upload(Array)<br />
#5 (root)/include/ajax.draft.php(300): DraftAjaxAPI->_uploadInlineImage(Object(Draft))<br />
#6 [internal function]: DraftAjaxAPI->uploadInlineImage('66')<br />
#7 (root)/include/class.dispatcher.php(145): call_user_func_array(Array, Array)<br />
#8 (root)/include/class.dispatcher.php(38): UrlMatcher->dispatch('66/attach', Array)<br />
#9 (root)/include/class.dispatcher.php(120): Dispatcher->resolve('66/attach', Array)<br />
#10 (root)/include/class.dispatcher.php(38): UrlMatcher->dispatch('/draft/66/attac...', NULL)<br />
#11 (root)/scp/ajax.php(262): Dispatcher->resolve('/draft/66/attac...')<br />
#12 {main}When I click the password reset button, the window shakes left and right. No error messages and nothing in the apache error log.
I'm attaching the headers from both emails. One named directemail-headers.txt is the email sent directly to the support inbox:
From: "Smith, Wes" <staffmember@example.edu>
To: supportinbox <supportinbox@example.edu>
CC: "person1@example.edu" <person1@example.edu>, "person2@example.edu"
<person2@example.edu>
Subject: direct email to the support inbox with 2 people on CCand the one named staffemail-headers.txt is the one sent to the staff member that was then copied into the support inbox:
From: "Smith, Wes" <staffmember@example.edu>
To: "Johnson, Mark" <mark@example.edu>
CC: "person5@example.edu" <person5@example.edu>, "person6@example.edu"
<person6@example.edu>
Subject: email to staff member that will be copied/dragged into support inboxI will also attach 2 screenshots, ticketShowingCollaborators.jpg is the one showing that the person1 and person2 were added as collaborators.The other one shows that the ticket was created, but the collaborators (person 5 and person6) were not added.
txt files are pasted below because this forum won't allow .txt attachments ..??
directemail-headers.txt
Received: from BYAPR01MB4984.prod.exchangelabs.com (2603:10b6:5:40::24) by
DM6PR01MB4988.prod.exchangelabs.com with HTTPS via
DM6PR03CA0011.NAMPRD03.PROD.OUTLOOK.COM; Fri, 9 Nov 2018 18:49:47 +0000
Received: from BYAPR01CA0066.prod.exchangelabs.com (2603:10b6:a03:94::43) by
BYAPR01MB4984.prod.exchangelabs.com (2603:10b6:a03:79::33) with Microsoft
SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.1294.27; Fri, 9 Nov 2018 18:49:46 +0000
Received: from BY2NAM01FT018.eop-nam01.prod.protection.outlook.com
(2a01:111:f400:7e42::202) by BYAPR01CA0066.outlook.office365.com
(2603:10b6:a03:94::43) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1294.21 via Frontend
Transport; Fri, 9 Nov 2018 18:49:46 +0000
Authentication-Results: spf=softfail (sender IP is 121.106.114.12)
smtp.mailfrom=example.edu; mcw0.mail.onmicrosoft.com; dkim=none (message not
signed) header.d=none;mcw0.mail.onmicrosoft.com; dmarc=fail action=none
header.from=example.edu;
Received-SPF: SoftFail (protection.outlook.com: domain of transitioning
example.edu discourages use of 121.106.114.12 as permitted sender)
Received: from mail.example.edu (121.106.114.12) by
BY2NAM01FT018.mail.protection.outlook.com (155.152.69.210) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id
15.20.1339.10 via Frontend Transport; Fri, 9 Nov 2018 18:49:46 +0000
Received: from MCWMB1a.examplecorp.net (121.106.63.201) by MCWEXCH3.examplecorp.net
(121.106.114.12) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 9 Nov
2018 12:49:45 -0600
Received: from MCWMB1c.examplecorp.net (121.106.114.21) by MCWMB1a.examplecorp.net
(121.106.63.201) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 9 Nov
2018 12:49:44 -0600
Received: from MCWMB1c.examplecorp.net ([fe80::115d:e5c5:81bd:ac95]) by
MCWMB1c.examplecorp.net ([fe80::115d:e5c5:81bd:ac95%17]) with mapi id
15.00.1395.000; Fri, 9 Nov 2018 12:49:44 -0600
From: "Smith, Wes" <staffmember@example.edu>
To: supportinbox <supportinbox@example.edu>
CC: "person1@example.edu" <person1@example.edu>, "person2@example.edu"
<person2@example.edu>
Subject: direct email to the support inbox with 2 people on CC
Thread-Topic: direct email to the support inbox with 2 people on CC
Thread-Index: AQHUeFz7fLYGlMS+TEmXX+50ZeXyJA==
Date: Fri, 9 Nov 2018 18:49:44 +0000
Message-ID: <107B34DE-2AB4-47FB-9ED4-AC6F57699A44@example.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator: <107B34DE-2AB4-47FB-9ED4-AC6F57699A44@example.edu>
user-agent: Microsoft-MacOutlook/155.12.0.181014
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [121.106.5.131]
MIME-Version: 1.0
Return-Path: staffmember@example.edu
X-OrganizationHeadersPreserved: MCWEXCH3.examplecorp.net
X-MS-Exchange-Organization-ExpirationStartTime: 09 Nov 2018 18:49:46.4984
(UTC)
X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit
X-MS-Exchange-Organization-ExpirationInterval: 2:00:00:00.0000000
X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit
X-MS-Exchange-Organization-Network-Message-Id:
a0258adb-b1d3-4a88-50dd-08d646741eb7
X-EOPAttributedMessage: 0
X-MS-Exchange-Organization-MessageDirectionality: Originating
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 04
X-MS-Exchange-Organization-AuthSource: MCWMB1c.examplecorp.net
X-MS-Exchange-Organization-SCL: -1
X-CrossPremisesHeadersPromoted:
BY2NAM01FT018.eop-nam01.prod.protection.outlook.com
X-CrossPremisesHeadersFiltered:
BY2NAM01FT018.eop-nam01.prod.protection.outlook.com
X-Forefront-Antispam-Report:
CIP:121.106.114.12;IPV:NLI;CTRY:US;EFV:NLI;SFV:SKI;SFS:;DIR:INB;SFP:;SCL:-1;SRVR:BYAPR01MB4984;H:mail.example.edu;FPR:;SPF:None;LANG:en;
X-Microsoft-Exchange-Diagnostics:
1;BY2NAM01FT018;1:4E7Wzpg66SQE6P8gc7YC4RqODdODZaghQAxbAj8O7xeRPR37t8Fvec07xNaQmxTjUj8Fc5Q8wIywAMu7Q7JdE3mpIYBpX4inK4K+iNbOfNOpjRS5K4ACzkaxa7IT6Maf
X-OriginatorOrg: example.edu
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: a0258adb-b1d3-4a88-50dd-08d646741eb7
X-Microsoft-Antispam:
BCL:0;PCL:0;RULEID?7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:BYAPR01MB4984;
X-Microsoft-Exchange-Diagnostics:
1;BYAPR01MB4984;3:4KikDnsSTbHX9SjSxuMQ5B6xWOtCI8ByBBWINP4k4aHNadERqfvBl1xSDZ3hCsBPadG77fqSnd8TDMH36gFReauLNH2vLloOnIsbJwyxReTGMFDVcHrco3DDP5lY0jYmut2IVLt2CcYKP0qN3yajO95vNP8XO5tqy6RkkfOYl3+4VWpErm843ebsesdIZWJYxqPIsNmTodurIBgQGfvA4w/3halUY8S8595zytzZTz3e9mMUkKsP1veGav6dgC+X8+a+vqlW7NKjj4Gt3HTsgq/3mTonbyvR6CeSBQVaG7e8Fa5+4/RxgCTEF3yUf+QJquZ0vzhcMi9snuUyOOQ4eeGtODI6WPwVbjaECJD7iWs=;25:ZRtmAVZbU3L8askmSziefkG1aac0rCUgyQ96bFZF2+UMMhxBG647SRHy6+CchUzI3VeXJn3KLJFxFIpDdimZHRtY8EF8fA8cL9IQ0ZNJQebD5C5JolGp+hXpVOqtaUQANVRomhtbhQj99zA0uucZJm+KFwaxod3WN5MEVLQ+X5OD7coaLIhRXBrD64So7qkN4vTJUpYc2SMEp6VebtQwquXqDoVodS5BNRsKhj/f56ZFdm2pXpjqB0fOjcMPgbtBfiIXUZtXcVWTHKKpIRQPR6iUrHmpdxkDInMLyi6qlAETeh5VX2ZPlr1EGyrx7nBoLvQgAp7xMqg6Cr6whXZFvw==
X-MS-TrafficTypeDiagnostic: BYAPR01MB4984:
X-Microsoft-Exchange-Diagnostics:
1;BYAPR01MB4984;31:zj8VWf1glsK+PQoQ+MXCh/BJgoDfsoZhXPqTjG0Nm4PnqpofCkXfUmhLA3aekeYWtbTR2sTHJXlgwsBwbICw2DfnQCnfEBjc0rXOWQ6d99ky7TgKSgUI3ZJZdPkQpBOvUmuEiH28dtigvUmqzwChZUEoW9osFgQ4S4migLxF+ir0sgzbNw9GMN0o07V2MrMEF6Kmvs6dltK1Q8grEgEFij5S1Jb0jH17NR3lZ373rMg=;20:2LMJQYsulxaR6U2ggp/23MyUOWky4YgdtqscCDJp/2Rxyif0WkaoPXRxFyB4rtF8RW9I1x808//cJbMEWurEM1FOzQYqHIQu8vBCRJ69m+tAdn8293+funuJt+FEGJ79xuSNohgMc+FOH0sZ0zXLNi3AnWyx3MIuMfFNo9xYTfVfpLe/ammWB2uRAynnFOUbc7eizQc+JYzoUtIDI9EGrlI6t1p8jH6YPKyWCu08dO08LAYNpeSTBTX+e9uzSulzeu4B+84qKlDMDo7CcvzRFda68/WjAomH4YVELqKObHeBstRTkkFxybaZHmvNRNWIT/iJq8TxghcWzB+vsxb0s35ISFMn7zMV9tzUtoBAfDmo4tP97Z8Emegv3LmGXn0S6g3i+edH9zJ/7XQ4iXRMwpMCymSR+/8Gh8wCjuuxSgMRySmS3JrP5kbagZHo6VXQygpShHW6XttPVfMrbuDkxCZpp2hEdDxtSwaaXAaOaabwwT3Gv2MxMTaGkEZec5zeGmXeUBM5KouT7EDjihOO/MloA4XlX4JPcs29xvbkv3W3fXDd4adyfE+TYGhNixVDS6+o1EHtQBfXLZYgu48tk+rQmOC8rzrnGWVZtxMXvLI=
X-Exchange-Antispam-Report-Test:
UriScan?21748063052155)(28532068793085)(190501279198761)(227612066756510);
X-Exchange-Antispam-Report-CFA-Test:
BCL:0;PCL:0;RULEID?20180801055)(9101524173)(2401047)(8121501046)(823300264)(823320095)(93006095)(93003095)(3002001)(3231382)(944501410)(52105095)(10201501046)(148016)(201708071742011)(7699051)(76991095);SRVR:BYAPR01MB4984;BCL:0;PCL:0;RULEID:;SRVR:BYAPR01MB4984;
X-Microsoft-Exchange-Diagnostics:
1;BYAPR01MB4984;4:HwJIh365Cc4xFIzJ8LOaQFoiLA+6Y24kcvOM5+kAwaQdGDUvMTq63bJoNbDXBX0f3qZcB+er/IpJOG2/oFJJ6PwktHvVPUNAN9IqFEdNO+LFqeT3vlR+gHn7xgBKX5BrI0MdUmkWntfp3LpHC8K3XJvfkldN2Ty1ok984/qOIvea5JoHrz5v7kkyBgBEGJj8oom1X/MBAX1kNIVF/97e2900tu6nV/v+yniI9lkZH8VhSJyvDfINMpePOokHInznzCIWjPafMphkS6rBg759igl6vWRPc2ButRi20F4B+W8yZcw7O7Kb4fd6lVC2wDQqo+knAFsyvfoWD3iW+G6FP8DdSjSUexI7tTiR9At1WUzCezqLgfwlI2bkn8ocSY8crT9NUWvqdAnfZXBC7MFlPIPFvXoIyIYTIDLdK39ocdM=;23:KqYQ4aLGnbUy7VS6xlNdez2BYe1NQjIj9wCYWxCB3HMHY22Ki0o/qvln9egm7Wljjjzgj0YrPQpl4vrmmWhGAcpNyxP8WH8H5McaE6LDMwE0NB59C/LjzM5mDgAerGkQ0ez4CCggkwKIccduvejaWQ==
X-Microsoft-Exchange-Diagnostics:
1;BYAPR01MB4984;6:AgMKOBannQvIvxR0Qm50GQ/KB2M//KhGRuukf8xA0QvQ7OrG3f4EGI+kdE96E8etjDPxSYfPi41YhkYPpQ1p53rozzBmytfFP3JmUoxSDw9D+uBWCdG34Wl2gWQ/NZ2hIQSo+sy+6X87wlgoPBLBkMdPAtNLXoNKsB9+279KEu4sQQMTFwT7COfv251KLFGC/ElfkjnEVEqyESN9tysnCHysuFhfIimk8NE5jzHsLlx83KjG+1IuRe1verGm3uk6QwPNMuGPgIL53SqxzFerN1PKZjxzQraL6HKt7XmZ4y0gW2fzP9zrO2UBsdub/b7bqCEcSZu8NCHfsIghUudsJGlUjQGa/nzjkMCyBPYKH3u9bUNvsCDvxv0mmvPS9sRY4sagnGQo9h5y7sK6Ec21g9X0506C03Uory3fEPM9aT2QFSdnLDvuJfLsM35806hPklSCdIdisL3PeOsSqVd6EA==;5:1NW+EgiUMUxZ9kwMQzsKKsGMbRYfmCpvPrmMcG+y10tipRTz7G2enYr9RIVHdPc3XzoBWhCZ4bkPFPYN80MmqIn+yjY7bSse10dj3+tRgBYyy1kQ3yPpdfEDD3CTh8oBxtPMC9U6xJURlTRqL2dcYTJVpAUmkQhv6mWB6OFOZSs=;7:Kvo/KcSjthEg8P9iL6Hdjgfkes9+z8fvS4YOuVykacoEO5bUg6r2aT1124UEIuYscPdKoi8jA8LKsTIAy9a+XRDTMhC6CEOXt0g1hUfVPA/KJJfVz2txFd/Tua3R/8Js9RI6JMDYwtkPDJ1FSPtXlQ==
SpamDiagnosticOutput: 1:0
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2018 18:49:46.3422
(UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: a0258adb-b1d3-4a88-50dd-08d646741eb7
X-MS-Exchange-CrossTenant-Id: 9963652a-ab0a-4f1b-994a-b49e83d90f0e
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=9963652a-ab0a-4f1b-994a-b49e83d90f0e;Ip=[121.106.114.12];Helo=[mail.example.edu]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR01MB4984
X-MS-Exchange-Transport-EndToEndLatency: 00:00:01.0027860
X-MS-Exchange-Processed-By-BccFoldering: 15.20.1294.024
X-Microsoft-Exchange-Diagnostics:
1;DM6PR01MB4988;9:VWGDtpuWY4RpBbWCWhc2k8K9vJgsrMA2V7446i4fp8/Jf3t72vpglZC4mA4Kfa72n+cHq4mnTuJMdTyt9CEMFRbtrmkv0la/4YNIcxGiBT8SDgA1jgp9qFYcUDQg+gGw
X-Microsoft-Antispam-Mailbox-Delivery:
ucf:0;jmr:0;ex:0;auth:0;dest:I;ENG?750119)(520011016)(706158)(944506303)(944626516);
X-Microsoft-Antispam-Message-Info:
yr8Wg74hHGuagakc7L9HpX+iiFhe5ac6qbXZA3g8fRviLw+SMtdDBiRvKaftTDNo8+SeS1AiImpHdkYCew7IpH+QcU6X3viMx5tHQanUQ+4/bFagx1+e5OiZhxTNv43FlQVHHrA4IegQ0A08l69sWnJ+WhLA+b2Dff6wloFte6aJBLGOJZZNy+yJp8VuqZbL6h5sXkYVBHULclau7TPqA0mIxsuIjVQUgbq+roVxrsN/nQRJuNwHsRS5JKt7vC5uDy8TCssDf4yPitl3xKSywBSMrICWY86M9Uya9l6V3vFYnU1oZ75QdC5HuNQr0g357yMHl+3qS9prW2U48tKpoWAJr4Y04b9AYOEw8M8BHN4YZ5LpL4CqngBcmksZrieg6CT98LHYLVDqkuDIAqh9pdbcq4FkTunWWAu9izhEGbI=
X-Microsoft-Exchange-Diagnostics:
1;DM6PR01MB4988;27:URR2/obBlyFOgTIcGf9IbTrXPN63yxabUAOfNBlpC/+P6eTjhMl64TT+DOYqHewCma67rhrB9Ct2C4mIBk/MvCSnbJPTkN1zKJg7R5/3ZP+cqHO+uAhmCyO/tkWyxDxLOv7LM4t9/rI9eB7viaYUqWpexpGGAPxxnQj9X7XBV5fhfEmjL07mTSOciVFEXHFNyE5CVkziiJfA7iWkG6nPL4SwSNDVvhBVjjIBigXocNt/BvOCi4gRMe63cf2lOJ/Vy5iRTjLBUkCsuarlmb441KecgiOgoXbDBup6zJyf+yoq1KHD/afLsHE3EpYASfe6CjC6/bv4q39ACzdjsaGEX54aLy3D3PWNAt/3HDIDOMzhnGPb6Nkbd3kUok81T6Mzi1h2dfXBxfAh2fiGmqy7bQ==
Content-type: multipart/alternative;
boundary="B_3624612611_1577893457"This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.--B_3624612611_1577893457
Content-type: text/plain;
charset="UTF-8"
Content-transfer-encoding: 7bitthis is the ticket body
staffemail-headers.txt
Received: from DM6PR01MB4345.prod.exchangelabs.com (2603:10b6:5?:39) by
DM6PR01MB4346.prod.exchangelabs.com with HTTPS via
DM6PR03CA0062.NAMPRD03.PROD.OUTLOOK.COM; Fri, 9 Nov 2018 18:54:32 +0000
Received: from SN2PR01CA0003.prod.exchangelabs.com (2603:10b6:804:2::13) by
DM6PR01MB4345.prod.exchangelabs.com (2603:10b6:5:75::20) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.1294.25; Fri, 9 Nov 2018 18:54:31 +0000
Received: from BY2NAM01FT032.eop-nam01.prod.protection.outlook.com
(2a01:111:f400:7e42::203) by SN2PR01CA0003.outlook.office365.com
(2603:10b6:804:2::13) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1294.20 via Frontend
Transport; Fri, 9 Nov 2018 18:54:31 +0000
Authentication-Results: spf=softfail (sender IP is 121.106.114.10)
smtp.mailfrom=example.edu; mcw0.mail.onmicrosoft.com; dkim=none (message not
signed) header.d=none;mcw0.mail.onmicrosoft.com; dmarc=fail action=none
header.from=example.edu;
Received-SPF: SoftFail (protection.outlook.com: domain of transitioning
example.edu discourages use of 121.106.114.10 as permitted sender)
Received: from mail.example.edu (121.106.114.10) by
BY2NAM01FT032.mail.protection.outlook.com (155.152.69.209) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id
15.20.1339.10 via Frontend Transport; Fri, 9 Nov 2018 18:54:31 +0000
Received: from MCWMB1c.examplecorp.net (121.106.114.21) by MCWEXCH1.examplecorp.net
(121.106.114.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 9 Nov
2018 12:54:30 -0600
Received: from MCWMB1c.examplecorp.net (121.106.114.21) by MCWMB1c.examplecorp.net
(121.106.114.21) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 9 Nov
2018 12:54:29 -0600
Received: from MCWMB1c.examplecorp.net ([fe80::115d:e5c5:81bd:ac95]) by
MCWMB1c.examplecorp.net ([fe80::115d:e5c5:81bd:ac95%17]) with mapi id
15.00.1395.000; Fri, 9 Nov 2018 12:54:29 -0600
From: "Smith, Wes" <staffmember@example.edu>
To: "Johnson, Mark" <mark@example.edu>
CC: "person5@example.edu" <person5@example.edu>, "person6@example.edu"
<person6@example.edu>
Subject: email to staff member that will be copied/dragged into support inbox
Thread-Topic: email to staff member that will be copied/dragged into support
inbox
Thread-Index: AQHUeF2lWUHJ5GQyD0KQw0RZ5uDxPg==
Date: Fri, 9 Nov 2018 18:54:29 +0000
Message-ID: <104AFF79-04F8-43B6-BE4E-7F9E7AD83F5E@example.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator: <104AFF79-04F8-43B6-BE4E-7F9E7AD83F5E@example.edu>
user-agent: Microsoft-MacOutlook/155.12.0.181014
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [121.106.5.131]
MIME-Version: 1.0
Return-Path: staffmember@example.edu
X-OrganizationHeadersPreserved: MCWEXCH1.examplecorp.net
X-MS-Exchange-Organization-ExpirationStartTime: 09 Nov 2018 18:54:31.4455
(UTC)
X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit
X-MS-Exchange-Organization-ExpirationInterval: 2:00:00:00.0000000
X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit
X-MS-Exchange-Organization-Network-Message-Id:
4456238c-be02-461c-c9a1-08d64674c88e
X-EOPAttributedMessage: 0
X-MS-Exchange-Organization-MessageDirectionality: Originating
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 04
X-MS-Exchange-Organization-AuthSource: MCWMB1c.examplecorp.net
X-MS-Exchange-Organization-SCL: -1
X-CrossPremisesHeadersPromoted:
BY2NAM01FT032.eop-nam01.prod.protection.outlook.com
X-CrossPremisesHeadersFiltered:
BY2NAM01FT032.eop-nam01.prod.protection.outlook.com
X-Forefront-Antispam-Report:
CIP:121.106.114.10;IPV:NLI;CTRY:US;EFV:NLI;SFV:SKI;SFS:;DIR:INB;SFP:;SCL:-1;SRVR?M6PR01MB4345;H:mail.example.edu;FPR:;SPF:None;LANG:en;
X-Microsoft-Exchange-Diagnostics:
1;BY2NAM01FT032;1:RAQQvrjQ5b8X2dFXyyWkKA6SpXmT9eYu0PlMdvQuFaijFSZiyzl9D4sIyYPjoPlg269vRa1BW81NB4DGhTlKJmydU/WnWy55NCVnGgJx4xRFYHczMFEukCN8vfudt9Qn
X-OriginatorOrg: example.edu
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 4456238c-be02-461c-c9a1-08d64674c88e
X-Microsoft-Antispam:
BCL:0;PCL:0;RULEID?7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR?M6PR01MB4345;
X-Microsoft-Exchange-Diagnostics:
1;DM6PR01MB4345;3:adrKxb+rEqYeSGU66zFSW84pKXwSIpuqDW0FZD6oyz1L/hVpm46+f+QTdJnwUhnQprC9m35xkQqW+E48OD3ehlwdTRPX60xOAKaDvoDXKOT+qAX6RkgzS3qhpJv703fK5AyrgaKrsksrGWvt33xMEWB9ScLmSCc5yJKH+TZqJjkG44BXCVNlBB2QcODY/E9phT/9UAdTcJYEmB/TJUXLak5yGI7p2XNxrF95/iQdRiwEq202gwfmL873jDYMQmdROpOTAJ09Ojzp/tQL9UxP23mVSOeMyTzv94OrXdo5wRArhrHzj4sh6UjEDFxlDx9Ptpky/R7sjv+xN7rVoklIq6ElmwSIw3T2mva+JSqgBAg=;25:X+CuSpPtwpvyzyn9RYHVfobA7ejWWZKjKTrp4R16ewsODKRGQxqrkVVqVrRee4TwA12rZNs4c1dwlRv27GdcvW0M3e5bnWSGtsQnoGTrzD/ML2BjO7WyrZu7ZL+OmbAuNLDFJ4qsb/WuMoETXZgwmcnHGxcdqes8AFm6IPTXaRVHEugdExyfQdkuaa/NG75tuJBMwen9oMeT/ATtkkbvaqzFPKU00vEGjphNa5xjTfYqdVCDSi20IRhECm7JWqZo0BV4F7AJmH9uSCKtuBUl/Lu/5bPMtnfEL1X93MUaQ60JqDHy0Cys05QhZruVXGgt/+TxKTPmPQkKeB0ZCytNIA==
X-MS-TrafficTypeDiagnostic: DM6PR01MB4345:
X-Microsoft-Exchange-Diagnostics:
1;DM6PR01MB4345;31:scgISiymt2F/4fI+gCfsHkwxzry/boHOkahN2G7nYTw5WZAQOsH+hzuN5Oq7atOqPHCWyDTR3HEGtc9aYd719di+koMzGG1Z1/bH7HIbPdadWqD6dHKGw2Nasx51XcmCNNkEsavsEYBAQBUYzlHsK+I2FtJW3GeXYOQrGjzJ4ZD+SVMKevg05Z/gXbJ0I3fwoN36zcA2dT8gBpBVOrnUF9FNcTXSqIcIhn3Dwlgi/Ss=;20:i4703ToZ/W9kXFs7Ttpf0Gme5vXzCPKnnZNPjD+WhfrsGn0+V1ymo/UVYnwoiqtBQHcH/kIML2ZS/7iqcbUT+gehGPJeATVgHu+qOSpGa4LQxcXaKaaE2F27UCdgvsu4g6l/O7EqRaiBhes9MM9r3qd16QokvjpJacy34vTHqmC/NK/1Ow7e4rc9c/QWo2SEBf2q4yzCZpSHNOgnGIjwn1v2QhOlTLhMdYVnxZDM9c8FbhCQ9kofW4QPbVizc10IUW5RXhcsNdP+WCXcJDM5rvP4fPC7d+K4AaQTfoEv8Nn35nNa01XIVqj0uBbInywXVEckNG6fj87SgJcr8ngEp1KvdwGGOYOuzWEHexhglVDm34QbzqlBFoXLlRdBWt373Pd7r83mbGooZxKX/kr8uQIIH7/j3Zk+hKbtImg/WLthwyvha0zHF5G6uw209WBO62JJIiyQMP8JpIK6nm+uNtxSwTXUF5WDAd8BbltyR29wBz3asy8RWz+iqwxlkHTkJCmKExLXRTnRZ/F1/KPYhjQ9oMOAdRJsHc41RVOhxVa3XLkUMGojjz6PvYp5yWjp9MYId16sONwA98LmXIIUzEF8eKJO4jafyQcFBvxGZMk=
X-Exchange-Antispam-Report-Test:
UriScan?21748063052155)(28532068793085)(190501279198761)(227612066756510);
X-Exchange-Antispam-Report-CFA-Test:
BCL:0;PCL:0;RULEID?20180801055)(9101524173)(2401047)(8121501046)(823300264)(823320095)(3231382)(944501410)(52105095)(3002001)(10201501046)(93006095)(93003095)(148016)(201708071742011)(7699051)(76991095);SRVR?M6PR01MB4345;BCL:0;PCL:0;RULEID:;SRVR?M6PR01MB4345;
X-Microsoft-Exchange-Diagnostics:
1;DM6PR01MB4345;4:C/nwsuvKSlhZ3IQv4bW1G/DxTsg3FdLS/zSYEXuIAVQAlZCsNqqhxNEPhe3ZpeDhEkgEt7xTkhahisn1eRrXQwdJUzrwGDD3CBoJyr3VX0OhRwMjCeeRNA+gBN0wQWlskVOJFy/fM5B7vdqIr7rM3gHME/Nx6Wtp610yoZCuoI4lTwGwLtVEh7SYR0yMx3nveYjw7ASCY2tiR1GiFQ6a4cHkx2ZrrKhgnqL2VzbJetkayYBlyf8kr8UvvdMUYTD1lQ1Gxk5gtPB1W+PffN5JCw3132kayTnuHLbU3eebXIsHegHhIGX2iqQU3MwnwUbfNuFcZToe9lmtQ1WN2O3VQj7+eLd89u0sEvLonttYlC7XorDREALxGk/oVA7TKkhNOsRZ5SCLiWrvxxpn6LMoIJquya/J2/or/js4E+ARaYU=;23:6XxeasZYinjuNx8nNTZV0u6qzPci9R9HngK24lF6T4rGTfLD6xWkCW31Sc/jbFgPBpGpMj4LUIO11p4hV7vJGg1ju18DtSJzvDSS14aXB8OFNU/DDgV8PF+Lenxtk9YfoPsRFzGqf5qr94TqclR+DA==
X-Microsoft-Exchange-Diagnostics:
1;DM6PR01MB4345;6:+vPJDZzY8ZeYGZI9TWKzXB2PJtGM3/uJy/gjnAlkh1l0aNa9uyCvo7pgFv5pm3yBMGAkD3BkKtyq7TZ69a30ldHD8UA/zH9DXTRRzTDguwWls0iEDWZ5v1xoes+clWCUoolSzzl0O/Xa9qZLjpooEU2UEWX4uz2gLi7DSrucliI46ASIyO+XUWgHPIMfvtascegt5aAMBlytsQbieFfkEQTdO9GQOQFuJ05ETntAaT1aRsGCx07mOU5khomazw4m2VsVipAN1IEcNc/jWMdvLuts6BJpyWa6usi45WcT1EQNR4O8LxTIB4X2RUBRKJJm+jRTMV5GrjuJPcdvUCkZJteBq7ze4KHe9Ksi9kPPoPtMw6hDEsb4AOcKRRaX3WKQ4F9r6ELodlk6OLJ99nccLaIBomx31AfjXgaezgOAkL0VcBihSN7N+KKjuuFKJD1vNL89WW5xihsnLXky4h4HJw==;5?0WgkuUT9fzAXq/diK9afE3MyLQ/2/8BMkkStea/1lMqI0Vortpdbt3UcMr/9HRz8hkbCicPgX9YkWoP3eDEFwN4A7sYniuUm36ZmTRj4s77CworaNfXu2qsbHLs9tcQuzUJpExgFGmqaKBtBlSLZ9p9SEoDgoOVrqRKXc2xP3k=;7:JJayMzDPXW1sy07xIMfd79pfAiuyKp+c8x73x0FwVmDhTWq1NZJhceVgIc9g4+6ndxkYqrP+A+HBkEbxrlJanUWTpFrgGBiM5BlaWgAXZUEDb9wKV8yG1fVgd+1BLkHnCVFQOYXlzcNuQClk245twQ==
SpamDiagnosticOutput: 1:0
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2018 18:54:31.3049
(UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 4456238c-be02-461c-c9a1-08d64674c88e
X-MS-Exchange-CrossTenant-Id: 9963652a-ab0a-4f1b-994a-b49e83d90f0e
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=9963652a-ab0a-4f1b-994a-b49e83d90f0e;Ip=[121.106.114.10];Helo=[mail.example.edu]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR01MB4345
X-MS-Exchange-Transport-EndToEndLatency: 00:00:01.2567560
X-MS-Exchange-Processed-By-BccFoldering: 15.20.1294.024
X-Microsoft-Exchange-Diagnostics:
1;DM6PR01MB4346;9:hG1FDMLOtt8sEVP78S4xuMCMjqFcTBvVnS/7RblEhC7xkRkvTsH+F1QZt0hE2xRupU1q9bQl5uFnXFistok0ADjQH/3CW6LGCDhgaRk3rnncfbhNkUPxjikyQnQ+6LYI
X-Microsoft-Antispam-Mailbox-Delivery:
ucf:0;jmr:0;ex:0;auth:0;dest:I;ENG?750119)(520011016)(706158)(944506303)(944626516);
X-Microsoft-Antispam-Message-Info:
p/W/ruP+uHffFtb63O482QjdZ86sK4JIFS6SL8gzO43xI5v3oEOjzJIroMuf5K+xawLmqUpeSWo2ieK1qzBC3BfEh6ioCjfM2g2otNuZQj+GQQmDCefL2UX+H1LAKwgEsDmotiraIYEnCJh+cNdolKfI/plT1432TM81mZGhGhDBF+6+fW+NFO0h+nBAn0e2TEGdS4cVnosTzHTZ9HFISox16YnvGoEj81+rOhOUOFsD4yxL87aeDN5oJ4ozvnRKujgA2C0faVYjMW2TrfChMm6WD7zexOf4FdukFyRaDhnElqwuSnsaHDt5S8kwS2f7rTeVfHAMuyFX/RSwVnWqntfkAdGRZpwIEKZp8vYU4DVbcZ5BEP+YevvpGzfkh1QgLuzLkP653171K6PloRz6A84UyA7LY/Mi2gxtfSAvXdU=
X-Microsoft-Exchange-Diagnostics:
1;DM6PR01MB4346;27:QPJOfFibbP+9hMOo7bjmGmpyllL5mfktnJ5tojrhcQogCxWQvdQsyO9wuMNx+oSUfMqIF1I3mYKf+B5l4KKH9q5eQISpZTrv9RAyjUZCkx7DH5Axy2zudyy0Is6wVzws6D1jCYiD2RDmNzYnJs0w4St5/hidCesTuqynHBW9T2V/uwHvrUJtzwyMwmBo6qULbI9jMOQHdWgF8ELE4Bv+66u9uHKC6piLiz11VcWLPeQVPc06MRqth2a/wkp/HHAwoaMkBMQ+fTtWYDBxsLMP5U4coV8eZSkncW7705pavJejvLVjQzJSnxVBcl7529pghDKA0Kdaf1xDUDvGQfYgiT5i1i+v+P8icj1sowPhPr3AHBB0NKw+poSVKVnuNqiF+lUbpnN9/zb781oeOpYxzA==
Content-type: multipart/alternative;
boundary="B_3624613783_1179946492"This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.--B_3624613783_1179946492
Content-type: text/plain;
charset="UTF-8"
Content-transfer-encoding: 7bitbody of message
- Edited
Thank you. I realized after posting that I should have also added that the original staff inbox (bill@domain.com) is currently "onsite" and the ticket inbox (help@domain.com) is currently "offsite" in the microsoft 365 cloud. Our organization is going through a transition from an onsite MS Exchange server to a cloud hosted Exchange server. I'm not sure if this is part of the issue or not.
Our imap server is Microsoft Outlook 365 cloud hosted email. We're using a local installation of Outlook on Mac when copying the message from the staff mailbox to the imap mailbox.
Server Information
osTicket Version v1.10.4 (035fd0a) — Up to date
Web Server Software Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips
MySQL Version 5.6.41
PHP Version 5.6.38
PHP Extensions
gdlib Used for image manipulation and PDF printing
imap Used for email fetching
xml XML API
xml-dom Used for HTML email processing
json Improves performance creating and processing JSON
mbstring Highly recommended for non western european language content
phar Highly recommended for plugins and language packs
intl Highly recommended for non western european language content
fileinfo Used to detect file types for uploads
APCu Improves overall performance
Zend Opcache Improves overall performance
PHP Settings
cgi.fix_pathinfo "1" is recommended if AJAX is not working
date.timezone America/Chicago
Database Information and Usage
Schema osticketprd (localhost)
Schema Signature 98ad7d550c26ac44340350912296e673
Space Used 11.30 MiB
Space for Attachments 8.44 MiB
Timezone CDT (Interpreted as America/Chicago)Installed Language Packs
English (United States)
en_US — include/i18n/en_USI hope I can explain this properly.
We are having osticket poll an inbox (help@domain.com) for inbound tickets. But some users are still emailing staff directly (bill@domain.com) and not using the ticket's email address. When a user emails a staff member directly, the staff member is able to "drag" (ie. copy) the email from the staff's own inbox to the ticket's email inbox and it then gets picked up as a new ticket. (this works because the staff member has added the help@domain.com as a second inbox in their mail client)
This was working well until we tried this process with a ticket that had multiple recipients. When we drag the email to the help inbox, the collaborators are not added. However, if an end user emails directly to the help inbox and adds additional recipients to the email it correctly adds the collaborators.
It seems when the mail is copied to the help/support inbox it is handled differently than if it is emailed directly into the help/support inbox.
Any ideas?
- Edited
We're on a fresh installation of osticket trying to get email piping to work. Local mail server is MS exchange and people use MAC and Windows outlook clients. Further, we have a forwarding rule in exchange that forwards the inbound ticket email over to our web server's mail system (linux) where the piping happens. To try to isolate the issue, I tried combinations of 3 different front end mail clients, and 2 different back end smtp sending servers.The combination that fails to bring the inline image into the ticket as seen in the web UI of osticket is #1and #4 below. (#3, turns the inline image into an attachment when the image is very small). Switching to a linux smtp server with the same mac mail client makes it work See screenshot for what it looks like in OST when it fails to process the image and for when it works fine.If there are any logs I can retrieve let me know and I will find them. Since this is from the piping I'm not sure where to find logs.summary of results.1) Mac Outlook client (typical 100px image) -> local exchange -> osticketfailed
2) Mac Outlook client (typical 100px image)-> linux smtp outbound server -> osticketworked3) Mac Outlook client (tiny 2px size image)-> local exchange -> osticketworked (but image was processed in OST as an attachment - it's not displayed inline)4) Windows 10 mail client (typical 100px image) -> local exchange -> osticketfailed5) Mac Thunderbird client (typical 100px image) -> linux smtp outbound server -> osticketworkedosTicket Version v1.10 (901e5ea) — Up to dateWeb Server Software Apache/2.2.15 (Red Hat)MySQL Version 5.5.56PHP Version 5.4.45