|
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
|
- sendmail configuration on redhat Gentian Hila
- Re: sendmail configuration on redhat Charles Curley
- Re: sendmail configuration on redhat Jason Dale
- Re: sendmail configuration on redhat Jason Dale
- Re: sendmail configuration on redhat James P. Roberts
- Re: sendmail configuration on redhat Jason Lim
- Re: sendmail configuration on redhat Jason Dale
- RE: sendmail configuration on redhat David Freeman
- Re: sendmail configuration on redhat Jason Dale
- Startup options E&Erdem
- Re: Re:sendmail configuration on redhat James P. Roberts
