Re: sendmail: My unqualified host name

2010-06-29 Thread Michael

On 28/06/2010 23:21, Polytropon wrote:

On Mon, 28 Jun 2010 23:12:38 +0100, Michael  wrote:

Yes but I don't quite understand why. It's my laptop system and I don't
really need or want sendmail there.


You may want to reconsider this statement. :-)



I did just that :) So far I thought sendmail is a big hairy thing that 
is completely useless on desktop systems. Now I learned that it is kind 
of crucial to proper system workings so in fact I do need it. Plus 
messages that it tried to deliver are important so I definitely do want it.





It was all fine and quiet for months and started just recently.


So THAT is really strange.



So mystery is now solved since I got sendmail working locally. It turned 
out that ports update went wrong and messed up one program. That program 
was being run every minute via root's crontab...


Thank you so much.

M.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sendmail: My unqualified host name

2010-06-28 Thread Jon Radel

On 6/28/10 6:21 PM, Polytropon wrote:

But how can I find out exactly what is trying to use sendmail (which
fails and complaints)?
 

I think it's sendmail itself that complains on startup (running as
local-only delivery system).

   

That's certainly what it looks like.



The only
change in the system I can think of is that I replaced pf with ipfw.
 

I doubt that has anything to do with it.


   
Unless the change blocked access to DNS and reverse DNS was being used 
to look up the system name.



--

--Jon Radel
j...@radel.com




Re: sendmail: My unqualified host name

2010-06-28 Thread Polytropon
On Mon, 28 Jun 2010 23:12:38 +0100, Michael  wrote:
> Yes but I don't quite understand why. It's my laptop system and I don't 
> really need or want sendmail there.

You may want to reconsider this statement. :-)



> I guess it must be some script 
> trying to send email instead of logging to a file.

The sendmail facility is used by the system to deliver status messages
(e. g. by the daily/monthly/weekly periodic scripts, sometimes by the
printing subsystem), so it depends on an at least locally working
installation. There may be other services that rely on sendmail to
provide output directed to a system's mail box (usually root).

Check /etc/defaults/rc.conf for the sendmail_* family of options.



> But how can I find out exactly what is trying to use sendmail (which 
> fails and complaints)?

I think it's sendmail itself that complains on startup (running as
local-only delivery system).



> My configuration (8.0-RELEASE-p3):
> /etc/rc.conf
> hostname="prime"
> sendmail_enable="NONE"
> /etc/hosts
> ::1 localhost prime
> 127.0.0.1   localhost prime

Try to additionally define a domainname ".local" or ".lan", e. g.

127.0.0.1   localhost
127.0.0.1   prime.local prime

See "man 5 hosts" for details, I think it explains it very well (it's
right in the 1st paragraph).

Also give the full name in /etc/rc.conf: hostname="prime.local".

Then make sure to have visited /etc/mail doing "make all install". This
will make sure sendmail picks up all neccessary configuration items.



> It was all fine and quiet for months and started just recently.

So THAT is really strange.



> The only 
> change in the system I can think of is that I replaced pf with ipfw. 

I doubt that has anything to do with it.



> Still don't understand what is so urgent that sendmail keeps trying 
> every minute.

It fails to start properly because of a missing configuration item.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sendmail: My unqualified host name

2010-06-28 Thread Michael

On 28/06/2010 22:43, Polytropon wrote:

On Mon, 28 Jun 2010 21:51:46 +0100, Michael  wrote:


My console is being flooded with this kind of messages:

Jun 28 15:49:02 prime sendmail[57268]: My unqualified host name
(localhost) unknown; sleeping for retry
Jun 28 15:49:06 prime sendmail[21451]: unable to qualify my own domain
name (localhost) -- using short name


It seems that it's your *sendmail* that is complaining. Check your
settings regarding hostname (hostname= in /etc/rc.conf, corresponding
entry in /etc/hosts), also check sendmail configuration in /etc/mail.



