[clug] Local Mail Howto
Keith Goggin
keith.goggin at bigpond.com
Thu May 6 21:32:31 MDT 2010
Daniel Rose wrote:
> On 06/05/10 17:47, Keith Goggin wrote:
>
>> Hi List,
>>
>> Can someone point me to a solution to this problem?
>>
>> I'm running a home LAN on my Netcomm 3G9WB default address 10.0.0.138
>>
>> I have configured a second IP Address 192.168.1.1
>>
>
> Does this mean your 3G9WB has two IP addresses and is routing properly
> between the subnets? Where does the Internet fit into the architecture?
>
Hi Daniel,
Yes and I think so.
Ah the 3G9WB is otherwise known as a bigpond home network gateway and
connects to the Nextg net through a dynamically assigned ip address.
kg at newbox ~ $ traceroute bigpond.com
traceroute to bigpond.com (144.135.18.32), 30 hops max, 60 byte packets
1 10.0.0.138 (10.0.0.138) 1.341 ms 1.502 ms 1.694 ms
2 172.18.113.135 (172.18.113.135) 804.589 ms 824.477 ms 834.439 ms
3 172.18.66.114 (172.18.66.114) 855.441 ms 884.373 ms 894.352 ms
4 172.18.117.1 (172.18.117.1) 896.411 ms 896.395 ms 896.570 ms
5 172.18.117.13 (172.18.117.13) 1004.266 ms 1006.206 ms 1006.287 ms
6 172.18.239.161 (172.18.239.161) 1024.181 ms 1610.873 ms 472.178 ms
7 Bundle-Ether11.ken39.Sydney.telstra.net (203.45.17.25) 473.178 ms
504.272 ms 504.211 ms
8 Bundle-Ether6.ken-core4.Sydney.telstra.net (203.50.6.145) 504.441
ms 504.676 ms 504.747 ms
9 TenGigabitEthernet8-1.pit1.Sydney.telstra.net (203.50.20.39)
504.492 ms 504.809 ms 504.901 ms
10 pitt-tcom-r01 (139.130.185.254) 514.504 ms 514.486 ms 514.662 ms
kg at newbox ~ $ ping 192.168.1.115
PING 192.168.1.115 (192.168.1.115) 56(84) bytes of data.
64 bytes from 192.168.1.115: icmp_seq=1 ttl=64 time=20.6 ms
From 10.0.0.138: icmp_seq=2 Redirect Host(New nexthop: 192.168.1.115)
<=== ???
64 bytes from 192.168.1.115: icmp_seq=2 ttl=64 time=3.62 ms
64 bytes from 192.168.1.115: icmp_seq=3 ttl=64 time=3.07 ms
>
>> and Subnet Mask for a LAN interface for my Wireless Linksys WVC54G
>> camera default address 192.168.1.115. (I know the Linksys doesn't play
>> nice if reconfigured to the 10.0.0 sub net.)
>>
>> The 3G9WB is configured as a Wireless Access Point and I can view the
>> video stream on my desktop using a particular browser in a virtual box.
>>
>
> Your pc is 10.x.x.x and you can visit 192.168.1.115? That's good.
>
Yes I think 192.168.1.1 must be an alias for 10.0.0.138?
>> The camera has a facility which will email me a short video clip when
>> it detects any motion.
>>
>> So far so good...
>>
>> The problem is emails are not getting through, I get the following
>> error on the Linksys log:-
>>
>> 05/06/2010 05:07:49 Send e-mail error.
>> 05/06/2010 05:07:45 Motion detected.
>>
>> It may be the email facility doesn't work or more likely it may be my
>> error setting it up.
>>
>> I've tried local addresses such as
>>
>>
>> Send To: user at local.network.name
>> Show "From" as: camera at local.network.name
>> Outgoing Mail
>> SMTP Server: localhost (and I've tried 10.0.0.1)
>>
>>
> If the router is 10.0.0.138, what's 10.0.0.1? The router can only send
> email to an email server (listening on port 25).
>
The wired network is
10.0.0.1 newbox DHCP fixed lease
10.0.0.2 network printer DHCP fixed lease
10.0.0.3 Voip ATA DHCP fixed lease
10.0.0.138 home network gateway
10.0.0.139 very old laptop via usb to ethenet adaptor DHCP
the wireless network is
192.168.1.1 alias for 10.0.0.138 I think???
192.168.1.115 camera
the nextg network is
dynamic IP address
I would be happy to send you images of the config screens but don't have
any web space to upload them myself.
> First it will try to to a DNS lookup for type MX for the
> local.network.name domain. If that fails, it will probably just try to
> send email to the A record for local.network.nam. If there's no DNS,
> there's no email.
>
> If the 3G9WB is doing NAT then you might find that the camera is
> 'outside' and the place you want to send email to is 'inside', which
> means it won't work that way either.
>
> More:
>
>
>
>> I have now set the SMTP Server address to 10.0.0.1 being the address
>>
> of my mail server and the only general purpose machine on my network at
> the moment. I'm unsure how to check that 10.0.0.1 can accept mail from
> 192.168.1.115?
>
> configure a PC with that IP address and connect it instead of the
> Camera, then
>
> telnet 10.0.0.1 25
>
>
>> So I have tried setting port forwarding on my router, but
>>
> unfortunately I'm still getting the 'Send e-mail error' on the camera.
>
> Can you explain which subnets are connected to which labelled ports on
> the router please?
>
I can't find this info in the config screens, the nearest I think is
incoming ip filtering which associates ip addresses with ports.
**
More information about the linux
mailing list