Outgoing mail relay and dynamic dns

Get help using the Mailkeep mail forwarding service

Outgoing mail relay and dynamic dns

Postby Ross » Fri Nov 04th, 2011 11:02am

Hi Elric,

Due to a change in my broadband (from ADSL with Static IP to BT Infinity Fibre broadband with dynamic IP) I'm having to change the way my domains are supplied with DNS and email.

At the moment I use Gradwell.net for DNS hosting and domain registration, mainly because they allow dynamic IP updates, and Mailkeep for incoming email because it's far better than Gradwell!

Outgoing email has now become a problem as the BT IP addresses are on a lot of spam lists etc and therefore I can't send email directly, so I'm now looking for a suitable outgoing mail relay.

I could upgrade my gradwell account to allow it but before I do I thought I'd ask if there were any plans to add this to mailkeep as to be honest I've got a lot more confidence in you than Gradwell and would prefer to give you the business if it was an option?

If the mailkeep dns service allowed dynamic DNS updates as well then that would be even better :)

I realise you are a very busy man though so if it's not on the roadmap then that's ok, and I'll make my decision accordingly.

Thanks

Ross
User avatar
Ross
 
Posts: 43
Joined: Thu Dec 30th, 2004 5:51am
Location: Stirling

Re: Outgoing mail relay and dynamic dns

Postby Elric Pedder » Tue Nov 08th, 2011 12:14pm

Hi Ross, sorry for the delay

Ross wrote:Due to a change in my broadband (from ADSL with Static IP to BT Infinity Fibre broadband with dynamic IP) I'm having to change the way my domains are supplied with DNS and email.


Thanks for the support. I would indeed like to offer outbound mail but I haven't come up with a good solution yet. The simple problem is abuse and if one user sends out a lot of spam or viruses then that would risk others getting blacklisted and I'd like to avoid that.

That said I'm quite happy to provide an unofficial service for you if you are interested.

As for dynamic DNS, I could do that. Perhaps via an RSS feed that would report your queue status..?
Mailtraq Development and Escalation Support
Novitraq Incorporated
User avatar
Elric Pedder
Mailtraq Escalation Support
 
Posts: 2675
Joined: Tue Nov 23rd, 2004 1:16pm
Location: Montreal, Canada

Re: Outgoing mail relay and dynamic dns

Postby Ross » Tue Nov 08th, 2011 6:22pm

Hi Elric,

Elric Pedder wrote:Hi Ross, sorry for the delay


No problem - I know you're busy, plus with a (nearly) 6 week old young lady in the house I don't have quite as much free time as I would normally have :lol:

Elric Pedder wrote:Thanks for the support. I would indeed like to offer outbound mail but I haven't come up with a good solution yet. The simple problem is abuse and if one user sends out a lot of spam or viruses then that would risk others getting blacklisted and I'd like to avoid that.


That makes a lot of sense and is understandable.

Elric Pedder wrote:That said I'm quite happy to provide an unofficial service for you if you are interested.


I most certainly am. Your unnoficial service is bound to be better than BT's official one :D

Elric Pedder wrote:As for dynamic DNS, I could do that. Perhaps via an RSS feed that would report your queue status..?


Sounds interesting - but I'm not sure what you mean by the RSS feed? I was imagining something that would look at the last verified IP address from the mail part of Mailkeep, and then update a hostname or names in the DNS part with that address.

Either that or updating the DNS part of Mailkeep to support RFC 2136?

I'm happy to go with whatever you think best though!

Ross
User avatar
Ross
 
Posts: 43
Joined: Thu Dec 30th, 2004 5:51am
Location: Stirling

Re: Outgoing mail relay and dynamic dns

Postby Elric Pedder » Thu Nov 10th, 2011 1:41pm

Ross wrote:No problem - I know you're busy, plus with a (nearly) 6 week old young lady in the house I don't have quite as much free time as I would normally have :lol:

Congratulations! Is this your first? I'm a year ahead of you and I remember (vaguely) what it was like. Not a lot of sleep.

Ross wrote:
Elric Pedder wrote:That said I'm quite happy to provide an unofficial service for you if you are interested.


I most certainly am. Your unnoficial service is bound to be better than BT's official one :D

