NotePage, Inc. Forum Index

SMTP DNS issue
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NotePage, Inc. Forum Index -> PageGate Support
View previous topic :: View next topic  
Author Message
pbump



Joined: 22 Apr 2019
Posts: 13

PostPosted: Mon Apr 22, 2019 11:08 am    Post subject: SMTP DNS issue Reply with quote

Working with GetMail portion - have email addresses set on groups and users. This has been working flawlessly for years. We recently had one of our agencies change email domains. Prior was HARRISONCOES.COM - new one is HCESWV.COM. HCESWV.COM will not resolove any MX records in Pagegate. I've tried several DNS iterations, adding a zone locally, anything I could think of. When viewing logs, it starts the SMTP session, but DNS returns no MX records. Using tools like MXTOOLBOX on the pagegate machine DOES indeed return MX records. Any clue what I'm missing? I've been two weeks on this and making no progress.

Thanks.

Paul Bump
Harrison County WV 9-1-1


Back to top
View user's profile Send e-mail
Tech Support



Joined: 25 Aug 2003
Posts: 4351

PostPosted: Mon Apr 22, 2019 11:12 am    Post subject: Reply with quote

Paul,

To dot a few i's and cross a few t's, if you open PG Admin and go to Interfaces - GetMail - Settings, what value is listed in the 'Local Domain' field?



_________________
Tech Support
support@notepage.com
http://www.notepage.net
Back to top
View user's profile
pbump



Joined: 22 Apr 2019
Posts: 13

PostPosted: Mon Apr 22, 2019 11:14 am    Post subject: Reply with quote

911page.net


Back to top
View user's profile Send e-mail
Tech Support



Joined: 25 Aug 2003
Posts: 4351

PostPosted: Mon Apr 22, 2019 11:21 am    Post subject: Reply with quote

Interesting... the MX record is certainly there and in place to redirect SMTP traffic to the 911page.net to the pg.911page.net mail handler. So, when something does an MX lookup on 911page.net, it knows it needs to connect to pg.911page.net (which is currently routed to the public IP 69.43.35.82).

If messages aren't coming in, it may be either a port blocking or port forwarding issue.

However, just to rule it out, let's first make sure the PageGate mail handler is present and ready for any incoming connections:

1) Open a Command Prompt

2) Type the following and hit enter:
telnet 127.0.0.1 25

Do you receive a 220 response or a 'could not open a connection' response?



_________________
Tech Support
support@notepage.com
http://www.notepage.net
Back to top
View user's profile
pbump



Joined: 22 Apr 2019
Posts: 13

PostPosted: Mon Apr 22, 2019 11:26 am    Post subject: Reply with quote

It's outbound mail that's goobering....here's a log snippet.



