Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Postfix troubles

Reply
 
Thread Tools Display Modes
  #1  
Old 07-18-2005, 12:47 AM
Default Postfix troubles



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
Reply With Quote
  #2  
Old 07-18-2005, 02:34 AM
Dan
Guest
 
Posts: n/a
Default Re: Postfix troubles

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

Reply With Quote
  #3  
Old 07-18-2005, 02:40 AM
Gunter Herrmann
Guest
 
Posts: n/a
Default Re: Postfix troubles

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
Reply With Quote
  #4  
Old 07-18-2005, 02:46 AM
Bit Twister
Guest
 
Posts: n/a
Default Re: Postfix troubles

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

Reply With Quote
  #5  
Old 07-18-2005, 12:50 PM
KiNgTuT99
Guest
 
Posts: n/a
Default Re: Postfix troubles

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
>



Reply With Quote
  #6  
Old 07-18-2005, 02:22 PM
Dan
Guest
 
Posts: n/a
Default Re: Postfix troubles

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
>

Reply With Quote
  #7  
Old 07-20-2005, 12:21 PM
KiNgTuT99
Guest
 
Posts: n/a
Default Re: Postfix troubles

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
>>



Reply With Quote
Reply

Tags
postfix, troubles

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 05:49 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.