Well we shall see. For now you can send via smtp.mailkeep.net on port 465 (SSL) using your account number and account password for credentials.

Ross wrote:
Elric Pedder wrote:As for dynamic DNS, I could do that. Perhaps via an RSS feed that would report your queue status..?


Sounds interesting - but I'm not sure what you mean by the RSS feed? I was imagining something that would look at the last verified IP address from the mail part of Mailkeep, and then update a hostname or names in the DNS part with that address.

An RSS feed would be a fairly easy way to get the web framework to update the DNS records. I am considering adding secure DNS updates but I'd have to weigh the cost of the software licenses verses the expected income.
Mailtraq Development and Escalation Support
Novitraq Incorporated
User avatar
Elric Pedder
Mailtraq Escalation Support
 
Posts: 2675
Joined: Tue Nov 23rd, 2004 1:16pm
Location: Montreal, Canada

Re: Outgoing mail relay and dynamic dns

Postby Ross » Fri Nov 11th, 2011 5:11pm

Elric Pedder wrote:Congratulations! Is this your first? I'm a year ahead of you and I remember (vaguely) what it was like. Not a lot of sleep.


Thanks very much! Yep - it is indeed - little Jessica - 9lbs 9oz and everyone doing well. Belated congratulations to you too!

We're actually getting a surprising amount of sleep - she's sleeping 9 or 10 hours sometimes :)

Elric Pedder wrote:Well we shall see. For now you can send via smtp.mailkeep.net on port 465 (SSL) using your account number and account password for credentials.


Although my username and password seem to be working (I can connect ok and the email is passed on), I'm getting a 550 relaying denied error back from Mailkeep :(

Elric Pedder wrote:An RSS feed would be a fairly easy way to get the web framework to update the DNS records. I am considering adding secure DNS updates but I'd have to weigh the cost of the software licenses verses the expected income.


Ahh right - I see. Whatever you think best. I hadn't realised that there would be a cost for the licences - but then that's why you are a developer and I'm not :)

Ross
User avatar
Ross
 
Posts: 43
Joined: Thu Dec 30th, 2004 5:51am
Location: Stirling

RE: Outgoing mail relay and dynamic dns

Postby Elric Pedder » Thu Nov 17th, 2011 11:40am

From: mailkeep-users@novitraq.com [mailto:mailkeep-
users@novitraq.com] On Behalf Of Ross
Sent: November-11-11 4:11 PM
To: Mailkeep Users Group
Subject: Re: Outgoing mail relay and dynamic dns

Hi Ross,

Thanks very much! Yep - it is indeed - little Jessica - 9lbs 9oz and everyone
doing well. Belated congratulations to you too!

Good to hear and thanks too.

We're actually getting a surprising amount of sleep - she's sleeping 9 or 10
hours sometimes

That's excellent!

Well we shall see. For now you can send via smtp.mailkeep.net on
port 465 (SSL) using your account number and account password for
credentials.

Although my username and password seem to be working (I can connect
ok and the email is passed on), I'm getting a 550 relaying denied error back
from Mailkeep

Sorry for the delay. I wrote a reply on Friday and then lost track of it.
I checked the logs and as far as I can tell you aren't authenticating on
port 465. Can you check that somehow?

Best regards,
- Elric
Mailtraq Development and Escalation Support
Novitraq Incorporated
User avatar
Elric Pedder
Mailtraq Escalation Support
 
Posts: 2675
Joined: Tue Nov 23rd, 2004 1:16pm
Location: Montreal, Canada

Re: RE: Outgoing mail relay and dynamic dns

Postby Ross » Thu Nov 17th, 2011 7:16pm

Hi Elric,

We're actually getting a surprising amount of sleep - she's sleeping 9 or 10
hours sometimes

That's excellent!


Thanks! Now if we can just get her to sleep at night and not during the day we will be fine :)

Sorry for the delay. I wrote a reply on Friday and then lost track of it.
I checked the logs and as far as I can tell you aren't authenticating on
port 465. Can you check that somehow?


Sorry - just checked and I was authenticating on port 25 :oops:

Changed it to port 465 but it doesn't seem to be making any difference:

