LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-23-2005, 03:58 AM   #1
sachinh
Member
 
Registered: Jul 2004
Location: india
Distribution: RH
Posts: 189

Rep: Reputation: 30
Mail Issue


Hi All ,

Using RedHat Linux 7.3 . We want to configure the machine to send mails . ( Receiving is not required at the moment ) . We want to send the mails to our existing exchange server machine so that it will take care of distribution . I know i want to configure sendmail for this and we will be using PINE as a client for sending mails . Please help me with the configuration . Thanking you .
 
Old 02-23-2005, 08:28 AM   #2
john8675309
Member
 
Registered: Oct 2003
Location: Spencer, Iowa
Distribution: Slackware (of course)
Posts: 67

Rep: Reputation: 16
This is a fairly easy thing to do you just need to forward and mail that is sent to your box to another sender right?

make a backup of your current /etc/mail
tar -cvf ~/mailbackup.tar /etc/mail
check out the
/usr/share/sendmail/cf/cf (on slackware 10 atleast)
probably generic-linux.mc is what you want
copy generic-linux.mc to /etc/mail/sendmail.mc
add the line
define(`SMART_HOST',`smtp.your.provider')dnl
where smtp.your.provider would be your exchange server
then you need to build the cf file and I believe the command is someone correct me if I am wrong

m4 /etc/mail/sendmail.cf < /etc/mail/sendmail.mc

then restart sendmail on slackware /etc/rc.d/rc.sendmail restart

Hope this. I do this at home but it has been so long since I have gotten into it to change anything this is all from memory. google is you friend

--John
 
  


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
mail logon issue theret79 Linux - Hardware 1 04-27-2005 06:30 PM
mail server issue smtps/pop3s ...HELP!!! rnj Fedora 0 10-08-2004 02:39 AM
mail server authentication issue (w/netware) jillu Linux - Software 0 09-17-2004 06:52 PM
Mail Server Issue WXMistress Linux - Newbie 4 07-09-2003 07:20 PM
Postfix mail delivery issue kokke Linux - Software 6 05-13-2003 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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