Re: mail to another machine on the LAN

2010-10-28 Thread Tim
Tim: >> I think you want to check that each computer in the equation can resolve >> its own name, and the other computer's. Avoid using "localhost" as part >> of the mail addresses. Hiisi: > How to check it? The dig tool can be used to check DNS queries. But, you can probably just try pinging t

Re: mail to another machine on the LAN

2010-10-28 Thread Mike Chambers
On Thu, 2010-10-28 at 10:28 +0400, Hiisi wrote: > On remote machine, right? > # cat /etc/mail/local-host-names > # local-host-names - include all aliases for your machine here. > 192.168.3.30 On the machine that is trying to accept your emails (or the machine that sendmail is running on). Are yo

Re: mail to another machine on the LAN

2010-10-28 Thread Hiisi
ke, 2010-10-27 kello 20:46 -0500, Mike Chambers kirjoitti: > On Wed, 2010-10-27 at 15:02 +0400, Hiisi wrote: > > > There's no /etc/mail/localhost file on both machines. Should I create > > it? If so, then where (i.e. on which machine)? > > There's only /etc/mail/local-host-names. It holds localhos

Re: mail to another machine on the LAN

2010-10-28 Thread Hiisi
ke, 2010-10-27 kello 20:59 -0400, Kevin J. Cummings kirjoitti: <--SNIP--> > > Look at your /etc/mail/access file. You will need to add the hostnames > of all machines on your local network that you want to have access to > your sendmail daemon. Do it on each machine. > OK, now I have: On F-12 r

Re: mail to another machine on the LAN

2010-10-27 Thread Mike Chambers
On Wed, 2010-10-27 at 15:02 +0400, Hiisi wrote: > There's no /etc/mail/localhost file on both machines. Should I create > it? If so, then where (i.e. on which machine)? > There's only /etc/mail/local-host-names. It holds localhost aliases. > Correct, my bad. It's /etc/mail/local-host-names file

Re: mail to another machine on the LAN

