LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-20-2007, 12:16 PM   #1
Marv Bon
LQ Newbie
 
Registered: Aug 2007
Posts: 18

Rep: Reputation: 0
Question How allow external access to local services (smtp-sendmail-syslog)


Hello. I am a newbie using OpenBSD 3.6 on a Mac G4. We are using this system as a DNS server, syslog and sendmail server for a small network of about 20 windows computers. We want this system to allow external requests for local services 1-SMTP 2-SYSLOG like sending and receiving email, receive system logs from Cisco equipment. Email is working only from the local server to local users. I can telnet to a external Exchange server and send emails with no problems but that's it. Sendmail can not deliver email by itself to the outside world.

Here is the output of the netstat -a following by mail -v and a maillog at the end. I have been researching this problem in many websites, books and articles and so far nothing. Any help will be appreciated.


Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 0 localhost.38841 localhost.domain TIME_WAIT
tcp 0 52 LAXBCASTDNS01.ssh 10.6.50.1.2644 ESTABLISHED
tcp 0 0 *.ssh *.* LISTEN
tcp 0 0 *.submissi *.* LISTEN
tcp 0 0 *.smtp *.* LISTEN
tcp 0 0 *.time *.* LISTEN
tcp 0 0 *.daytime *.* LISTEN
tcp 0 0 *.auth *.* LISTEN
tcp 0 0 localhost.953 *.* LISTEN
tcp 0 0 LAXBCASTDNS01.domain *.* LISTEN
tcp 0 0 localhost.domain *.* LISTEN
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
udp 0 0 *.echo *.*
udp 0 0 *.ntalk *.*
udp 0 0 localhost.biff *.*
udp 0 0 *.tftp *.*
udp 0 0 *.16975 *.*
udp 0 0 LAXBCASTDNS01.domain *.*
udp 0 0 localhost.domain *.*
udp 0 0 *.syslog *.*
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp6 0 0 *.ssh *.* LISTEN
tcp6 0 0 *.submissi *.* LISTEN
tcp6 0 0 *.smtp *.* LISTEN
tcp6 0 0 *.time *.* LISTEN
tcp6 0 0 *.daytime *.* LISTEN
tcp6 0 0 *.auth *.* LISTEN
tcp6 0 0 localhost.953 *.* LISTEN
tcp6 0 0 *.domain *.* LISTEN
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
udp6 0 0 localhost.biff *.*
udp6 0 0 *.1958 *.*
udp6 0 0 *.domain *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
0x6b748a0 dgram 0 0 0x0 0xe0e4de80 0x0 0xe0e56580
0x7d09010 stream 0 0 0x6a28730 0x0 0x0 0x0 tabs/.sock
0x6b74ee0 dgram 0 0 0x0 0xe0e4de80 0x0 0xe0e56e80
0x603c7d0 dgram 0 0 0x0 0xe0e4de80 0x0 0xe0e4dd40
0x603c640 stream 0 0 0x0 0xe0e4de00 0x0 0x0
0x603c578 stream 0 0 0x0 0xe0e19c40 0x0 0x0

bonillam@hotmail.com... Connecting to [127.0.0.1] via relay...
220 LAXBCASTDNS01.tvgbcast.tvgnetwork.local ESMTP Sendmail 8.13.0/8.13.0; Mon, 20 Aug 2007 09:11:25 -0700 (PDT)
>>> EHLO LAXBCASTDNS01.tvgbcast.tvgnetwork.local
250-LAXBCASTDNS01.tvgbcast.tvgnetwork.local Hello smmsp@localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<root@LAXBCASTDNS01.tvgbcast.tvgnetwork.local> SIZE=67
250 2.1.0 <root@LAXBCASTDNS01.tvgbcast.tvgnetwork.local>... Sender ok
>>> RCPT To:<bonillam@hotmail.com>
>>> DATA
250 2.1.5 <bonillam@hotmail.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 l7KGBPRF004518 Message accepted for delivery
bonillam@hotmail.com... Sent (l7KGBPRF004518 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 LAXBCASTDNS01.tvgbcast.tvgnetwork.local closing connection

MAIL LOG
Aug 20 09:13:13 laxbcastdns01 sm-mta[14623]: l7KGDDat014623: [10.11.50.1] did not issue MAIL/EXPN/VRFY/ETRN during connection t

Last edited by Marv Bon; 08-20-2007 at 05:23 PM.
 
Old 08-22-2007, 07:46 PM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
Are you talking about the BSD beneath Mac OS X? Or have you scrapped Mac OS and installed pure OpenBSD?

If Mac OS X, then it has a built in firewall that is closed off by default. You have to specifically open it up from the sharing control panel, and you may have to create new entries for what you are doing.
 
Old 08-24-2007, 11:43 AM   #3
Marv Bon
LQ Newbie
 
Registered: Aug 2007
Posts: 18

Original Poster
Rep: Reputation: 0
Is a pure OpenBSD box.
 
Old 08-24-2007, 11:45 AM   #4
Marv Bon
LQ Newbie
 
Registered: Aug 2007
Posts: 18

Original Poster
Rep: Reputation: 0
I'm getting this error message also: "could not listen on UDP socket: address is in use." Please I need help.
 
  


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
Local and External Sendmail Combination Azmeen Linux - Server 0 04-25-2007 06:34 AM
sendmail - smtp access from outside rabby Linux - Networking 1 03-01-2006 10:21 AM
Sendmail - Can receive external, no local mail though macdonalder Linux - Software 2 11-18-2005 03:04 AM
Sendmail(SMTP) and access to it over the network tweselak Linux - Newbie 6 08-07-2003 01:54 PM
Cannot access any services outside local network webnoelle Linux - Software 19 07-24-2003 07:55 PM

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

All times are GMT -5. The time now is 02:08 AM.

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