View previous topic :: View next topic |
Author |
Message |
cadmaster
Joined: 17 Jul 2008 Posts: 31
|
Posted: Tue Dec 30, 2014 5:19 pm Post subject: First Character in Message Stripped Out |
|
|
Hi Support,
I'm sending mail into getmail from our dispatch software, then out a connector as an email. The messages going into getmail begin with the date. When the same message text is sent out the connector, the first character is stripped out.
Here is the log out of our dispatch software...note it begins with date of 12/30.
GPSDEBUG ID=0215 12/30/14 16:02:36
SMTP_SEND1_IN Read 48 bytes from socket 0: 354 Ready For Message - End
With <CRLF>.<CRLF><cr><lf>
--------------------------------------------------------
GPSDEBUG ID=0216 12/30/14 16:02:36
SMTP_SEND1_OUT Sent 156 bytes to socket 0: <lf>12/30 additional message here<cr><lf>.<cr><lf>
--------------------------------------------------------
GPSDEBUG ID=0217 12/30/14 16:02:36
SMTP_SEND1_IN Read 22 bytes from socket 0: 250 Message Accepted<cr><lf
>
--------------------------------------------------------
GPSDEBUG ID=0218 12/30/14 16:02:36
SMTP_SEND1_OUT Sent 6 bytes to socket 0: QUIT<cr><lf>
--------------------------------------------------------
GPSDEBUG ID=0219 12/30/14 16:02:36
SMTP_SEND1_IN Read 39 bytes from socket 0: 221 PageGate SMTP Server Di
sconnected<cr><lf>
Here is the connector log of the same message going back out...
12/30/2014 4:02:42 PM ----------------------------------------
12/30/2014 4:02:42 PM Working on message to: fd_alerts from: xxx@xxx.com
12/30/2014 4:02:42 PM Formatting message
12/30/2014 4:02:42 PM Message contained in single packet
12/30/2014 4:02:42 PM Looking up mailserver for xxx.com
12/30/2014 4:02:42 PM Trying host: xxx.com
12/30/2014 4:02:43 PM Connected to: xxx.com
12/30/2014 4:02:43 PM Received:220 p3187882 Microsoft ESMTP MAIL Service, Version: 7.5.7601.17514 ready at Tue, 30 Dec 2014 14:02:44 -0800 <13><10>
12/30/2014 4:02:43 PM Sent:Ehlo xxx.com<13><10>
12/30/2014 4:02:43 PM Received:250-p3187882 Hello [0.0.0.0]<13><10>
12/30/2014 4:02:43 PM Received:250-TURN<13><10>
12/30/2014 4:02:43 PM Received:250-SIZE 2097152<13><10>
12/30/2014 4:02:43 PM Received:250-ETRN<13><10>
12/30/2014 4:02:43 PM Received:250-PIPELINING<13><10>
12/30/2014 4:02:44 PM Received:250-DSN<13><10>
12/30/2014 4:02:44 PM Received:250-ENHANCEDSTATUSCODES<13><10>
12/30/2014 4:02:44 PM Received:250-8bitmime<13><10>
12/30/2014 4:02:44 PM Received:250-BINARYMIME<13><10>
12/30/2014 4:02:44 PM Received:250-CHUNKING<13><10>
12/30/2014 4:02:44 PM Received:250-VRFY<13><10>
12/30/2014 4:02:44 PM Received:250 OK<13><10>
12/30/2014 4:02:44 PM Sent:Mail From:<xxx@xxx.com><13><10>
12/30/2014 4:02:45 PM Received:250 2.1.0 xxx@xxx.com....Sender OK<13><10>
12/30/2014 4:02:45 PM Sent:Rcpt To:<xxx@xxx.com><13><10>
12/30/2014 4:02:45 PM Received:250 2.1.5 xxx@xxx.com <13><10>
12/30/2014 4:02:45 PM Sent:Data<13><10>
12/30/2014 4:02:45 PM Received:354 Start mail input; end with <CRLF>.<CRLF><13><10>
12/30/2014 4:02:45 PM Sending message
12/30/2014 4:02:45 PM Sent:Message-ID: <3012141602460@xxx.com><13><10>
12/30/2014 4:02:45 PM Sent:Date: 30 Dec 14 22:02:00 UT<13><10>
12/30/2014 4:02:45 PM Sent:To: <xxx@xxx.com><13><10>
12/30/2014 4:02:45 PM Sent:From: <xxx@xxx.com><13><10>
12/30/2014 4:02:45 PM Sent:Subject:<13><10>
12/30/2014 4:02:45 PM Sent:<13><10>
12/30/2014 4:02:45 PM Sent:2/30 message here
12/30/2014 4:02:45 PM Sent:<13><10>.<13><10>
12/30/2014 4:02:46 PM Received:250 2.6.0 <3012141602460@xxx.com> Queued mail for delivery<13><10>
12/30/2014 4:02:46 PM Message sent
12/30/2014 4:02:46 PM Closing connection
12/30/2014 4:02:46 PM Sent:Quit<13><10>
12/30/2014 4:02:46 PM Disconnected
12/30/2014 4:02:46 PM SUCCESSFUL Stn:2 To:fd_alerts Frm:xxx@xxx.com Msg:2/30 message here
I am running v5.0.93
We are planning on upgrading soon, didn't know if there was an easy fix or not.
Thanks,
Harry
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4368
|
Posted: Tue Dec 30, 2014 5:40 pm Post subject: |
|
|
Check out PageGate's GetMail SMTP Incoming log. It will show what is being accepted into PageGate. Is the first character missing there too? |
|
Back to top |
|
cadmaster
Joined: 17 Jul 2008 Posts: 31
|
Posted: Tue Dec 30, 2014 5:56 pm Post subject: |
|
|
It doesn't show the actual message...just that it was accepted.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
12/30/2014 4:02:36 PM < New SMTP Connection (1) Requested from 0.0.0.0
12/30/2014 4:02:36 PM > 220 xxx.com PageGate SMTP Server Ready
12/30/2014 4:02:36 PM < HELO xxx.com
12/30/2014 4:02:36 PM > 250 xxx.com welcomes xxx.com (0.0.0.0)
12/30/2014 4:02:36 PM < MAIL FROM:<xxx@xxx.com>
12/30/2014 4:02:36 PM > 250 Sender <xxx@xxx.com> Accepted
12/30/2014 4:02:36 PM < RCPT TO:<xxx@xxx.com>
12/30/2014 4:02:36 PM > 250 Recipient <xxx@xxx.com> Accepted
12/30/2014 4:02:36 PM < DATA
12/30/2014 4:02:36 PM > 354 Ready For Message - End With <CRLF>.<CRLF>
12/30/2014 4:02:36 PM < ...
12/30/2014 4:02:36 PM Message Accepted for 2165
12/30/2014 4:02:36 PM > 250 Message Accepted
12/30/2014 4:02:36 PM < QUIT
12/30/2014 4:02:36 PM > 221 PageGate SMTP Server Disconnected
12/30/2014 4:02:36 PM < SMTP Connection Disconnected
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4368
|
Posted: Tue Dec 30, 2014 7:03 pm Post subject: |
|
|
You are right. Sorry about that.
Let's give this a try instead:
In PG Admin go to Database->Tools->Export->Messages
That will write a text file with the messages from the database. It will help determine if the full message is being accepted in or not. |
|
Back to top |
|
cadmaster
Joined: 17 Jul 2008 Posts: 31
|
Posted: Tue Dec 30, 2014 10:41 pm Post subject: |
|
|
Ok, I exported. Here is an example of one from yesterday. Is this what you were looking for?
506 fd_alerts 2\04729 23:32 1234 main st, ; Map:123 Sub: Nat:type of call Units:units here X-St:cross streets 201499999 Email 12/29/2014 23:32 12/29/2014 23:32 xxx@xxx.com #TRUE# #FALSE# 2165$73559684753918102.pro #TRUE# 0 0 12/29/2014 23:32 2 10164065 12/29/2014 23:32 2542005 3 GetMail servername fd_alerts servername
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4368
|
Posted: Wed Dec 31, 2014 8:08 am Post subject: |
|
|
Yes.
The fourth field in the export text file is the message text. Is the first letter of the messages missing from them? |
|
Back to top |
|
cadmaster
Joined: 17 Jul 2008 Posts: 31
|
Posted: Wed Dec 31, 2014 9:27 am Post subject: |
|
|
Looks like it, but I don't understand the format. Where the date should be 12/29 it has 2\04729.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4368
|
Posted: Wed Dec 31, 2014 12:18 pm Post subject: |
|
|
Yes, it looks like the first character is missing there too.
The "\047" represents a single backslash character, so the 2\04729 is really 2/29
Next, I would like you to follow some steps to capture a raw email file from an incoming message. The following steps should be taken with PageGate running. These steps will pause the incoming messages (none will be lost), so maybe it shouldn't be run during a busy time of day. You can find the folder locations specified in the steps below by going to Program->Settings in PG Admin.
1. Follow these steps while PageGate is running
2. In PG Admin go to Interfaces, right-click on GetMail and choose Stop
3. Using the Windows file explorer look in the PageGate program folder for the file named PGGMail.exe. Rename the file to PGGMail.exe.disabled
4. In PG Admin go to Interfaces, right-click on GetMail and choose Start
5. Send in a test message of the type that normally has the problem.
6. Look in the PageGate database directory for a folder named MailIn. There should be a new message file in there. Post the contents, or email the contents to support at notepage dot com.
7. Rename the PGGMail.exe.disabled file back to PGGMail.exe. This will make PageGate fully operational again.
8. Done |
|
Back to top |
|
cadmaster
Joined: 17 Jul 2008 Posts: 31
|
Posted: Wed Dec 31, 2014 12:30 pm Post subject: |
|
|
I just emailed you the file.
Harry
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4368
|
Posted: Wed Dec 31, 2014 12:46 pm Post subject: |
|
|
Thank you for that file. The full message is in the mail file, so PageGate's GetMail process must be the problem.
Can you go into the PageGate program folder and find the file named PGGMail.exe. Right-click on the file and choose Properties. What is the version of that file? |
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4368
|
Posted: Wed Dec 31, 2014 12:56 pm Post subject: |
|
|
Can you please also post the version of the pgmailserver.exe file (same folder).
Thanks |
|
Back to top |
|
cadmaster
Joined: 17 Jul 2008 Posts: 31
|
Posted: Wed Dec 31, 2014 1:05 pm Post subject: |
|
|
PGGMail.exe - 5.0.0.93
pgmailserver.exe - 5.0.93.0
|
|
Back to top |
|
NotePage Sales Site Admin
Joined: 23 Apr 2004 Posts: 265
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4368
|
Posted: Wed Dec 31, 2014 2:23 pm Post subject: |
|
|
Upgrading is always a good idea. :)
I believe we have found the problem, and would like you to try a fix.
Steps:
1. Download this file and save it to a temporary location on your computer:
http://www.notepage.net/download/dev/pggmail.exe
2. In PG Admin go to Interfaces, right-click on GetMail and choose Stop
3. In your PageGate program folder, rename pggmail.exe to pggmail.exe.old
4. Copy the new pggmail.exe you downloaded into the PageGate program folder
5. In PG Admin go to Interfaces, right-click on GetMail and choose Start
6. Send a test and let me know the results |
|
Back to top |
|
cadmaster
Joined: 17 Jul 2008 Posts: 31
|
Posted: Mon Jan 05, 2015 11:17 am Post subject: |
|
|
Yes, it looks to have fixed the issue. Prior to new exe, it sent 1/05 as the date, now it is sending 01/05. I will continue to monitor just in case. I appreciate the awesome support you guys provide.
Harry
|
|
Back to top |
|
|