>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
4/22/2019 11:50:02 AM > SMTP Delivery Session Started (To: alerts@hceswv.com) (Thread ID: 19)
4/22/2019 11:50:03 AM - MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 11:50:02 AM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
4/22/2019 11:50:02 AM > SMTP Delivery Session Started (To: alerts@hceswv.com) (Thread ID: 18)
4/22/2019 11:50:03 AM - MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 12:00:00 PM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
4/22/2019 12:00:00 PM > SMTP Delivery Session Started (To: testing@hceswv.com) (Thread ID: 20)
4/22/2019 12:00:01 PM - MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 12:00:00 PM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
4/22/2019 12:00:00 PM > SMTP Delivery Session Started (To: alerts@hceswv.com) (Thread ID: 21)
4/22/2019 12:00:01 PM - MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 12:01:16 PM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
4/22/2019 12:01:16 PM > SMTP Delivery Session Started (To: alerts@harrisoncoems.com) (Thread ID: 22)
4/22/2019 12:01:16 PM - MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 12:01:16 PM - rx.citynet.net
4/22/2019 12:01:16 PM - 66.118.64.207
4/22/2019 12:01:16 PM - harrisoncoems.com
4/22/2019 12:01:16 PM > Attempting to deliver message to rx.citynet.net
4/22/2019 12:01:16 PM > Connection To Server Established
4/22/2019 12:01:16 PM < 220 rx1.citynet.net ESMTP Citynet
4/22/2019 12:01:16 PM > Ehlo 911page.net
4/22/2019 12:01:16 PM < 250-rx1.citynet.net
4/22/2019 12:01:16 PM < 250-PIPELINING
4/22/2019 12:01:16 PM < 250-SIZE 52428800
4/22/2019 12:01:16 PM < 250-ETRN
4/22/2019 12:01:16 PM < 250-STARTTLS
4/22/2019 12:01:16 PM < 250-ENHANCEDSTATUSCODES
4/22/2019 12:01:16 PM < 250-8BITMIME
4/22/2019 12:01:16 PM < 250 DSN
4/22/2019 12:01:16 PM > Mail From:<harrison@911page.net>
4/22/2019 12:01:16 PM < 250 2.1.0 Ok
4/22/2019 12:01:16 PM > Rcpt To:<alerts@harrisoncoems.com>
4/22/2019 12:01:16 PM < 250 2.1.5 Ok
4/22/2019 12:01:16 PM > Data
4/22/2019 12:01:16 PM < 354 End data with <CR><LF>.<CR><LF>
4/22/2019 12:01:16 PM > ...
4/22/2019 12:01:16 PM < 250 2.0.0 Ok: queued as 25513EBBDF271
4/22/2019 12:01:16 PM > Quit
4/22/2019 12:01:16 PM < 221 2.0.0 Bye
4/22/2019 12:01:16 PM Message Sent to alerts@harrisoncoems.com
4/22/2019 12:01:16 PM > Disconnected From Server
4/22/2019 12:10:02 PM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
4/22/2019 12:10:02 PM > SMTP Delivery Session Started (To: testing@hceswv.com) (Thread ID: 23)
4/22/2019 12:10:02 PM - MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 12:10:02 PM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
4/22/2019 12:10:02 PM > SMTP Delivery Session Started (To: alerts@hceswv.com) (Thread ID: 24)
4/22/2019 12:10:02 PM - MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 12:12:57 PM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
4/22/2019 12:12:57 PM > SMTP Delivery Session Started (To: testing@hceswv.com) (Thread ID: 1)
4/22/2019 12:12:57 PM - MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 12:12:57 PM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
4/22/2019 12:12:57 PM > SMTP Delivery Session Started (To: alerts@hceswv.com) (Thread ID: 2)
4/22/2019 12:12:57 PM - MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 12:20:01 PM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
4/22/2019 12:20:01 PM > SMTP Delivery Session Started (To: alerts@hceswv.com) (Thread ID: 4)
4/22/2019 12:20:01 PM - MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 12:20:01 PM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
4/22/2019 12:20:01 PM > SMTP Delivery Session Started (To: testing@hceswv.com) (Thread ID: 3)
4/22/2019 12:20:01 PM - MX host list received from 192.168.71.22 and 74.40.74.40 :


Back to top
View user's profile Send e-mail
pbump



Joined: 22 Apr 2019
Posts: 13

PostPosted: Mon Apr 22, 2019 11:29 am    Post subject: Reply with quote

no telnet on server - but I can putty to it and get the 220 Server Ready.


Back to top
View user's profile Send e-mail
Tech Support



Joined: 25 Aug 2003
Posts: 4351

PostPosted: Mon Apr 22, 2019 11:32 am    Post subject: Reply with quote

Oh! Apologies, I thought it was the inbound email that wasn't working.

Based on what I can see in the log, it looks like the provided DNS servers can't do an MX lookup on the hceswv.com domain. For example this:

4/22/2019 12:00:00 PM > SMTP Delivery Session Started (To: alerts@hceswv.com) (Thread ID: 21)
4/22/2019 12:00:01 PM - MX host list received from 192.168.71.22 and 74.40.74.40 :

should have been followed up with an MX return of rx.citynet.net but instead, it came back with nothing.

