Networking Forums

Networking Forums > Computer Networking > Linux Networking > Hosting Own Postfix Mail Server

Reply
Thread Tools Display Modes

Hosting Own Postfix Mail Server

 
 
John Tilly
Guest
Posts: n/a

 
      09-11-2007, 12:25 AM
All:

I'm trying to host my own mail server and not sure how route messages from
my domain host to my dynamic IP host (no-ip.com). My host has a forwarding
record type of "URL" which I've set up to point "WWW" prefixes to my
assigned domain (eg. mydomain.no-ip.biz) which then passes port 80 requests
to the HTTP server inside my home. This works fine. I'm not sure how to
handle email requests, however. I've tried using a "@" prefix with an URL
record type as well but that didn't work. "A" record types require an IP4
address which won't work since I need to point to the "mydomain.no-ip.biz"
host and there is no IP address to use.

Therefore, I need some help understanding how to set up the routing to allow
emails to get sent to my domain host and then routed through to my email
server.

Any thoughts?

Thanks in advance.


 
Reply With Quote
 
 
 
 
Dave Uhring
Guest
Posts: n/a

 
      09-11-2007, 01:58 AM
On Mon, 10 Sep 2007 17:25:47 -0700, John Tilly wrote:

> I'm trying to host my own mail server and not sure how route messages
> from my domain host to my dynamic IP host (no-ip.com). My host has a
> forwarding record type of "URL" which I've set up to point "WWW"
> prefixes to my assigned domain (eg. mydomain.no-ip.biz) which then
> passes port 80 requests to the HTTP server inside my home. This works
> fine. I'm not sure how to handle email requests, however. I've tried
> using a "@" prefix with an URL record type as well but that didn't work.
> "A" record types require an IP4 address which won't work since I need to
> point to the "mydomain.no-ip.biz" host and there is no IP address to
> use.


Your DNS records require an MX entry.
 
Reply With Quote
 
John Tilly
Guest
Posts: n/a

 
      09-11-2007, 03:50 AM

"Dave Uhring" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Mon, 10 Sep 2007 17:25:47 -0700, John Tilly wrote:
>
>> I'm trying to host my own mail server and not sure how route messages
>> from my domain host to my dynamic IP host (no-ip.com). My host has a
>> forwarding record type of "URL" which I've set up to point "WWW"
>> prefixes to my assigned domain (eg. mydomain.no-ip.biz) which then
>> passes port 80 requests to the HTTP server inside my home. This works
>> fine. I'm not sure how to handle email requests, however. I've tried
>> using a "@" prefix with an URL record type as well but that didn't work.
>> "A" record types require an IP4 address which won't work since I need to
>> point to the "mydomain.no-ip.biz" host and there is no IP address to
>> use.

>
> Your DNS records require an MX entry.


JT>> Hey Dave. Thanks for responding. My interpretation of your comment
is as follows. I should create an MX record that points to my dynamic IP
host location (mydomain.no-ip.biz). No additional configurations are needed
at the dynamic IP host since it already points to email server IP address.
Any particular ports that needed to get routed inside my firewall? Thanks
again... John.


 
Reply With Quote
 
Dave Uhring
Guest
Posts: n/a

 
      09-11-2007, 04:08 AM
On Tue, 11 Sep 2007 03:50:14 +0000, John Tilly wrote:
> "Dave Uhring" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...


>> Your DNS records require an MX entry.

>
> JT>> Hey Dave. Thanks for responding. My interpretation of your
> comment is as follows. I should create an MX record that points to my
> dynamic IP host location (mydomain.no-ip.biz). No additional
> configurations are needed at the dynamic IP host since it already points
> to email server IP address. Any particular ports that needed to get
> routed inside my firewall? Thanks again... John.


25 to receive mail
110 to access a POP3 server remotely
143 to access IMAP-4 server remotely

These and other port numbers are defined in /etc/services.
 
Reply With Quote
 
John
Guest
Posts: n/a

 
      09-11-2007, 01:44 PM
On Tue, 11 Sep 2007 04:08:10 +0000, Dave Uhring wrote:

> On Tue, 11 Sep 2007 03:50:14 +0000, John Tilly wrote:
>> "Dave Uhring" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...

>
>>> Your DNS records require an MX entry.

