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