sendmail_enable="NO" /"YES"/"MAYBE" ?

Jonathan Chen jonc at chen.org.nz
Mon Aug 11 15:47:16 PDT 2003


On Tue, Aug 12, 2003 at 10:42:06AM +1200, Richard Shea wrote:

> Well I discovered I think that if I don't use /etc/mail/access in fact I
> cannot send mail through the FBSD box. (I get "550 5.7.1 ... Relaying
> denied"). So I went an looked at /etc/mail and there is a access.sample
> but not a plain access file so I copied and edited access.sample to
> include a line ...
> 
> 192.168.10.4 OK
> 
> ... and rebooted but still I get the same error.

What you should have done was:

    # cd /etc/mail
    # cp access.sample access
    # vi access                 (edit to your heart's content)
    # make                      (rebuild's the access database)

and sendmail will pick up your changes. You don't need to reboot.
-- 
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
                                         "Nyuck, nyuck, nyuck" - Curly


More information about the freebsd-questions mailing list