|
||||||||
|
|
#1
|
|
Hello,
I am trying to setup an email server for my small LAN. I am using PostFix on SuSE 9.3. When I try to connect from either KMail or Oulook on another local machine, I get errors. In Outlook the servers are found, but "there is no response", and in kmail - "Could not connect to 192.168.0.102" I've tried turning off the firewall and playing with different values in the main.cf file, but no success. I also tried setting it up on another computer just using Yast and using all the default values, I got the same response. server ip : 192.168.0.102 pop server: 192.168.0.102 smtp server: 192.168.0.102 All the computers are connected using a router. I found a few similar posts but no resolution. What is the most common reason behind this? Thanks. John KiNgTuT99 |
|
#2
|
|||
|
|||
|
On Sun, 17 Jul 2005 19:47:12 -0400, "KiNgTuT99"
<(E-Mail Removed)> wrote: >When I try to connect from either KMail or Oulook on another local machine, >I get errors. Are you sending mail (smtp) or retrieving mail (pop)? > In Outlook the servers are found, but "there is no response", >and in kmail - "Could not connect to 192.168.0.102" Can you ping it? >I've tried turning off the firewall and playing with different values in the >main.cf file, but no success. You should have something like the following in your main.cf: mynetworks = 127.0.0.0/8 192.168.0.0/24 >All the computers are connected using a router. First thing is to determine if you have connectivity between the client machine and the server. Ping will tell you that. Tcpdump or ethereal are good for seeing what packets are going back and forth. You can also telnet your smtp server. With telnet you can do an interactive connect to your server. Make sure you telnet to port 25. telnet 192.168.0.102 25 Don't forget to look in the log files, there will be some good clues there. Dan |
|
#3
|
|||
|
|||
|
Hi!
KiNgTuT99 wrote: > I am trying to setup an email server for my small LAN. > > I am using PostFix on SuSE 9.3. > > When I try to connect from either KMail or Oulook on another local machine, > I get errors. In Outlook the servers are found, but "there is no response", > and in kmail - "Could not connect to 192.168.0.102" You have to enable remote SMTP connections in postfix. YaST->Network Services->MTA HTH -- Gunter Herrmann Naples, Florida, USA |
|
#4
|
|||
|
|||
|
On Sun, 17 Jul 2005 19:47:12 -0400, KiNgTuT99 wrote:
> Hello, > > I am trying to setup an email server for my small LAN. > > I am using PostFix on SuSE 9.3. > > When I try to connect from either KMail or Oulook on another local machine, > I get errors. In Outlook the servers are found, but "there is no response", > and in kmail - "Could not connect to 192.168.0.102" Have you looked in /var/log/mail/* files? > I've tried turning off the firewall and playing with different values in the > main.cf file, but no success. $ hostname fw.home.invalid $ cat /etc/hosts 127.0.0.1 localhost 192.168.1.1 fw.home.invalid fw 192.168.1.10 wb.home.invalid wb Snippet from bottom of my main.cf which allows mine to work myorigin = comcast.net mydomain = home.invalid mydestination = $myhostname, localhost.$mydomain, localhost mynetworks = 192.168.1.0/24, 127.0.0.0/8 relayhost = smtp.comcast.net relay_domains = $mydomain inet_interfaces = $myhostname, localhost smtp_host_lookup = dns, native |
|
#5
|
|||
|
|||
|
Thanks for all the replies.
I am using both pop and smtp. I can ping the servver and telnet into into port 25 (the response is rather slow) from other computers. I cannot however telnet into port 110 from any computers or the server itself, "Connection Refused". I have remote smtp connections enabled in Yast. I have also tried some of the recommended settings in main.cf with no success. The strange thing is that one message that I tried to send from a computer w/Outlook made it to the server, but the message ended up in the "deffered" folder (/var/spool/postfix/deferred/D) and the error log said something like "virus scan failed. No virus scanners available". I tried turning off the virus scanner in Yast, but no louck. John "Bit Twister" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > On Sun, 17 Jul 2005 19:47:12 -0400, KiNgTuT99 wrote: >> Hello, >> >> I am trying to setup an email server for my small LAN. >> >> I am using PostFix on SuSE 9.3. >> >> When I try to connect from either KMail or Oulook on another local >> machine, >> I get errors. In Outlook the servers are found, but "there is no >> response", >> and in kmail - "Could not connect to 192.168.0.102" > > Have you looked in /var/log/mail/* files? > >> I've tried turning off the firewall and playing with different values in >> the >> main.cf file, but no success. > > $ hostname > fw.home.invalid > > $ cat /etc/hosts > 127.0.0.1 localhost > 192.168.1.1 fw.home.invalid fw > 192.168.1.10 wb.home.invalid wb > > Snippet from bottom of my main.cf which allows mine to work > > myorigin = comcast.net > mydomain = home.invalid > mydestination = $myhostname, localhost.$mydomain, localhost > mynetworks = 192.168.1.0/24, 127.0.0.0/8 > relayhost = smtp.comcast.net > relay_domains = $mydomain > inet_interfaces = $myhostname, localhost > smtp_host_lookup = dns, native > |
|
#6
|
|||
|
|||
|
On Mon, 18 Jul 2005 07:50:45 -0400, "KiNgTuT99"
<(E-Mail Removed)> wrote: >Thanks for all the replies. > >I am using both pop and smtp. I can ping the servver and telnet into into >port 25 (the response is rather slow) from other computers. Are you connecting by name or by ip address? Slow responses can sometimes indicate dns problems. > I cannot however >telnet into port 110 from any computers or the server itself, "Connection >Refused". It doesn't sound like your pop server is running. You pop server is possibly run with inetd or xinetd. But it's not part of Postfix, so make sure it's installed and configured. Dan > |
|
#7
|
|||
|
|||
|
Thanks Dan,
I installed Dovecot, works great. I was connecting by IP. But I thought to try adding the clients to the server's hosts file, which worked. John "Dan" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)... > On Mon, 18 Jul 2005 07:50:45 -0400, "KiNgTuT99" > <(E-Mail Removed)> wrote: > >>Thanks for all the replies. >> >>I am using both pop and smtp. I can ping the servver and telnet into into >>port 25 (the response is rather slow) from other computers. > > Are you connecting by name or by ip address? Slow responses can > sometimes indicate dns problems. > >> I cannot however >>telnet into port 110 from any computers or the server itself, "Connection >>Refused". > > It doesn't sound like your pop server is running. You pop server is > possibly run with inetd or xinetd. But it's not part of Postfix, so > make sure it's installed and configured. > > Dan >> |
![]() |
| Tags |
| postfix, troubles |
| Thread Tools | |
| Display Modes | |
|
|