LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 04-25-2002, 03:40 AM   #1
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
Question less easy question


OK I've added the following to /etc/mail/relay-domains:
192.168
.mydomain.dom

I restarted the daemon.
ps -ax show sendamil accepting connections
top shows it running

fromm other box I get :
An smtp error occured
SMTP CONNECT
connection refused.

port 25 on the sendmail box is unreachable w / ping and nmap sees it as closed????
is it a firewall prob???
please help
TIA
 
Old 04-25-2002, 03:56 AM   #2
Blackknight
Member
 
Registered: Apr 2002
Location: Rouen, France
Distribution: Slackware, FreeBSD
Posts: 34

Rep: Reputation: 15
It seems to be a firewall problem. Perhaps you should give us the ipf.rules you use or your config file for ipfw to see what's wrong.
 
Old 04-25-2002, 05:19 AM   #3
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Original Poster
Rep: Reputation: 30
pf.conf

pf.conf

block in all
pass in on dc0 inet proto tcp from any to any port 25
pass in on dc0 inet proto tcp from any to any port 22
pass in on dc0 inet proto tcp from any to any port 80
pass in on dc0 inet proto tcp from any to any port 443
pass in on dc0 inet proto tcp from 192.168.2.0 to any port 20
pass in on dc0 inet proto tcp from 192.168.2.0 to any port 21
pass out all
 
Old 04-25-2002, 06:53 AM   #4
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Original Poster
Rep: Reputation: 30
OK I think my firewall is correct. According to someone I spoke with sendmail is configged to listen on the loopback only. (By default)

Anyone know how I config it to listen on the NIC address?
 
Old 04-25-2002, 05:52 PM   #5
sancho5
Member
 
Registered: Jul 2001
Location: Utah
Distribution: RedHat v7.3, OpenBSD 3.3, FreeBSD 5.0
Posts: 327

Rep: Reputation: 30
sendmail docs.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy question for ya... speedo Linux - Newbie 2 10-23-2004 04:38 PM
easy question! =P h0bbit Linux - Newbie 2 07-07-2002 05:10 AM
easy question 5amYan *BSD 4 04-25-2002 04:09 AM
Easy Question marlaina1 Linux - General 1 12-28-2001 07:02 AM
Very Easy Question linuxcam Linux - General 4 12-20-2001 12:58 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration