LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-26-2009, 08:12 PM   #1
sandeeprhce5
LQ Newbie
 
Registered: Jan 2009
Location: Bhiwani Haryana India
Distribution: RedHat and Linux
Posts: 20

Rep: Reputation: 1
Thumbs up Sendmail server configure for your lan


first of u need to install all sendmail packages or rpm's.

Steps for configure sendmail server for local lan.

#vim /etc/mail/sendmail.mc


line no.116
make it look like this

dnl # DAEMON_OPTIONS ('Port=smtp.addr=127.0.0.1,name=MTA)dnl
i am just add "dnl #" at starting of this line.

now save and exit

#vim /etc/dovecot.conf
line no 17 remove '#' for open this line protocols = imap imaps pop3 pop3s

save and exit

#m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

now save and exit

#vim /etc/hosts
remove all lines form it and then add these lines

youripaddress fqdn hostname
like 192.168.0.1 pc1.san.com pc1

save and exit

#service sendmail restart
#service dovecot restart


send test mail to
#mail root@fqdn of your server

Thanks
 
Old 03-27-2009, 12:55 PM   #2
Ashish Sood
Member
 
Registered: Feb 2009
Location: Gwalior
Distribution: Fedora 15 Now
Posts: 152

Rep: Reputation: 15
sandeep plz solve my problem
http://www.linuxquestions.org/questi...uation-714525/
 
  


Reply

Tags
configure, lan, sendmail, server


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure a sendmail server to act as a relay server deep_jyotsingh Linux - Server 1 07-30-2008 11:12 PM
how to configure a LAN server based on ubuntu? mushfiq Linux - Newbie 1 05-27-2008 02:10 PM
How to configure LAN (1 server and 10 clients)with Fedora 4 anthoniraj Linux - Networking 1 09-01-2006 11:38 PM
Can one configure sendmail to use an SMTP server? laggerific Linux - Software 1 02-16-2006 10:49 AM
Help me configure Sendmail server! tthai01 Linux - Networking 3 02-13-2003 06:25 AM


All times are GMT -5. The time now is 07:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration