Ahhh, the crux of my cluelessness:
Stan Hoeppner <s...@hardwarefreak.com> wrote:
"Any dyndns service that allows using a real domain.tld will work.  Make
sure
your consumer router is doing dynamic IP updates to the dyndns provider.
 Create an MX record with the FQDN of your mail host.  Since dyndns
services provide wildard resolution, you do not create an A record for
the MX host, just the MX record. "

So, I dont understand...some specifics:  I have a server:
machine 1 is named by me: m1.homeunix.org (192.168.1.10)
user on machine 1 is: stan, so email to stan is s...@m1.homeunix.org

DynDns (the service) offers managed DNS service and lets you pick from a
list of domain names.  I chose  server1.homeunix.org   (I gave my machines
names with .homeunix.org..don't know if this was wrong or right???)

I want to map the outside name, server1.homeunix.org  (whatever IP address
DynDNS assigned to it) to my 'inside name' m1.homeunix.org (my assignment
is 192.168.1.10)
Someone in the outside world wants to send an email:
s...@server1.homeunix.org) and I want to make sure it is routed to:
(effectively, s...@m1.homeunix.org).
What do I put in the MX record?  What do I put in main.cf?

Thanks for the pointer to TZO.
-John



On Tue, Feb 28, 2012 at 6:55 PM, Stan Hoeppner <s...@hardwarefreak.com>wrote:

> On 2/28/2012 11:08 AM, John Hudak wrote:
> > I can sympathise as I looked into doing this first with sendmail and more
> > recently with postfix.  Unfortunately after spending lots of time
> reading,
> > I could not put the pieces together the right way to run a home server.
>  My
> > circumstances were similar to yours - multiple machines on a 198.162.x.x
> > network, trying DynDns, etc.  Some things I did along the way that
> helped:
> > Installed DD-wrt on my wireless router that gave me better control over
> > network operation, such as assigning static addresses to all my machines,
> > allowed automatic updates of my DynDns IP address, etc.
> >
> > My most pressing need was to have outbound service,  the capability to
> send
> > updates from some of my servers to my gmail and work accounts, as well as
> > send received faxes from my fax server. I found a nice program called
> > Simple SMTP (ssmtp) that did exactly what I wanted and took all of 10 min
> > to install, configure, and test.  It may be of some value to you.
> >
> > While I would dearly love the inbound mail service capability (very
> helpful
> > for me to use my email to fax gateway), the outbound only service
> suffices
> > for the time being.
> >
> > I looked high and low for some sort of help/how-to and did not find one.
> > If you succeed, I'd be very interested in how you set up postfix.
>
> Worth reading:
> http://www.hardwarefreak.com/postfix-adsl-relay-config.txt
> That covers the Postfix outbound setup so your mail isn't blocked by
> everyone due to dynamic IP status.  This relays mail through your ISP,
> just as you would with Thunderbird, Outlook, etc.
>
> The inbound setup simply requires something like TZO dynamic DNS
> service, which I used for many years and it worked flawlessly.  Any
> dyndns service that allows using a real domain.tld will work.  Make sure
> your consumer router is doing dynamic IP updates to the dyndns provider.
>  Create an MX record with the FQDN of your mail host.  Since dyndns
> services provide wildard resolution, you do not create an A record for
> the MX host, just the MX record.  Make sure your router is port
> forwarding TCP 25 from the WAN interface to the RFC1918 address of your
> Postfix server, and that's about it.
>
> --
> Stan
>
>
>

Reply via email to