Re: sendmail & dns lookups

2006-03-20 Thread Giorgos Keramidas
On 2006-03-20 23:02, fbsd_user <[EMAIL PROTECTED]> 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail & dns lookups

2006-03-21 Thread Chuck Swiger
fbsd_user wrote:
> How do you tell sendmail not to do dns lookups?

FEATURE('nocanonify')

...is probably what you are looking for, otherwise you can enclose a raw IP
address in square brackets (ie, [1.2.3.4]) in a mailertable entry or elsewhere
which will disable the MX lookups for that specific host.

-- 
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: sendmail & dns lookups

2006-03-21 Thread fbsd_user
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?



-Original Message-
From: Giorgos Keramidas [mailto:[EMAIL PROTECTED]
Sent: Monday, March 20, 2006 11:10 PM
To: fbsd_user
Cc: [EMAIL PROTECTED]
Subject: Re: sendmail & dns lookups


On 2006-03-20 23:02, fbsd_user <[EMAIL PROTECTED]> 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail & dns lookups

2006-03-21 Thread Dan Busarow


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:[EMAIL PROTECTED]
Sent: Monday, March 20, 2006 11:10 PM
To: fbsd_user
Cc: [EMAIL PROTECTED]
Subject: Re: sendmail & dns lookups


On 2006-03-20 23:02, fbsd_user <[EMAIL PROTECTED]> 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: sendmail & dns lookups

2006-03-21 Thread fbsd_user
These are the steps is followed

1) cd /etc/mail
2) type make
3) edit /etc/mail/.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

Is this the correct procedure?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dan Busarow
Sent: Tuesday, March 21, 2006 11:23 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
> Sent: Monday, March 20, 2006 11:10 PM
> To: fbsd_user
> Cc: [EMAIL PROTECTED]
> Subject: Re: sendmail & dns lookups
>
>
> On 2006-03-20 23:02, fbsd_user <[EMAIL PROTECTED]> 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail & dns lookups

2006-03-21 Thread Giorgos Keramidas
On 2006-03-21 10:50, fbsd_user <[EMAIL PROTECTED]> wrote:
>Giorgos Keramidas [mailto:[EMAIL PROTECTED] wrote:
>>On 2006-03-20 23:02, fbsd_user <[EMAIL PROTECTED]> 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'.
>
> 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?

The same as for any other Sendmail feature.  You'd have to edit
your local `sendmail.mc' or `hostname.mc' file in `/etc/mail',
add the new feature line, and run (while still in `/etc/mail'):

# make
# make install
# make restart

The only FreeBSD-specific thing about enabling Sendmail features
is that in FreeBSD the default `foo.mc' file that is used is the
one that matches your hostname.  So if your hostname is currently
set to `foo.bar', look for `/etc/mail/foo.bar.mc' to add any new
Sendmail features.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail & dns lookups

2006-03-21 Thread Dan Busarow


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/.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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dan Busarow
Sent: Tuesday, March 21, 2006 11:23 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
Sent: Monday, March 20, 2006 11:10 PM
To: fbsd_user
Cc: [EMAIL PROTECTED]
Subject: Re: sendmail & dns lookups


On 2006-03-20 23:02, fbsd_user <[EMAIL PROTECTED]> 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: sendmail & dns lookups

2006-03-25 Thread fbsd_user
After trying to activate the sendmail nodsn feature in FreeBSD 6.0 I
get a make error.
It seems that this feature is no longer available.
The README file talks about some hosts switch file which does not
exist.

So back to original question which is now modified to say,

How do you tell sendmail in FreeBSD 6.0 not to do dns lookups?




-Original Message-
From: Giorgos Keramidas [mailto:[EMAIL PROTECTED]
Sent: Monday, March 20, 2006 11:10 PM
To: fbsd_user
Cc: [EMAIL PROTECTED]
Subject: Re: sendmail & dns lookups


On 2006-03-20 23:02, fbsd_user <[EMAIL PROTECTED]> 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sendmail & dns lookups

2006-03-28 Thread Giorgos Keramidas
On 2006-03-25 15:41, fbsd_user <[EMAIL PROTECTED]> wrote:
>Giorgos Keramidas wrote:
>>On 2006-03-20 23:02, fbsd_user <[EMAIL PROTECTED]> 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'.
>
> After trying to activate the sendmail nodsn feature in FreeBSD 6.0 I
> get a make error.

Careful there.  The feature is not called "nodsn", but "nodns".

> It seems that this feature is no longer available.

Or you are mistyping its name...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"