sendmail & dns lookups

Dan Busarow dan at dpcsys.com
Tue Mar 21 17:29:49 UTC 2006


On Tuesday, March 21, 2006, at 09:56  AM, fbsd_user wrote:

> These are the steps is followed
>
> 1) cd /etc/mail
> 2) type make
> 3) edit /etc/mail/<hostname>.mc
> 4) locate line containing features
> 5) Inserted this line FEATURE(`nodns')
> 6) save file and exit
> 7) in /etc/mail type, make, make install, and make restart

That should work.

I always add restart to the all: target and I also symlink hostname.cf 
to sendmail.cf.  That way a simple make will always take care of 
everything.

Dan

>
>
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Dan Busarow
> Sent: Tuesday, March 21, 2006 11:23 AM
> To: fbsd_user at a1poweruser.com
> Cc: questions at freebsd.org
> Subject: Re: sendmail & dns lookups
>
>
>
> On Tuesday, March 21, 2006, at 08:50  AM, fbsd_user wrote:
>
>> Yes this is what I want, but the instructions to install are
>> for native sendmail and not the FreeBSD way.
>> What is the FreeBSD way of activating the nodsn feature?
>
> cd to /etc/mail
>
> vi your .mc file.  It will be named fqdn.of.the.server.mc
> add the FEATURE line
> run make
>
> Dan
>
>
>
>>
>>
>>
>> -----Original Message-----
>> From: Giorgos Keramidas [mailto:keramida at ceid.upatras.gr]
>> Sent: Monday, March 20, 2006 11:10 PM
>> To: fbsd_user
>> Cc: questions at FreeBSD.org
>> Subject: Re: sendmail & dns lookups
>>
>>
>> On 2006-03-20 23:02, fbsd_user <fbsd_user at a1poweruser.com> wrote:
>>> How do you tell sendmail not to do dns lookups?
>>
>> You may be interested at the description of FEATURE(`nodns') in
>> the file `/usr/share/sendmail/cf/README'.
>>
>> _______________________________________________
>> 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"
>
> _______________________________________________
> 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"



More information about the freebsd-questions mailing list