Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 2004 15:35:25 -0500
From:      Ed Budd <ebudd@grokking.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: sendmail logs and other questions
Message-ID:  <20040123153525.15349c85.ebudd@grokking.org>
In-Reply-To: <3AyQbK98D1@dmeyer.dinoex.sub.org>
References:  <nCR%2BS3H8CS@dmeyer.dinoex.sub.org> <MIEPLLIBMLEEABPDBIEGCEOFFFAA.Barbish3@adelphia.net> <3AyQbK98D1@dmeyer.dinoex.sub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 23 Jan 2004 20:39:15 +0100
dirk.meyer@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@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040123153525.15349c85.ebudd>