Code: Select all
00000002 00000000 17/11/2011 22:58:59 Assigning SWRDF7160CED (*) to smtp.mailkeep.net:465 +0
+ 00001F83 smtp.mailkeep.net [17/11/2011 22:58:59]
00000002 00001F83 17/11/2011 22:58:59 Starting connection to smtp.mailkeep.net (184.82.210.26)
00000002 00001F83 17/11/2011 22:58:59 Starting Implicit SSL/TLS handshake
00000002 00001F83 17/11/2011 22:59:01 Establishing protocol with smtp.mailkeep.net
00000002 00001F83 17/11/2011 22:59:01 220 mailkeep.net Ready for action (Mailtraq 2.17.0.3070/ESMTP)
00000002 00001F83 17/11/2011 22:59:02 EHLO sword.ran.org.uk    --->  250-mailkeep.net
00000002 00001F83 17/11/2011 22:59:02 EHLO sword.ran.org.uk    --->  250-XFROMIP
00000002 00001F83 17/11/2011 22:59:02 EHLO sword.ran.org.uk    --->  250-SIZE
00000002 00001F83 17/11/2011 22:59:02 EHLO sword.ran.org.uk    --->  250-AUTH LOGIN CRAM-MD5
00000002 00001F83 17/11/2011 22:59:02 EHLO sword.ran.org.uk    --->  250 AUTH=LOGIN
00000002 00001F83 17/11/2011 22:59:02 Starting delivery of SWRDF7160CEF
00000002 00001F83 17/11/2011 22:59:03 MAIL FROM:<scot-rail@thecityofstirling.org>  --->   250 receiving from scot-rail@thecityofstirling.org
00000002 00001F83 17/11/2011 22:59:03 RCPT TO:<ross.a.nicol@googlemail.com>  --->   550 cannot relay for ross.a.nicol@googlemail.com
00008002 00001F83 17/11/2011 22:59:03 Returning message SWRDF7160CEF to sender
00000800 00000000 17/11/2011 22:59:03 Sending template delivery_failure~ to scot-rail@thecityofstirling.org
00000802 00001F83 17/11/2011 22:59:03 Completed delivery (0 of 1 recipients) of SWRDF7160CED~smtp_mailkeep_net__465 (1 failed, 0 will retry)
00000080 00000000 17/11/2011 22:59:03 Routing (Inbound) SWRDF7160CF0 (1 locked, 0 queued)
00000800 00000000 17/11/2011 22:59:03 Executing Automatic Script "Inbound trigger" on message SWRDF7160CF1
00000080 00000000 17/11/2011 22:59:03 Router: (Depth 0) SWRDF7160CF1: "() Delivery Report (Failure)" from  for (2 rcpts) scot-rail@thecityofstirling.org,Archive-to-disk
00000800 00000000 17/11/2011 22:59:03 Executing Automatic Script "Routing trigger" on message SWRDF7160CF1
00000200 00010031 17/11/2011 22:59:03  sent "Delivery Report (Failure)"
00000002 00001F83 17/11/2011 22:59:04 RSET  --->   250 clearing sender and recipient list, go ahead
00000002 00001F83 17/11/2011 22:59:04 QUIT  --->   221 have a nice day (SMTP Closing)
- 00001F83
00000080 00000000 17/11/2011 22:59:04 Router: Storing SWRDF7160CF1 <SWRDF7160CF1@sword.ran.org.uk> in mailslot "Ross.Nicol" as SWRDF7160CF2


I presume the :465 means that's the port it's connecting to?

If you still can't see anything at your end then let me know and I'll stick something on the pc to analyse network traffic and confirm what port it's using at this end.

Thanks for all your help so far, and sorry if I'm causing problems....

Ross
User avatar
Ross
 
Posts: 43
Joined: Thu Dec 30th, 2004 5:51am
Location: Stirling

RE: RE: Outgoing mail relay and dynamic dns

Postby Elric Pedder » Fri Nov 18th, 2011 8:40am

From: mailkeep-users@novitraq.com [mailto:mailkeep-
users@novitraq.com] On Behalf Of Ross
Sent: November-17-11 6:17 PM
To: Mailkeep Users Group
Subject: Re: RE: Outgoing mail relay and dynamic dns

