Steps to Configure Sendmail server.
Hi,
Anyone guide me the complete steps for configuring Sendmail in Red Hat Linux 4 Enterprise. I have already configured my DNS server and it is functional. Thanks in advance for helping me. mypass |
Googling will help you. Remember that main sendmail configuration file is /etc/mail/sendmail.cf , but don't directly edit this edit , instead edit /etc/mail/sendmail.mc(macro directive file) and after that issue make command in /etc/mail folder that will make changes in /etc/mail/sendmail.cf. i hope following link may help you
http://www.linuxhomenetworking.com/w...x_Mail_Servers Thanks |
|
Quote:
I offer some frequently used commands in slackware. The following are the main configurationfiles and the commands will make the database(s) after editing the files. The file newaliases can be run just as is after editing the file aliases. access - example 192.168.0.1 RELAY 192.168.10.1 RELAY 10.0.0.1 RELAY support.name.com RELAY home.net RELAY Connect:fmadeuphost.ru ERROR:5.0.0:550 Dont accept Spam Connect:doesnotexist.tw REJECT Connect:someplace.net ERROR:5.0.0:550 Dont accept Spam domaintable - mine is empty. mailertable - mine is emtpy. virtualusertable - example root@support.name.com c.hwaye c.hwaye@support.name.com c.hwaye ampk@support.name.com ampk melny@support.name.com melny sbrna@support.name.com sbrna @support.name.com %1@support.name.com Aliases - Example #New Entries root: c.hwaye Now to compile all databases even if they are emtpy. makemap hash /etc/mail/access < /etc/mail/access makemap hash /etc/mail/domaintable < /etc/mail/domaintable makemap hash /etc/mail/mailertable < /etc/mail/mailertable makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable newaliases Now to edit the file that controls the sendmail.cf file. pico /usr/share/sendmail/cf/cf/sendmail-slackware.mc (make any changes needed here such as smart_host if needed.) cp usr/share/sendmail/cf/cf/sendmail-slackware.mc /usr/share/sendmail/cf/cf/config.mc sh build /usr/share/sendmail/cf/cf/config.mc cp /usr/share/sendmail/cf/cf/config.cf /etc/mail/sendmail.cf /etc/rc.d/rc.sendmail start Also editing /etc/rc.d/rc.sendmail to be executable by all should start it on boot. Thats the bare bones of sendmail slackware configuration, and may possibly get you up and running with some little tweaking for rh. Please post back if you have any question about what I wrote for you. I hope this helps. |
thanks for your detail reply but for red hat i need the steps to configure sendmail.I am configuring it 1st time .
|
All times are GMT -5. The time now is 08:21 PM. |