sendmail logs and other questions
Ed Budd
ebudd at grokking.org
Fri Jan 23 12:37:00 PST 2004
On Fri, 23 Jan 2004 20:39:15 +0100
dirk.meyer at dinoex.sub.org (Dirk Meyer) wrote:
>
> > Dirk Thanks for the pointer to /usr/share/sendmail/cf/README.
> > It seems like this is generic info not really targeted at the way
> > sendmail is installed under FBSD.
>
> But it handle almot all configuration options.
>
> > So guessing at what it's really trying to saw I have arrived at
> > this to tell sendmail my sites domain name.
> >
> > cd /etc/mail
>
> okay.
>
> > ee freebsd.mc
> > Change DOMAIN(generic) to DOMAIN(fbsdjones.com)
> > Save file
>
> 1. Wrong file "freebsd.mc" might be overridden later.
> 2. Wrong Option. see README
>
> you can do:
>
> start with "make"
> and then edit "gateway.fbsdjoned.com.mc"
>
> add a line in there:
> define(`confDOMAIN_NAME',`$m')dnl
>
> > m4 freebsd.mc
> > To compile the freebsd.mc source into the freebsd.cf file
>
> you compile with:
> make
>
> you install the new configuraion with:
> make install
>
> > Reboot to enable
> > Is this correct?
>
> No ...
>
> make stop
> make start
>
> > To my question, How do I tell sendmail to not do reverse IP lookup?
> >
> > You said to Use: /etc/mail/service.switch
> >
> > There is no file like that on my system and the README gives no
> > pointers as the where to find sample of this file. Need to know
> > syntax of statement that goes into /etc/mail/service.switch and how
> > to enable it.S
>
> you have to create it:
>
> # /etc/mail/service.switch
> #
> # This is the format that sendmail expects (no colon after the
> # service)
> #
> passwd files
> hosts files
> aliases files
> # eof
>
>
> kind regards Dirk
>
> - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
> -
> [dirk.meyer at dinoex.sub.org],[dirk.meyer at guug.de],[dinoex at FreeBSD.org]
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
I think you also have to add this option to your relevant *.mc file like
so:
define(`confSERVICE_SWITCH_FILE', <path-to-file>)
regards,
EB
More information about the freebsd-questions
mailing list