LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-20-2002, 08:22 PM   #1
AMDPwred
Member
 
Registered: Dec 2001
Location: Richmond, VA
Posts: 391

Rep: Reputation: 30
SendMail Config


Can anyone help me configure SendMail so I can connect and send email from a separate workstation on my LAN? I hear that by default it is setup to only allow local connections. Thanks for any help.
 
Old 03-20-2002, 11:13 PM   #2
kausik
LQ Newbie
 
Registered: Feb 2002
Location: Baruipur, India
Distribution: Red Hat 9.0
Posts: 29

Rep: Reputation: 15
go for man sendmail and what that will give you simply is

instead of starting Sendmail with 'sendmail' start it with 'sendmail -bD'. That starts sendmail daemon. Put this option in your start up file (rc.d files). Make proper Network actions and DNS entris for your Sendmail Server.

 
Old 06-21-2013, 12:31 PM   #3
joenetkill
LQ Newbie
 
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Fix sendmail conig.

If you are using sendmail under an RHEL derivative, the sendmail.mc file needs to be edited. CAUTION: be sure to deny relay for any network that you NOT on.

Code:
dnl # The following causes sendmail to only listen on the IPv4 loopback address
127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
dnl DAEMON_OPTIONS(`Port=smtp,Name=MTA')dnl[/FONT][/INDENT]
Insert 'dnl' in front of 127.0.0.1


In the access file, place your local network where 192.168.1.0 is

Code:
# by default we allow relaying from localhost...
Connect:localhost.localdomain           RELAY
Connect:localhost                       RELAY
Connect:127.0.0.1                       RELAY
Connect:192.168.1.0                     RELAY
run
Code:
make -C /etc/mail
You will need to restart sendmail to compile the access.db

Good luck.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail - Config for IP Block's & Config Issues Thom_Redhat Linux - Software 1 04-07-2006 01:29 PM
Sendmail Config dunmarie Linux - Software 1 06-27-2005 02:00 AM
Sendmail Config d_sarwate Linux - Software 3 11-01-2004 12:41 PM
sendmail config help shellcode Linux - Networking 3 01-10-2004 07:47 AM
Sendmail Config sancho5 Linux - Networking 7 09-15-2001 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09: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