Hi There !
 
Sendmail can handle POP3 and SMTP jobs quite nicely.
 
As far as I know , Sendmail by default will only listen for requests on your local
Machine. You will need to edit your sendmail.mc file and specifically
enable sendmail to receive network requests as well. Try this : ( As root )
 
 (These are the steps you would use with sendmail-8.12.5-7. If you use an
   earlier version of sendmail , there may be differences )
 
1) BACKUP your sendmail.mc file :
 
    #  cp  -i  /etc/mail/sendmail.mc    /etc/mail/sendmail.mc.`date '+%Y%m%d'`
 
    ( This will create a backup in the form of sendmail.mc.yyyymmdd to give the
       file a date as part of it's name )
 
2) Edit your sendmail.mc file and look for the line which reads :
 
    DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')  
 
3) Place a 'dnl' before this line so that it looks like this :
 
     dnl  DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
 
4) BACKUP your /etc/sendmail.cf file like this :
 
#  cp  -i  /etc/mail/sendmail.cf    /etc/mail/sendmail.cf.`date '+%Y%m%d'`
 
    The reason you are backing up the sendmail.cf file is that if anything
     goes wrong with the m4 command in step 5 , you will WIPE OUT your
     main configuration file !
 
5)  Run this command to regenerate the original sendmail.cf file :
 
#   m4  /etc/mail/sendmail.mc  >  /etc/mail/sendmail.cf
 
6)  While not always necessary , I personally recommend that you restart
     the sendmail service :
 
#   service sendmail restart
 
Bear in mind that you will be needing to use the /etc/mail/access and /etc/mail/access.db files in the near future to control who can relay through your mail server to send mail to the outside world. Otherwise , your users will
get alot of '550 prohibited by administrator' bounces.
 
If you need any further assistance , let me know !
 
Regards , Jason Dale
   
----- Original Message -----
Sent: Thursday, January 16, 2003 2:59 PM
Subject: sendmail configuration on redhat

As you can imagine i have installed fully RH 7.1 and wanted to configure sendmail to act as full email server, which means SMTP and Pop3 server altogether in the same machine (if that is possible) Sendmail is already installed there, but it seems to work only for the local machine. I do not want to compile again the whole sendmail.cf file since it is a huge work . Is there any place where i can find some information just how to modify sendmail.cf file in order to accomplish what i need (or at least to find a sendmail.mc file).

I have read the Howto's on redhat site about sendmail but it doesn't include something of how to implement everything in one machine.

is it ok that i have installed all the packages of Redhat to make possible for Sendmail to run or do i have to install redhat only as a server ?

Any help would be appreciated. 

Genti



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to