Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 03-20-2002, 08:22 PM   #1
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
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
LQ Newbie
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Fix sendmail conig.

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

dnl # The following causes sendmail to only listen on the IPv4 loopback address 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=, Name=MTA')dnl
dnl DAEMON_OPTIONS(`Port=smtp,Name=MTA')dnl[/FONT][/INDENT]
Insert 'dnl' in front of

In the access file, place your local network where is

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

Good luck.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - General

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

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