>>
>> JT>> Hey Dave. Thanks for responding. My interpretation of your
>> comment is as follows. I should create an MX record that points to my
>> dynamic IP host location (mydomain.no-ip.biz). No additional
>> configurations are needed at the dynamic IP host since it already points
>> to email server IP address. Any particular ports that needed to get
>> routed inside my firewall? Thanks again... John.

>
> 25 to receive mail
> 110 to access a POP3 server remotely
> 143 to access IMAP-4 server remotely
>
> These and other port numbers are defined in /etc/services.



JT>> I entered an MX record at my domain host. It required a prefix so
I used "@". An email sent to mydomain.com now generates the following
error message:

<(E-Mail Removed)>: Name service error for name=mydomain.com type=MX:
Malformed or unexpected name server reply

Thoughts?


 
Reply With Quote
 
Dave Uhring
Guest
Posts: n/a

 
      09-11-2007, 03:09 PM
On Tue, 11 Sep 2007 06:44:46 -0700, John wrote:

>>> "Dave Uhring" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...

>>
>>>> Your DNS records require an MX entry.


> JT>> I entered an MX record at my domain host. It required a prefix so
> I used "@". An email sent to mydomain.com now generates the following
> error message:
>
> <(E-Mail Removed)>: Name service error for name=mydomain.com type=MX:
> Malformed or unexpected name server reply


I have no idea how your provider configures you zone, but here is one
which is no longer in active use on a nameserver running BIND-9:


$ttl 38400
ciacarclub.com. IN SOA ns1.xxxxx.net. hostmaster.mail.xxxxx.net. (
2004040201
10800
3600
604800
38400 )
ciacarclub.com. IN NS ns1.xxxxxx.net.
IN NS ns2.xxxxxx.net.
IN MX 5 mail.xxxxxx.net.
IN A xxx.75.yyy.81
www IN A xxx.75.yyy.81
ftp IN A xxx.75.yyy.81
 
Reply With Quote
 
SRG
Guest
Posts: n/a

 
      09-12-2007, 09:42 AM
On Sep 11, 8:09 pm, Dave Uhring <daveuhr...@yahoo.com> wrote:
> On Tue, 11 Sep 2007 06:44:46 -0700, John wrote:
> >>> "Dave Uhring" <daveuhr...@yahoo.com> wrote in message
> >>>news:(E-Mail Removed)...

>
> >>>> Your DNS records require an MX entry.

> > JT>> I entered an MX record at my domain host. It required a prefix so
> > I used "@". An email sent to mydomain.com now generates the following
> > error message:

>
> > <t...@mydomain.com>: Name service error for name=mydomain.com type=MX:
> > Malformed or unexpected name server reply

>
> I have no idea how your provider configures you zone, but here is one
> which is no longer in active use on a nameserver running BIND-9:
>
> $ttl 38400
> ciacarclub.com. IN SOA ns1.xxxxx.net. hostmaster.mail.xxxxx.net. (
> 2004040201
> 10800
> 3600
> 604800
> 38400 )
> ciacarclub.com. IN NS ns1.xxxxxx.net.
> IN NS ns2.xxxxxx.net.
> IN MX 5 mail.xxxxxx.net.
> IN A xxx.75.yyy.81
> www IN A xxx.75.yyy.81
> ftp IN A xxx.75.yyy.81






SRG> put the mx record of your host into no-ip's mx record settings.
and then try it will work

 
Reply With Quote
 
John Tilly
Guest
Posts: n/a

 
      09-12-2007, 03:19 PM

"SRG" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> On Sep 11, 8:09 pm, Dave Uhring <daveuhr...@yahoo.com> wrote:
>> On Tue, 11 Sep 2007 06:44:46 -0700, John wrote:
>> >>> "Dave Uhring" <daveuhr...@yahoo.com> wrote in message
>> >>>news:(E-Mail Removed)...

>>
>> >>>> Your DNS records require an MX entry.
>> > JT>> I entered an MX record at my domain host. It required a prefix so
>> > I used "@". An email sent to mydomain.com now generates the following
>> > error message:

>>
>> > <t...@mydomain.com>: Name service error for name=mydomain.com type=MX:
>> > Malformed or unexpected name server reply

