Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Running my own mail server - what happens to mail when it's offline?
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Broadband
- :
- Running my own mail server - what happens to mail ...
- « Previous
-
- 1
- 2
- Next »
Re: Running my own mail server - what happens to mail when it's offline?
27-10-2009 8:16 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
root@ubuntu:~# nslookup -type=mx mgillespie.plus.com
Server: 208.67.222.222
Address: 208.67.222.222#53
Non-authoritative answer:
mgillespie.plus.com mail exchanger = 5 autoturn.plus.net.uk.
mgillespie.plus.com mail exchanger = 20 mx.last.plus.net.
mgillespie.plus.com mail exchanger = 1 mail.mgillespie.plus.com.
Server: 208.67.222.222
Address: 208.67.222.222#53
Non-authoritative answer:
mgillespie.plus.com mail exchanger = 5 autoturn.plus.net.uk.
mgillespie.plus.com mail exchanger = 20 mx.last.plus.net.
mgillespie.plus.com mail exchanger = 1 mail.mgillespie.plus.com.
Message 16 of 24
(545 Views)
Re: Running my own mail server - what happens to mail when it's offline?
27-10-2009 8:17 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hiya Mark,
As has been intimated above, your mail *should* be queued on Plusnet's 'Autoturn' server if yours is offline.
DIG is a nice way to check your MX (Mail Exchanger) records for your domain:
dig -t mx yourdomain.co.uk
this should tell you the MX records, and show their priority (lowest priority is first).
What happens is when a sending server tries to send you mail, it will retrieve the MX records, and try the lowest priority one. If that is not available, it tries the next-highest MX host (which will be Plusnet's Autoturn server) etc. etc.
To 'dequeue' mail from the autoturn server, you need to periodically issue the following command:
finger postmaster@autoturn.plus.net
I set up a CRON job that issues the command (via a script) every 15 mins or so. You can grab it from the Library:
As to why spam is turning up in the spam mailbox - that *may* be because mail is being delivered to mx.last.plus.net, which *may* be running through the Ironport appliances. However, I'm not sure if this is supposed to happen or not - might be worth trying to get it looked into.
HTH
B.
As has been intimated above, your mail *should* be queued on Plusnet's 'Autoturn' server if yours is offline.
DIG is a nice way to check your MX (Mail Exchanger) records for your domain:
dig -t mx yourdomain.co.uk
this should tell you the MX records, and show their priority (lowest priority is first).
What happens is when a sending server tries to send you mail, it will retrieve the MX records, and try the lowest priority one. If that is not available, it tries the next-highest MX host (which will be Plusnet's Autoturn server) etc. etc.
To 'dequeue' mail from the autoturn server, you need to periodically issue the following command:
finger postmaster@autoturn.plus.net
I set up a CRON job that issues the command (via a script) every 15 mins or so. You can grab it from the Library:
As to why spam is turning up in the spam mailbox - that *may* be because mail is being delivered to mx.last.plus.net, which *may* be running through the Ironport appliances. However, I'm not sure if this is supposed to happen or not - might be worth trying to get it looked into.
HTH
B.
Message 17 of 24
(545 Views)
Re: Running my own mail server - what happens to mail when it's offline?
27-10-2009 8:18 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
So if you are off line it will fall back to the next server which is PN.
Then once you are back up and running just finger the autoturn service and stored email will be delivered.
Then once you are back up and running just finger the autoturn service and stored email will be delivered.
Message 18 of 24
(545 Views)
Re: Running my own mail server - what happens to mail when it's offline?
27-10-2009 8:34 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yes with that setup your mail will be queued on PN's servers when your server is unavailable. They'll periodically try to send queued mail to your server, or you can force a dequeue by fingering the autoturn server as at http://www.plus.net/support/email/smtp_mail.shtml#autoturn.
Message 19 of 24
(545 Views)
Re: Running my own mail server - what happens to mail when it's offline?
27-10-2009 8:53 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
PN's autoturn server does not periodically try to send, unless PN have changed it since the last time I used them. Emails will only be received by dequeuing using the 'finger' commend.
Message 20 of 24
(545 Views)
Re: Running my own mail server - what happens to mail when it's offline?
27-10-2009 9:11 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Oops you're quite right. Having re-read PN's help pages it does say you need to use finger postmaster@autoturn.plus.net to start a dequeue.
Message 21 of 24
(545 Views)
Re: Running my own mail server - what happens to mail when it's offline?
27-10-2009 9:17 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Barry, I'm wondering why you finger the autoturn every 15 minutes, it seems like a bit of over kill if your server is up and running all the time
Message 22 of 24
(545 Views)
Re: Running my own mail server - what happens to mail when it's offline?
27-10-2009 9:20 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
it was for business continuity, mainly.
We did have a notoriously bad internet connection, (the Bt line ran practically through the factory which had lots of EM generating equipment in it) so dequeueing mails fairly frequently was a good idea.
B.
We did have a notoriously bad internet connection, (the Bt line ran practically through the factory which had lots of EM generating equipment in it) so dequeueing mails fairly frequently was a good idea.
B.
Message 23 of 24
(545 Views)
Re: Running my own mail server - what happens to mail when it's offline?
27-10-2009 9:21 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Ah, that explains it 😉
Message 24 of 24
(545 Views)
- « Previous
-
- 1
- 2
- Next »
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Broadband
- :
- Running my own mail server - what happens to mail ...