Yes but I don't quite understand why. It's my laptop system and I don't 
really need or want sendmail there. I guess it must be some script 
trying to send email instead of logging to a file.
But how can I find out exactly what is trying to use sendmail (which 
fails and complaints)?


My configuration (8.0-RELEASE-p3):
/etc/rc.conf
   hostname="prime"
   sendmail_enable="NONE"
/etc/hosts
   ::1 localhost prime
   127.0.0.1   localhost prime
/etc/nsswitch.conf
   hosts: files dns
/etc/periodic.conf
   daily_output="/var/log/dper.log"
   daily_clean_hoststat_enable="NO"
   daily_backup_aliases_enable="NO"
   daily_status_mailq_enable="NO"
   daily_status_include_submit_mailq="NO"
   daily_status_mail_rejects_enable="NO"
   daily_queuerun_enable="NO"
   daily_submit_queuerun="NO"
   daily_status_security_output="/var/log/dsec.log"
   weekly_output="/var/log/wper.log"
   monthly_output="/var/log/mper.log"

It was all fine and quiet for months and started just recently. The only 
change in the system I can think of is that I replaced pf with ipfw. 
Still don't understand what is so urgent that sendmail keeps trying 
every minute.


M.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sendmail: My unqualified host name

2010-06-28 Thread Polytropon
On Mon, 28 Jun 2010 21:51:46 +0100, Michael  wrote:
> Hello.
> 
> My console is being flooded with this kind of messages:
> 
> Jun 28 15:49:02 prime sendmail[57268]: My unqualified host name 
> (localhost) unknown; sleeping for retry
> Jun 28 15:49:06 prime sendmail[21451]: unable to qualify my own domain 
> name (localhost) -- using short name
> Jun 28 15:50:02 prime sendmail[85031]: My unqualified host name 
> (localhost) unknown; sleeping for retry
> Jun 28 15:50:06 prime sendmail[57268]: unable to qualify my own domain 
> name (localhost) -- using short name
> 
> Is there any way to find out who/what is trying to use sendmail?

It seems that it's your *sendmail* that is complaining. Check your
settings regarding hostname (hostname= in /etc/rc.conf, corresponding
entry in /etc/hosts), also check sendmail configuration in /etc/mail.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


sendmail: My unqualified host name

2010-06-28 Thread Michael

Hello.

My console is being flooded with this kind of messages:

Jun 28 15:49:02 prime sendmail[57268]: My unqualified host name 
(localhost) unknown; sleeping for retry
Jun 28 15:49:06 prime sendmail[21451]: unable to qualify my own domain 
name (localhost) -- using short name
Jun 28 15:50:02 prime sendmail[85031]: My unqualified host name 
(localhost) unknown; sleeping for retry
Jun 28 15:50:06 prime sendmail[57268]: unable to qualify my own domain 
name (localhost) -- using short name


Is there any way to find out who/what is trying to use sendmail?

M.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: My unqualified host name

2008-09-26 Thread perryh
> If you look for "My unqualified host name" "unknown; sleeping for
> retry" you will get a lot of possible answers; some suggesting to
> add your unqualified host name in /etc/hosts.

That line is already in /etc/hosts, both with and without a trailing
period.  I still get the ~3 messages about a minute apart during boot.

The first 4 lines of /etc/hosts look like:

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


My unqualified host name

2008-09-25 Thread Sean Cavanaugh

> Dunno about the OP, but my FreeBSD machines do not have nor need
> valid FQDNs because they sit behind a NAT firewall (and therefore
> do not have externally-identifiable IP addresses). I want hostname
> to simply return the unqualified host name (say, foo), not foo.com
> nor foo.uucp nor even foo.bogus. I don't need sendmail to handle
> anything but purely local traffic, such as the periodic reports to
> root, and it's just fine for it to identify itself simply as foo.
> We were able to do things like this back in the days of SunOS 4, so
> why should it be difficult to accomplish today? Indeed, why should
> it not be the default mode of operation when hostname returns an
> unqualified name?
 
 
Common practice to handle naming was to use "computer.network.TLD" such as 
"workstation1.freebsd.org" for the internet facing side of your network. 
Internal, if you were not running a split-horizon DNS setup would be to use 
"network.local" or simply "local" for the effect of 
"workstation1.freebsd.local" or "workstation1.local". therefore if for some 
strange reason it ever did get the FQDN outside the local network, nothing 
would be able to resolve it to make it an issue since there is no TLD of .Local 
on the internet but could easily be added to an internal DNS server for 
personal use.
 
 -Sean 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: My unqualified host name

2008-09-24 Thread Olivier Nicole
> > why not just diagnose and fix the root problem?
> 
> because I have no clue how to do it, without adopting settings that
> I don't want!

Google is your friend my friend (please allow me to call you my
friend).

If you look for "My unqualified host name" "unknown; sleeping for
retry" you will get a lot of possible answers; some suggesting to add
your unqualified host name in /etc/hosts.

Best regards,

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


Re: My unqualified host name

2008-09-24 Thread perryh
> >  > > "nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
> >  > > sleeping for retry"
> >  >
> >  > ... sendmail expects your machine to have working DNS and for
> >  > the machine to have a valid FQDN.  Either set that up, or add  
> >  > sendmail_enable="NONE" to /etc/rc.conf to disable sendmail ...
> >  
> >  There is another approach, which is to ignore the message.  After
> >  something like 3 repetitions, at something like a minute apart,
> >  it will give up on qualifying its name.  Everything seems to work
> >  just fine thereafter until the next boot, when the entire
> >  sequence repeats.
>
>Respectfully, my gut reaction is this is, if not /bad/ practice,
> at least not /good/ practice.  The requirements for geting sendmail
> to behave (at least in this regard) are not particularly onerous;

If sendmail *will not work properly* without a valid FQDN, that alone
is onerous.  See below.

> why not just diagnose and fix the root problem?

because I have no clue how to do it, without adopting settings that
I don't want!

Dunno about the OP, but my FreeBSD machines do not have nor need
valid FQDNs because they sit behind a NAT firewall (and therefore
do not have externally-identifiable IP addresses).  I want hostname
to simply return the unqualified host name (say, foo), not foo.com
nor foo.uucp nor even foo.bogus.  I don't need sendmail to handle
anything but purely local traffic, such as the periodic reports to
root, and it's just fine for it to identify itself simply as foo.
We were able to do things like this back in the days of SunOS 4, so
why should it be difficult to accomplish today?  Indeed, why should
it not be the default mode of operation when hostname returns an
unqualified name?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: My unqualified host name

2008-09-24 Thread Dánielisz László
As I promised I came back with the answer, he simple thing to stop sendmail on 
boot works and now I have no longer that annoying message :) 



- Original Message 
From: Chuck Swiger <[EMAIL PROTECTED]>
To: Dánielisz László <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, September 23, 2008 9:02:43 PM
Subject: Re: My unqualified host name

On Sep 23, 2008, at 10:13 AM, Dánielisz László wrote:
> I got the following error message on boot:
>
> "nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
> sleeping for retry"
>
> Do you have any idea?

Yes, sendmail expects your machine to have working DNS and for the  
machine to have a valid FQDN.  Either set that up, or add  
sendmail_enable="NONE" to /etc/rc.conf to disable sendmail if you  
won't be using it...

Regards,
-- 
-Chuck

___
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: My unqualified host name

2008-09-24 Thread Robert Huff

[EMAIL PROTECTED] writes:

>  > > "nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
>  > > sleeping for retry"
>  >
>  > ... sendmail expects your machine to have working DNS and for
>  > the machine to have a valid FQDN.  Either set that up, or add  
>  > sendmail_enable="NONE" to /etc/rc.conf to disable sendmail ...
>  
>  There is another approach, which is to ignore the message.  After
>  something like 3 repetitions, at something like a minute apart,
>  it will give up on qualifying its name.  Everything seems to work
>  just fine thereafter until the next boot, when the entire
>  sequence repeats.

Respectfully, my gut reaction is this is, if not /bad/ practice,
at least not /good/ practice.  The requirements for geting sendmail
to behave (at least in this regard) are not particularly onerous;
why not just diagnose and fix the root problem?


Robert Huff


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


RE: My unqualified host name

2008-09-24 Thread FBSD1
Simple solution is to add
hostname="nyana.com"
to rc.conf  then everything is happy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dánielisz László
Sent: Wednesday, September 24, 2008 2:40 PM
To: freebsd-questions@freebsd.org
Subject: Re: My unqualified host name

True, the system boots without any problem but its annoying to wait for that
failure.



- Original Message 
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, September 24, 2008 7:05:16 AM
Subject: Re: My unqualified host name

> > "nyana sm-mta[803]: My unqualified host name (nyana) unknown;
> > sleeping for retry"
>
> ... sendmail expects your machine to have working DNS and for
> the machine to have a valid FQDN.  Either set that up, or add
> sendmail_enable="NONE" to /etc/rc.conf to disable sendmail ...

There is another approach, which is to ignore the message.  After
something like 3 repetitions, at something like a minute apart,
it will give up on qualifying its name.  Everything seems to work
just fine thereafter until the next boot, when the entire sequence
repeats.

This leads to the question of how to get sendmail -- or whatever
-- into the state where it will eventually land after the 3-miunte
delay, without the delay and the messages.  It seems as if this
ought not be all that difficult.
___
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: My unqualified host name

2008-09-23 Thread Dánielisz László
True, the system boots without any problem but its annoying to wait for that 
failure. 



- Original Message 
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Wednesday, September 24, 2008 7:05:16 AM
Subject: Re: My unqualified host name

> > "nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
> > sleeping for retry"
>
> ... sendmail expects your machine to have working DNS and for
> the machine to have a valid FQDN.  Either set that up, or add  
> sendmail_enable="NONE" to /etc/rc.conf to disable sendmail ...

There is another approach, which is to ignore the message.  After
something like 3 repetitions, at something like a minute apart,
it will give up on qualifying its name.  Everything seems to work
just fine thereafter until the next boot, when the entire sequence
repeats.

This leads to the question of how to get sendmail -- or whatever
-- into the state where it will eventually land after the 3-miunte
delay, without the delay and the messages.  It seems as if this
ought not be all that difficult.
___
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: My unqualified host name

2008-09-23 Thread Dánielisz László
This one is set in rc.conf but I'll check once again when I arrive home.



- Original Message 
From: Chuck Swiger <[EMAIL PROTECTED]>
To: Dánielisz László <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, September 23, 2008 9:02:43 PM
Subject: Re: My unqualified host name

On Sep 23, 2008, at 10:13 AM, Dánielisz László wrote:
> I got the following error message on boot:
>
> "nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
> sleeping for retry"
>
> Do you have any idea?

Yes, sendmail expects your machine to have working DNS and for the  
machine to have a valid FQDN.  Either set that up, or add  
sendmail_enable="NONE" to /etc/rc.conf to disable sendmail if you  
won't be using it...

Regards,
-- 
-Chuck



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


Re: My unqualified host name

2008-09-23 Thread Dánielisz László
I can't check it right now but I'll asap.



- Original Message 
From: Jonathan Chen <[EMAIL PROTECTED]>
To: Dánielisz László <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, September 23, 2008 9:02:08 PM
Subject: Re: My unqualified host name

On Tue, Sep 23, 2008 at 10:13:52AM -0700, Dánielisz László wrote:
> Hello!
> 
> I got the following error message on boot:
> 
> "nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for 
> retry"
> 
> Do you have any idea?

Is the name "nyana" the DNS or in /etc/hosts?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Opportunities are seldom labeled
___
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: My unqualified host name

2008-09-23 Thread perryh
> > "nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
> > sleeping for retry"
>
> ... sendmail expects your machine to have working DNS and for
> the machine to have a valid FQDN.  Either set that up, or add  
> sendmail_enable="NONE" to /etc/rc.conf to disable sendmail ...

There is another approach, which is to ignore the message.  After
something like 3 repetitions, at something like a minute apart,
it will give up on qualifying its name.  Everything seems to work
just fine thereafter until the next boot, when the entire sequence
repeats.

This leads to the question of how to get sendmail -- or whatever
-- into the state where it will eventually land after the 3-miunte
delay, without the delay and the messages.  It seems as if this
ought not be all that difficult.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: My unqualified host name

2008-09-23 Thread Chuck Swiger

On Sep 23, 2008, at 10:13 AM, Dánielisz László wrote:

I got the following error message on boot:

"nyana sm-mta[803]: My unqualified host name (nyana) unknown;  
sleeping for retry"


Do you have any idea?


Yes, sendmail expects your machine to have working DNS and for the  
machine to have a valid FQDN.  Either set that up, or add  
sendmail_enable="NONE" to /etc/rc.conf to disable sendmail if you  
won't be using it...


Regards,
--
-Chuck

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


Re: My unqualified host name

2008-09-23 Thread Jonathan Chen
On Tue, Sep 23, 2008 at 10:13:52AM -0700, Dánielisz László wrote:
> Hello!
> 
> I got the following error message on boot:
> 
> "nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for 
> retry"
> 
> Do you have any idea?

Is the name "nyana" the DNS or in /etc/hosts?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Opportunities are seldom labeled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


My unqualified host name

2008-09-23 Thread Dánielisz László
Hello!

I got the following error message on boot:

"nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for 
retry"

Do you have any idea?

thx.
Laci



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


RE: unqualified host name

2007-02-12 Thread Grzegorz Pluta
Diable sendmail.
Add  sendmail_enable="none" line In /etc/rc.conf

Cheers,

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of RawDevelopment
> Sent: Monday, February 12, 2007 11:06 PM
> To: freebsd-questions@freebsd.org
> Subject: unqualified host name
> 
> Hi there :-)
> I just installed FreeBSD 6.2 and during the setup process I setup my
> network card. Now I did this twice, first time when setting up my card I
> gave the hostname 'mylan' thinking I could put almost anything in there -
> now when the machine booted just after starting sshd I get
> 
> My unqualified host name (mylan) unknown; sleeping for retry.
> 
> and this would make the system wait for about 2-3 minutes as it tried to
> more times.
> 
> So I reinstalled and this time set the hostname to localhost same
> thing happens..
> 
> not sure what is should be to get rid of this error.
> 
> Thanks
> Nick
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [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: unqualified host name

2007-02-12 Thread Jay Chandler

Bill Moran wrote:

If you don't have access to DNS to set your hostname properly, you can
use a garbage name and add it to /etc/hosts and the delays will go away.
  

You can also ctrl-C the delay away-- it'll kill Sendmail's hangign.

--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: Dyslexics retyping hosts file on servers 


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


Re: unqualified host name

2007-02-12 Thread Bill Moran
In response to "RawDevelopment" <[EMAIL PROTECTED]>:

> Hi there :-)
> I just installed FreeBSD 6.2 and during the setup process I setup my
> network card. Now I did this twice, first time when setting up my card
> I gave the hostname 'mylan' thinking I could put almost anything in
> there - now when the machine booted just after starting sshd I get

Format recovered.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/index.html

> 
> My unqualified host name (mylan) unknown; sleeping for retry.
> 
> and this would make the system wait for about 2-3 minutes as it tried
> to more times.
> 
> So I reinstalled and this time set the hostname to localhost same
> thing happens..
> 
> not sure what is should be to get rid of this error.

It should be an actual fully-qualified hostname that is in DNS:
http://foldoc.org/index.cgi?query=fqdn&action=Search

If you don't have access to DNS to set your hostname properly, you can
use a garbage name and add it to /etc/hosts and the delays will go away.

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


unqualified host name

2007-02-12 Thread RawDevelopment
Hi there :-)
I just installed FreeBSD 6.2 and during the setup process I setup my network 
card. Now I did this twice, first time when setting up my card I gave the 
hostname 'mylan' thinking I could put almost anything in there - now when the 
machine booted just after starting sshd I get

My unqualified host name (mylan) unknown; sleeping for retry.

and this would make the system wait for about 2-3 minutes as it tried to more 
times.

So I reinstalled and this time set the hostname to localhost same thing 
happens..

not sure what is should be to get rid of this error.

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


RE: sm-mta[386]: My unqualified host name ...

2005-11-29 Thread Kiffin Gish
That did the trick, thanks!

-- 
Kiffin Rex Gish
Gouda, The Netherlands

 



> -Original Message-
> From: Stijn Hoop [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 29, 2005 14:44
> To: Kiffin Gish
> Cc: freebsd-questions@freebsd.org
> Subject: Re: sm-mta[386]: My unqualified host name ...
> 
> 
> On Tue, Nov 29, 2005 at 02:25:17PM +0100, Kiffin Gish wrote:
> > I recently installed a fileserver which is restricted to 
> the internal 
> > network and which I refer to simply as 'fileserver' (pretty 
> creative, 
> > right).
> > 
> > However, sendmail doesn't seem to work correctly. When the machine 
> > boots and/or I try and send an email using sendmail, I get 
> a bunch of 
> > cryptic error messages. Here's a view of the syslog:
> > 
> > [EMAIL PROTECTED] tail /var/log/messages
> > Nov 29 13:51:56 fileserver sm-mta[386]: My unqualified host name
> > (fileserver) unknown; sleeping for retry
> > Nov 29 13:52:56 fileserver sm-mta[386]: unable to qualify my own 
> > domain name
> > (fileserver) -- using short name
> > Nov 29 13:52:57 fileserver sm-msp-queue[390]: My 
> unqualified host name
> > (fileserver) unknown; sleeping for retry
> > Nov 29 13:53:57 fileserver sm-msp-queue[390]: unable to 
> qualify my own
> > domain name (fileserver) -- using short name
> > ...
> > Nov 29 13:56:43 fileserver sendmail[565]: My unqualified host name
> > (fileserver) unknown; sleeping for retry
> > Nov 29 13:57:43 fileserver sendmail[565]: unable to qualify 
> my own domain
> > name (fileserver) -- using short name
> > ...
> > 
> > Can anyone please help me?
> 
> It's missing it's domain name apparently (i.e. the things 
> after the first . in fileserver.my.domain.nl). Either make 
> sure it's in the DNS or list it in /etc/hosts.
> 
> --Stijn
> 
> -- 
> Fairy tales do not tell children that dragons exist. Children 
> already know dragons exist. Fairy tales tell children the 
> dragons can be killed.
>   -- G.K. Chesterton
> 

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


Re: sm-mta[386]: My unqualified host name ...

2005-11-29 Thread Stijn Hoop
On Tue, Nov 29, 2005 at 02:25:17PM +0100, Kiffin Gish wrote:
> I recently installed a fileserver which is restricted to the internal
> network and which I refer to simply as 'fileserver' (pretty creative,
> right).
> 
> However, sendmail doesn't seem to work correctly. When the machine boots
> and/or I try and send an email using sendmail, I get a bunch of cryptic
> error messages. Here's a view of the syslog:
> 
> [EMAIL PROTECTED] tail /var/log/messages
> Nov 29 13:51:56 fileserver sm-mta[386]: My unqualified host name
> (fileserver) unknown; sleeping for retry
> Nov 29 13:52:56 fileserver sm-mta[386]: unable to qualify my own domain name
> (fileserver) -- using short name
> Nov 29 13:52:57 fileserver sm-msp-queue[390]: My unqualified host name
> (fileserver) unknown; sleeping for retry
> Nov 29 13:53:57 fileserver sm-msp-queue[390]: unable to qualify my own
> domain name (fileserver) -- using short name
> ...
> Nov 29 13:56:43 fileserver sendmail[565]: My unqualified host name
> (fileserver) unknown; sleeping for retry
> Nov 29 13:57:43 fileserver sendmail[565]: unable to qualify my own domain
> name (fileserver) -- using short name
> ...
> 
> Can anyone please help me?

It's missing it's domain name apparently (i.e. the things after
the first . in fileserver.my.domain.nl). Either make sure it's in the
DNS or list it in /etc/hosts.

--Stijn

-- 
Fairy tales do not tell children that dragons exist. Children already
know dragons exist. Fairy tales tell children the dragons can be
killed.
-- G.K. Chesterton


pgpCQdkeIeOSU.pgp
Description: PGP signature


Re: sm-mta[386]: My unqualified host name ...

2005-11-29 Thread werther . pirani
 Kiffin Gish <[EMAIL PROTECTED]> writes:

> However, sendmail doesn't seem to work correctly. When the machine boots
> and/or I try and send an email using sendmail, I get a bunch of cryptic
> error messages. Here's a view of the syslog:
>
> [snip]

What I would do is add something like the following to /etc/hosts

actual.ip.address.here filleserver.some.domain fileserver



Hope this helps,

Werther
-- 
Just because you're paranoid it doesn't mean the world is not out to get you!


Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
http://www.arcor.de/rd/emf-gaming-1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


sm-mta[386]: My unqualified host name ...

2005-11-29 Thread Kiffin Gish
I recently installed a fileserver which is restricted to the internal
network and which I refer to simply as 'fileserver' (pretty creative,
right).

However, sendmail doesn't seem to work correctly. When the machine boots
and/or I try and send an email using sendmail, I get a bunch of cryptic
error messages. Here's a view of the syslog:

[EMAIL PROTECTED] tail /var/log/messages
Nov 29 13:51:56 fileserver sm-mta[386]: My unqualified host name
(fileserver) unknown; sleeping for retry
Nov 29 13:52:56 fileserver sm-mta[386]: unable to qualify my own domain name
(fileserver) -- using short name
Nov 29 13:52:57 fileserver sm-msp-queue[390]: My unqualified host name
(fileserver) unknown; sleeping for retry
Nov 29 13:53:57 fileserver sm-msp-queue[390]: unable to qualify my own
domain name (fileserver) -- using short name
...
Nov 29 13:56:43 fileserver sendmail[565]: My unqualified host name
(fileserver) unknown; sleeping for retry
Nov 29 13:57:43 fileserver sendmail[565]: unable to qualify my own domain
name (fileserver) -- using short name
...

Can anyone please help me?

-- 
Kiffin Rex Gish
Gouda, The Netherlands

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


Re: My unqualified host name (localhost) unknown; sleeping for retry

2005-02-03 Thread Gert Cuykens
On Thu, 03 Feb 2005 06:34:37 -0800 (PST), Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> Gert Cuykens <[EMAIL PROTECTED]> writes:
> 
> > how do you fix this ?
> >
> > Feb  2 12:09:22 I sm-mta[699]: My unqualified host name (localhost)
> > unknown; sle eping for retry
> 
> Make sure the host's names (including localhost) are defined in
> /etc/hosts, and that /etc/hosts is being used in name resolution
> (on 5.3 that would be configuration via nsswitch.conf(5)).
> 

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


Re: My unqualified host name (localhost) unknown; sleeping for retry

2005-02-03 Thread Lowell Gilbert
Gert Cuykens <[EMAIL PROTECTED]> writes:

> how do you fix this ?
> 
> Feb  2 12:09:22 I sm-mta[699]: My unqualified host name (localhost)
> unknown; sle eping for retry

Make sure the host's names (including localhost) are defined in
/etc/hosts, and that /etc/hosts is being used in name resolution 
(on 5.3 that would be configuration via nsswitch.conf(5)).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


My unqualified host name (localhost) unknown; sleeping for retry

2005-02-02 Thread Gert Cuykens
how do you fix this ?

Feb  2 12:09:22 I sm-mta[699]: My unqualified host name (localhost)
unknown; sle eping for retry
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"