2010-10-27 Thread Kevin J. Cummings
On 10/27/2010 06:57 AM, Hiisi wrote: > Failed :-( > (reason: 550 5.7.1 ... Relaying denied. IP name > lookup f > ailed [192.168.3.20]) > > Any other suggestions? Look at your /etc/mail/access file. You will need to add the hostnames of all machines on your local network that you want to have ac

Re: mail to another machine on the LAN

2010-10-27 Thread Hiisi
ke, 2010-10-27 kello 09:02 -0600, Patrick Kobly kirjoitti: > On 10/27/2010 8:32 AM, Hiisi wrote: > > > > I saw it when I was trying to send message to@[192.168.3.30]. If > > I send mail to@192.168.3.30 there's no such error in mailog but > > message is returned by MAILER-DAEMON to root. > > Thanks

Re: mail to another machine on the LAN

2010-10-27 Thread Hiisi
ke, 2010-10-27 kello 22:20 +1030, Tim kirjoitti: <--SNIP--> > > When I tried to get my modem/router to email its logs to a computer in > my LAN, and went through similar problems. The router would try to use > the DNS servers it knew about (the ones the ISP sets up through DHCP), > and obviously

Re: mail to another machine on the LAN

2010-10-27 Thread Tim
On Wed, 2010-10-27 at 14:20 +0400, Hiisi wrote: > Now I'm able to telnet to 192.168.3.30 on port 25 and can leave a mail > for user on that machine. However it's still impossible to send mail > to @192.168.3.30 from router. The message is returned with error > (reason: 550 Host unknown). It's name

Re: mail to another machine on the LAN

2010-10-27 Thread Hiisi
ke, 2010-10-27 kello 19:03 +0800, Ed Greshko kirjoitti: > > First, you haven't said what router you are using. While it sounds as > if you will have to set up a local name server to properly resolve the > hostname of 192.168.3.30 to its IP address you may want to consult the > router's documentat

Re: mail to another machine on the LAN

2010-10-27 Thread Ed Greshko
On 10/27/2010 06:57 PM, Hiisi wrote: > Any other suggestions? First, you haven't said what router you are using. While it sounds as if you will have to set up a local name server to properly resolve the hostname of 192.168.3.30 to its IP address you may want to consult the router's documentation

Re: mail to another machine on the LAN

2010-10-27 Thread Hiisi
ke, 2010-10-27 kello 05:10 -0500, Mike Chambers kirjoitti: > On Wed, 2010-10-27 at 08:57 +0400, Hiisi wrote: <--SNIP--> > That should be the only option you have to change in your sendmail.mc > file, as I do that as well and use the line like you did below... > > DAEMON_OPTIONS(`Port=smtp, Name=MT

Re: mail to another machine on the LAN

2010-10-27 Thread Hiisi
ke, 2010-10-27 kello 18:37 +0800, Ed Greshko kirjoitti: > On 10/27/2010 06:20 PM, Hiisi wrote: <--SNIP--> > > I have seen a router where if you wanted to use an IP address instead of > a hostname you had to format the email address as u...@[192.168.3.30] to > prevent the router from trying to do a

Re: mail to another machine on the LAN

2010-10-27 Thread Ed Greshko
On 10/27/2010 06:20 PM, Hiisi wrote: > OK, thank you, guys. Now I'm able to telnet to 192.168.3.30 on port 25 > and can leave a mail for user on that machine. However it's still > impossible to send mail to @192.168.3.30 from router. The message > is returned with error (reason: 550 Host unknown).

Re: mail to another machine on the LAN

2010-10-27 Thread Hiisi
ke, 2010-10-27 kello 20:07 +1030, Tim kirjoitti: > Tim: > >> Will that machine be accessible from outside your LAN? If so, you need <--SNIP--> > users with wide-open wireless LANs. > > The point about internal abuse/mal-use still stands, too. > OK, thank you, guys. Now I'm able to telnet to 192

Re: mail to another machine on the LAN

2010-10-27 Thread Mike Chambers
On Wed, 2010-10-27 at 08:57 +0400, Hiisi wrote: > Thank you, guys! I understand now where's the problem. I tried the > following changes in /etc/mail/sendmail.mc: > DAEMON_OPTIONS(`Port=smtp,Addr=192.168.3.30, Name=MTA')dnl > and > DAEMON_OPTIONS(`Port=smtp,Name=MTA')dnl > And restarted sendmail a

Re: mail to another machine on the LAN

2010-10-27 Thread Tim
Tim: >> Will that machine be accessible from outside your LAN? If so, you need >> to take anti-spam steps. Ed Greshko: > Since the OP mentioned the IP address to be 192.168.3.30 I didn't see > the need to bring all that up. I did, because I've seen modem routers which /helpfully/ forward all inc

Re: mail to another machine on the LAN

2010-10-26 Thread Ed Greshko
On 10/27/2010 12:57 PM, Hiisi wrote: > ke, 2010-10-27 kello 08:44 +0800, Ed Greshko kirjoitti: >> On 10/27/2010 08:37 AM, Tim wrote: >>> Will that machine be accessible from outside your LAN? If so, you need >>> to take anti-spam steps. >> Since the OP mentioned the IP address to be 192.168.3.30 I

Re: mail to another machine on the LAN

2010-10-26 Thread Hiisi
ke, 2010-10-27 kello 08:44 +0800, Ed Greshko kirjoitti: > On 10/27/2010 08:37 AM, Tim wrote: > > Will that machine be accessible from outside your LAN? If so, you need > > to take anti-spam steps. > > Since the OP mentioned the IP address to be 192.168.3.30 I didn't see > the need to bring all th

Re: mail to another machine on the LAN

2010-10-26 Thread Ed Greshko
On 10/27/2010 08:37 AM, Tim wrote: > Will that machine be accessible from outside your LAN? If so, you need > to take anti-spam steps. Since the OP mentioned the IP address to be 192.168.3.30 I didn't see the need to bring all that up. -- "There's very good eating on one of these, you know." -

Re: mail to another machine on the LAN

2010-10-26 Thread Tim
On Wed, 2010-10-27 at 07:00 +0800, Ed Greshko wrote: > It looks as if you've not changed the default configuration for > sendmail. > > By default it will only listen on the loopback address. > > You need to go to /etc/mail and edit the sendmail.mc file. Details of > this are located in the fil

Re: mail to another machine on the LAN

2010-10-26 Thread Rick Stevens
On 10/26/2010 03:42 PM, Hiisi wrote: > ti, 2010-10-26 kello 18:23 -0400, Sam Varshavchik kirjoitti: >> telnet 192.168.3.30 25 > > Hi, Sam. > $ telnet 192.168.3.30 25 > Trying 192.168.3.30... > telnet: connect to address 192.168.3.30: Connection refused > > However port 25 is open on 192.168.3.30: >

Re: mail to another machine on the LAN

2010-10-26 Thread Ed Greshko
On 10/27/2010 06:42 AM, Hiisi wrote: > $ telnet 192.168.3.30 25 > Trying 192.168.3.30... > telnet: connect to address 192.168.3.30: Connection refused It looks as if you've not changed the default configuration for sendmail. By default it will only listen on the loopback address. You need to go

Re: mail to another machine on the LAN

2010-10-26 Thread Hiisi
ti, 2010-10-26 kello 18:23 -0400, Sam Varshavchik kirjoitti: > telnet 192.168.3.30 25 Hi, Sam. $ telnet 192.168.3.30 25 Trying 192.168.3.30... telnet: connect to address 192.168.3.30: Connection refused However port 25 is open on 192.168.3.30: # cat /etc/sysconfig/iptables # Generated by iptables

Re: mail to another machine on the LAN

2010-10-26 Thread Sam Varshavchik
Hiisi writes: Hi, all! I would like to send messages to another machine on my home LAN. My current configuration is: Main computer (F12, serves as router), is connected to the Internet via eth0. It shares its connection for two LAN machines - one is Win XP laptop connected to the main computer o

mail to another machine on the LAN

2010-10-26 Thread Hiisi
Hi, all! I would like to send messages to another machine on my home LAN. My current configuration is: Main computer (F12, serves as router), is connected to the Internet via eth0. It shares its connection for two LAN machines - one is Win XP laptop connected to the main computer on eth1 and the ot