Is the hceswv.com email domain technically internal to the network on which the PageGate server resides? If so, you may want to go to Interfaces - GetMail - Settings and update DNS Server 1 or 2 to reference an eternal DNS server (like Google's open DNS of 8.8.8.8 or 8.8.4.4) to see if that allow the MX lookup to complete.



_________________
Tech Support
support@notepage.com
http://www.notepage.net
Back to top
View user's profile
pbump



Joined: 22 Apr 2019
Posts: 13

PostPosted: Mon Apr 22, 2019 11:34 am    Post subject: Reply with quote

Let me further muddy the water....when I added the MX records to the local DNS server, it worked exactly ONCE - received MX records in PageGate, sent the message. All subsequent attempts get no MX records. Runs in my mind that's exactly what happened the first time I changed it a couple weeks back, using standard external DNS servers. Some garbage queuing somewhere?


Back to top
View user's profile Send e-mail
pbump



Joined: 22 Apr 2019
Posts: 13

PostPosted: Mon Apr 22, 2019 11:35 am    Post subject: Reply with quote

...and I've done the MX checks from the pagegate machine - and they work.


Back to top
View user's profile Send e-mail
pbump



Joined: 22 Apr 2019
Posts: 13

PostPosted: Mon Apr 22, 2019 11:36 am    Post subject: Reply with quote

It's an external domain - Google hosted even.


Back to top
View user's profile Send e-mail
Tech Support



Joined: 25 Aug 2003
Posts: 4351

PostPosted: Mon Apr 22, 2019 12:56 pm    Post subject: Reply with quote

There's a test I'd like you to run, please.

Create a test recipient set to use one of your SMTP carriers and use alerts@hceswv.com in the ID/PIN/Email field.

Then try to send that recipient a message and post the connector log of the connection attempt.



_________________
Tech Support
support@notepage.com
http://www.notepage.net
Back to top
View user's profile
pbump



Joined: 22 Apr 2019
Posts: 13

PostPosted: Mon Apr 22, 2019 1:07 pm    Post subject: Reply with quote

4/22/2019 12:00:01 AM Unable to synchronize time with scheduler. Using local time.
4/22/2019 12:00:07 AM Running cleanup routine
4/22/2019 12:00:10 AM Module Stopped
4/22/2019 12:00:25 AM Module Started (v8.2.1)
4/22/2019 12:00:27 AM Time synchronized with scheduler
4/22/2019 8:36:38 AM Unable to synchronize time with scheduler. Using local time.
4/22/2019 8:41:28 AM Module Started (v8.2.1)
4/22/2019 8:41:34 AM Time synchronized with scheduler
4/22/2019 12:12:15 PM Module Stopped
4/22/2019 12:13:00 PM Module Started (v8.2.1)
4/22/2019 12:13:02 PM Time synchronized with scheduler
4/22/2019 2:05:01 PM ========================================
4/22/2019 2:05:01 PM Start connection to carrier: smtp
4/22/2019 2:05:01 PM Sending via SMTP on port 25
4/22/2019 2:05:01 PM ----------------------------------------
4/22/2019 2:05:01 PM Working on message to: testsmtp from: pagegate
4/22/2019 2:05:01 PM Formatting message
4/22/2019 2:05:01 PM Message contained in single packet
4/22/2019 2:05:01 PM Looking up mailserver for hceswv.com
4/22/2019 2:05:01 PM MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 2:05:01 PM aspmx.l.google.com
4/22/2019 2:05:01 PM alt1.aspmx.l.google.com
4/22/2019 2:05:01 PM Trying host: aspmx.l.google.com
4/22/2019 2:05:02 PM Connected to: aspmx.l.google.com
4/22/2019 2:05:03 PM Sending message
4/22/2019 2:05:04 PM Message sent
4/22/2019 2:05:04 PM Closing connection
4/22/2019 2:05:04 PM Disconnected - State: Peer Closing Connection
4/22/2019 2:05:04 PM SUCCESSFUL Stn:0 To:testsmtp Frm:pagegate DB Msg: testing per pagegate tech support Sent Msg: Subject: 911Page.net<13><10>pagegate:testing per pagegate tech support


Back to top
View user's profile Send e-mail
pbump



Joined: 22 Apr 2019
Posts: 13

PostPosted: Mon Apr 22, 2019 1:09 pm    Post subject: Reply with quote

Tried it a second time - still worked. And it's getting the MX records from the local DNS server, because it's only two returned....that's all I entered locally.


Back to top
View user's profile Send e-mail
Tech Support



Joined: 25 Aug 2003
Posts: 4351

PostPosted: Mon Apr 22, 2019 1:13 pm    Post subject: Reply with quote

If you would, open PG Admin and go to Logging - Settings, then set the logging level to Debug and click Apply.

After doing that, re-run the same test and post the more detailed log, there are a few things we'd like to cross-reference.



_________________
Tech Support
support@notepage.com
http://www.notepage.net
Back to top
View user's profile
pbump



Joined: 22 Apr 2019
Posts: 13

PostPosted: Mon Apr 22, 2019 1:16 pm    Post subject: Reply with quote

4/22/2019 12:00:01 AM Unable to synchronize time with scheduler. Using local time.
4/22/2019 12:00:07 AM Running cleanup routine
4/22/2019 12:00:10 AM Module Stopped
4/22/2019 12:00:25 AM Module Started (v8.2.1)
4/22/2019 12:00:27 AM Time synchronized with scheduler
4/22/2019 8:36:38 AM Unable to synchronize time with scheduler. Using local time.
4/22/2019 8:41:28 AM Module Started (v8.2.1)
4/22/2019 8:41:34 AM Time synchronized with scheduler
4/22/2019 12:12:15 PM Module Stopped
4/22/2019 12:13:00 PM Module Started (v8.2.1)
4/22/2019 12:13:02 PM Time synchronized with scheduler
4/22/2019 2:05:01 PM ========================================
4/22/2019 2:05:01 PM Start connection to carrier: smtp
4/22/2019 2:05:01 PM Sending via SMTP on port 25
4/22/2019 2:05:01 PM ----------------------------------------
4/22/2019 2:05:01 PM Working on message to: testsmtp from: pagegate
4/22/2019 2:05:01 PM Formatting message
4/22/2019 2:05:01 PM Message contained in single packet
4/22/2019 2:05:01 PM Looking up mailserver for hceswv.com
4/22/2019 2:05:01 PM MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 2:05:01 PM aspmx.l.google.com
4/22/2019 2:05:01 PM alt1.aspmx.l.google.com
4/22/2019 2:05:01 PM Trying host: aspmx.l.google.com
4/22/2019 2:05:02 PM Connected to: aspmx.l.google.com
4/22/2019 2:05:03 PM Sending message
4/22/2019 2:05:04 PM Message sent
4/22/2019 2:05:04 PM Closing connection
4/22/2019 2:05:04 PM Disconnected - State: Peer Closing Connection
4/22/2019 2:05:04 PM SUCCESSFUL Stn:0 To:testsmtp Frm:pagegate DB Msg: testing per pagegate tech support Sent Msg: Subject: 911Page.net<13><10>pagegate:testing per pagegate tech support
4/22/2019 2:08:19 PM ========================================
4/22/2019 2:08:19 PM Start connection to carrier: smtp
4/22/2019 2:08:19 PM Sending via SMTP on port 25
4/22/2019 2:08:19 PM ----------------------------------------
4/22/2019 2:08:19 PM Working on message to: testsmtp from: Pagegate
4/22/2019 2:08:19 PM Formatting message
4/22/2019 2:08:19 PM Message contained in single packet
4/22/2019 2:08:19 PM Looking up mailserver for hceswv.com
4/22/2019 2:08:19 PM MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 2:08:19 PM aspmx.l.google.com
4/22/2019 2:08:19 PM alt1.aspmx.l.google.com
4/22/2019 2:08:19 PM Trying host: aspmx.l.google.com
4/22/2019 2:08:20 PM Connected to: aspmx.l.google.com
4/22/2019 2:08:21 PM Sending message
4/22/2019 2:08:22 PM Message sent
4/22/2019 2:08:22 PM Closing connection
4/22/2019 2:08:22 PM Disconnected - State: Peer Closing Connection
4/22/2019 2:08:22 PM SUCCESSFUL Stn:0 To:testsmtp Frm:Pagegate DB Msg: Second test Sent Msg: Subject: 911Page.net<13><10>Pagegate:Second test
4/22/2019 2:15:23 PM ========================================
4/22/2019 2:15:23 PM Start connection to carrier: smtp
4/22/2019 2:15:23 PM Sending via SMTP on port 25
4/22/2019 2:15:23 PM ----------------------------------------
4/22/2019 2:15:23 PM Working on message to: testsmtp from: pagegate
4/22/2019 2:15:23 PM Formatting message
4/22/2019 2:15:23 PM Message contained in single packet
4/22/2019 2:15:23 PM Looking up mailserver for hceswv.com
4/22/2019 2:15:23 PM MX host list received from 192.168.71.22 and 74.40.74.40 :
4/22/2019 2:15:23 PM aspmx.l.google.com
4/22/2019 2:15:23 PM alt1.aspmx.l.google.com
4/22/2019 2:15:23 PM Trying host: aspmx.l.google.com
4/22/2019 2:15:23 PM Connected to: aspmx.l.google.com
4/22/2019 2:15:23 PM Received:220 mx.google.com ESMTP q24si5609118ioi.48 - gsmtp<13><10>
4/22/2019 2:15:23 PM Sent:Ehlo PAGEGATE8.911page.net<13><10>
4/22/2019 2:15:23 PM Received:250-mx.google.com at your service, [69.43.35.82]<13><10>
4/22/2019 2:15:23 PM Received:250-SIZE 157286400<13><10>
4/22/2019 2:15:23 PM Received:250-8BITMIME<13><10>
4/22/2019 2:15:23 PM Received:250-STARTTLS<13><10>
4/22/2019 2:15:24 PM Received:250-ENHANCEDSTATUSCODES<13><10>
4/22/2019 2:15:24 PM Received:250-PIPELINING<13><10>
4/22/2019 2:15:24 PM Received:250-CHUNKING<13><10>
4/22/2019 2:15:24 PM Received:250 SMTPUTF8<13><10>
4/22/2019 2:15:24 PM Sent:Mail From:<pagegate@911page.net><13><10>
4/22/2019 2:15:24 PM Received:250 2.1.0 OK q24si5609118ioi.48 - gsmtp<13><10>
4/22/2019 2:15:24 PM Sent:Rcpt To:<alerts@hceswv.com><13><10>
4/22/2019 2:15:24 PM Received:250 2.1.5 OK q24si5609118ioi.48 - gsmtp<13><10>
4/22/2019 2:15:24 PM Sent:Data<13><10>
4/22/2019 2:15:25 PM Received:354 Go ahead q24si5609118ioi.48 - gsmtp<13><10>
4/22/2019 2:15:25 PM Sending message
4/22/2019 2:15:25 PM Sent:Received: from localhost (localhost[127.0.0.1])<13><10> by PAGEGATE8.911page.net (PageGate) with SMTP id 2204191415260<13><10> for <alerts@hceswv.com>; Mon, 22 Apr 2019 18:15:26 +0000<13><10>Message-ID: <2204191415260@911page.net><13><10>Content-Type: text/plain<13><10>Content-Transfer-Encoding: quoted-printable<13><10>X-Mailer: PageGate Server 8.1<13><10>Date: Mon, 22 Apr 2019 14:15:26 -0400 (EDT)<13><10>To: <alerts@hceswv.com><13><10>From: <pagegate@911page.net><13><10>Subject: 911Page.net<13><10><13><10>pagegate:Testing with debug settings<13><10>.<13><10>
4/22/2019 2:15:25 PM Received:250 2.0.0 OK 1555956926 q24si5609118ioi.48 - gsmtp<13><10>
4/22/2019 2:15:25 PM Message sent
4/22/2019 2:15:25 PM Closing connection
4/22/2019 2:15:25 PM Sent:Quit<13><10>
4/22/2019 2:15:25 PM Disconnected - State: Peer Closing Connection
4/22/2019 2:15:25 PM SUCCESSFUL Stn:0 To:testsmtp Frm:pagegate DB Msg: Testing with debug settings Sent Msg: Subject: 911Page.net<13><10>pagegate:Testing with debug settings


Back to top
View user's profile Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    NotePage, Inc. Forum Index -> PageGate Support All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
Theme created by Vjacheslav Trushkin