>>
>> I have no idea how your provider configures you zone, but here is one
>> which is no longer in active use on a nameserver running BIND-9:
>>
>> $ttl 38400
>> ciacarclub.com. IN SOA ns1.xxxxx.net.
>> hostmaster.mail.xxxxx.net. (
>> 2004040201
>> 10800
>> 3600
>> 604800
>> 38400 )
>> ciacarclub.com. IN NS ns1.xxxxxx.net.
>> IN NS ns2.xxxxxx.net.
>> IN MX 5 mail.xxxxxx.net.
>> IN A xxx.75.yyy.81
>> www IN A xxx.75.yyy.81
>> ftp IN A xxx.75.yyy.81

>
>
>
>
>
> SRG> put the mx record of your host into no-ip's mx record settings.
> and then try it will work
>

JT>> OK. I must admit Dave's last response was a bit over my head, but what
I've now done is create an MX record at my host which looks like
mail.mydomainname.com and I've added an MX reference at no-ip.com back to
mydomainname.com. No-ip's MX reference wouldn't accept
mail.mydomainname.com so I'm hoping mydomainname.com will suffice. It will
likely take some time to hit the network servers so I'll post my results
tonight. Thanks all for the help....John.


 
Reply With Quote
 
John
Guest
Posts: n/a

 
      09-14-2007, 03:35 AM
On Wed, 12 Sep 2007 15:19:41 +0000, John Tilly wrote:

>
> "SRG" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) ups.com...
>> On Sep 11, 8:09 pm, Dave Uhring <daveuhr...@yahoo.com> wrote:
>>> On Tue, 11 Sep 2007 06:44:46 -0700, John wrote:
>>> >>> "Dave Uhring" <daveuhr...@yahoo.com> wrote in message
>>> >>>news:(E-Mail Removed)...
>>>
>>> >>>> Your DNS records require an MX entry.
>>> > JT>> I entered an MX record at my domain host. It required a prefix so
>>> > I used "@". An email sent to mydomain.com now generates the following
>>> > error message:
>>>
>>> > <t...@mydomain.com>: Name service error for name=mydomain.com type=MX:
>>> > Malformed or unexpected name server reply
>>>
>>> I have no idea how your provider configures you zone, but here is one
>>> which is no longer in active use on a nameserver running BIND-9:
>>>
>>> $ttl 38400
>>> ciacarclub.com. IN SOA ns1.xxxxx.net.
>>> hostmaster.mail.xxxxx.net. (
>>> 2004040201
>>> 10800
>>> 3600
>>> 604800
>>> 38400 )
>>> ciacarclub.com. IN NS ns1.xxxxxx.net.
>>> IN NS ns2.xxxxxx.net.
>>> IN MX 5 mail.xxxxxx.net.
>>> IN A xxx.75.yyy.81
>>> www IN A xxx.75.yyy.81
>>> ftp IN A xxx.75.yyy.81

>>
>>
>>
>>
>>
>> SRG> put the mx record of your host into no-ip's mx record settings.
>> and then try it will work
>>

> JT>> OK. I must admit Dave's last response was a bit over my head, but what
> I've now done is create an MX record at my host which looks like
> mail.mydomainname.com and I've added an MX reference at no-ip.com back to
> mydomainname.com. No-ip's MX reference wouldn't accept
> mail.mydomainname.com so I'm hoping mydomainname.com will suffice. It will
> likely take some time to hit the network servers so I'll post my results
> tonight. Thanks all for the help....John.


JT>> Here's the update. Still an error which looks like
<(E-Mail Removed)>
Host or domain name not found. Name service error for
name=jacobholden.com type=A: Host found but no data record of requested type

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mail server behind router port forwarding 25 domain static ip postfix lonux linux konqueror in progress Linux Networking 1 06-22-2007 01:28 PM
Mail Relay through ISP by Postfix * Tong * Linux Networking 6 06-20-2006 03:10 PM
Postfix configuration: Sending mail via external server David Allen Linux Networking 4 02-25-2005 01:44 PM
Maildir/ in /var/spool/mail/$user? (postfix) Nick E. Linux Networking 1 01-30-2004 03:11 AM
postfix + cyrus IMAP: central sent-mail folder on IMAP server Thomas Schamberg Linux Networking 0 01-08-2004 01:31 PM



1 2 3 4 5 6 7 8 9 10 11