[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Setting up SMTP?



> >dnl #
> >dnl # The following causes sendmail to only listen on the IPv4 loopback address
> >dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
> >dnl # address restriction to accept email from the internet or intranet.
> >dnl #
> >DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
> >
> >  
> >
> Change this to:
> 
> DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl  (note the first character that 
> appears to be a quote is a grave accent which is the unshifted tilde key)
> After saving the file, type in:
> make -C /etc/mail
> 
> This will rebuild the sendmail.cf file.
> BTW, this is at the top of the sendmail.mc file and was confirmed by my 
> local *NIX guru.
> 
> >But I'm not sure if I should comment that out. Also I tried to build a
> >new sendmail.cf file and got this error:
> >
> >m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
> >/etc/mail/sendmail.mc:10: m4: Cannot open
> >/usr/share/sendmail-cf/m4/cf.m4: No such file or directory
> >
> >  
> >
> This is correct.  The m4 program cannot rebuild the mail files.
> 
> James McKenzie

Actually all you need to do to run m4 is install the sendmail-cf rpm to
get m4 installed then you can run the m4 command you have attempted
previously. The IP address in the DAEMON_OPTIONS line just allows you to
specify which interface you want to listen on port 25.

ta, gb


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]