Hi Ross,

Thanks! Now if we can just get her to sleep at night and not during the
day we will be fine

It'll come. Feeding her in fairly bright light during daytime and in the
dark at night time will help a little.

Sorry - just checked and I was authenticating on port 25

Changed it to port 465 but it doesn't seem to be making any difference:

As far as I can tell from the logs, your server made no attempt to
authenticate. Have you configured credentials for this server by clicking
on the padlock icon?

Best regards,
- Elric
Mailtraq Development and Escalation Support
Novitraq Incorporated
User avatar
Elric Pedder
Mailtraq Escalation Support
 
Posts: 2675
Joined: Tue Nov 23rd, 2004 1:16pm
Location: Montreal, Canada

Re: RE: RE: Outgoing mail relay and dynamic dns

Postby Ross » Fri Nov 18th, 2011 5:41pm

Hi Elric,

Elric Pedder wrote:It'll come. Feeding her in fairly bright light during daytime and in the
dark at night time will help a little.


I'll try that - thanks :)

Sorry - just checked and I was authenticating on port 25

Elric Pedder wrote:As far as I can tell from the logs, your server made no attempt to
authenticate. Have you configured credentials for this server by clicking
on the padlock icon?


Yep - I have. The attached screenshots show how I've got things configured in Mailtraq. As far as I can see I've got it set correctly - but am quite happy to be corrected!

I can also give you a wireshark dump of an attempted connection if that helps?

Regards

Ross
Attachments
Capture2.JPG
Capture2.JPG (40.42 KiB) Viewed 13618 times
Capture.JPG
Capture.JPG (43.23 KiB) Viewed 13618 times
User avatar
Ross
 
Posts: 43
Joined: Thu Dec 30th, 2004 5:51am
Location: Stirling

RE: RE: RE: Outgoing mail relay and dynamic dns

Postby Elric Pedder » Mon Dec 05th, 2011 10:15am

From: mailkeep-users@novitraq.com [mailto:mailkeep-
users@novitraq.com] On Behalf Of Ross
Sent: November-18-11 4:41 PM
To: Mailkeep Users Group
Subject: Re: RE: RE: Outgoing mail relay and dynamic dns

Hi Ross,

Yep - I have. The attached screenshots show how I've got things
configured in Mailtraq. As far as I can see I've got it set correctly - but am
quite happy to be corrected!

I'm terribly sorry it took me so long to reply. I've checked everything
and even sent messages via your account and as far as I can tell it does
work. Can you check that you specified "smtp.mailkeep.net:465" in the
advanced routing table and that the security settings are correct for that
specific address?

Also the pictures didn't arrive here again so if the above fails can you
send them directly to me to check?

Best regards,
- Elric
Mailtraq Development and Escalation Support
Novitraq Incorporated
User avatar
Elric Pedder
Mailtraq Escalation Support
 
Posts: 2675
Joined: Tue Nov 23rd, 2004 1:16pm
Location: Montreal, Canada

Re: Outgoing mail relay and dynamic dns

Postby Ross » Sun Jan 29th, 2012 8:35pm

Hi Elric,

Didn't realise it was December since we talked about this - how time flies!!

Now that we've got into a routine with Jessica, I've got a bit more time to spend on the pc again :)

To show her off to friends and family I've put photo album software on one of the pcs here and this made me think about mailkeep and dynamic IP again.

I realise you're busy so putting a dynamic IP solution into mailkeep might take a bit of time so I was wondering if another change could be made instead which might help in the meantime. I've registered a couple of no-ip.org free hostnames which are updated to point to my IP every time it changes, and was trying to use mailkeep as a secondary DNS with one of these hostnames as parents, but mailkeep only accepts an IP address for the primary nameserver.

Would it be easy enough to change this so that I could use a hostname instead? This would let no-ip (or other similar hostnames) deal with the dynamic aspect and I could use my own dns server as a hidden primary and mailkeep as the public facing dns so that my domains could still receive email etc if/when my line is down.

Phew - hope that all makes sense, but if not then please let me know!

Ross
User avatar
Ross
 
Posts: 43
Joined: Thu Dec 30th, 2004 5:51am
Location: Stirling


Return to Mailkeep Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron