RE: Sendmail is sleepy - SOLVED (sort of)

2003-09-04 Thread Charles Howse
> > The fact that the FQDN for this box is simply 'larry' is 
> the cause of
> > the problem...?
> 
> Yes. Sort of. As I understand it, 'larry' isn't enough to get be an 
> entire FQDN. So, really, it's not a FQDN, since 'larry' isn't a top 
> level domain like 'com' or 'org'. But, more simply, yes, 
> that's part of 
> the problem.

After much frustration, I deleted every .cf file in /etc/mail, and
edited every .mc file to include the line:
Define(`confDOMAIN_NAME', `howse.no-ip.org')
Then ran:
# make cf
# make install

That still didn't work.

I remembered that I use a Dynamic DNS service called noip.com to resolve
my dynamic ip to 'howse.no-ip.org' on my Linux box, so I changed my
hostname from 'larry' to 'larry.howse.no-ip.org'.
That fixed it!

Now, when I get mail from FBSD, it comes from [EMAIL PROTECTED]
Hoooray!



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


RE: Sendmail is sleepy

2003-09-04 Thread Adam McLaurin
On Wed, 2003-09-03 at 12:24, Charles Howse wrote:
> Can you confirm my suspicion that this did not occur prior to
> 4.8-RELEASE-p4?

Sorry, I cannot confirm that. It start happening (for me) either in 4.7
or possibly 4.6.2.


> Seems to me that the reason for the p4 patch was something to do with
> sendmail security.
> I'm sure it's in the UPDATING file, I'm too lazy to check right now.

Maybe this is the cause for you. I'm pretty convinced its something in
the way I set things up, but I've never had anyone tell me that my setup
is wrong, so who knows.


-- 
Adam McLaurin <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part


Re: Sendmail is sleepy

2003-09-04 Thread David Landgren
Charles Howse wrote:

Did you enter your hostname and ip address in 
/etc/resolv.conf?  I don't if it 
will fix your problem; but is helps when many applications 
complain about the 
hostname.
I think you mean /etc/hosts, something like

10.0.0.1	larry.domain.tld larry


Andrew Gould


Uh, no I didn't.  Man resolv.conf doesn't say anything about how to do
that, and it's never been necessary.
Putting the above in /etc/hosts is good insurance, if ever your DNS 
servers (the addresses of which are specified in /etc/resolv.conf as 
it happens) go out to lunch.

You have to consider the trade offs between always knowing the IP 
addresses of remote machines when a packet absolutely, positively has 
to get there when your DNS is down, balanced against the likelihood of 
those machine changing IP addresses (upgrades, usually). Which means 
visiting all your servers and updating their hosts files.

David

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


RE: Sendmail is sleepy

2003-09-03 Thread Charles Howse
> Hi Charles,
> I have had this problems on both my FreeBSD boxes as well, and never
> found a good solution.

Ouch!  I hate to hear that.
Can you confirm my suspicion that this did not occur prior to
4.8-RELEASE-p4?
Seems to me that the reason for the p4 patch was something to do with
sendmail security.
I'm sure it's in the UPDATING file, I'm too lazy to check right now.


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


Re: Sendmail is sleepy

2003-09-03 Thread Adam McLaurin
On Wed, 2003-09-03 at 10:32, Charles Howse wrote:
> Hi,
> When I boot, I get what I assume are timeouts when loading sendmail.
> 
> Sendmail_submit
> My unqualified hostname (larry) unknown; sleeping for retry
> Unable to qualify my hostname, using short name
> 
> Sendmail-clientmqueue
> My unqualified hostname (larry) unknown; sleeping for retry
> Unable to qualify my hostname, using short name
> 
> How can I make these go away?

Hi Charles,
I have had this problems on both my FreeBSD boxes as well, and never
found a good solution.

Here is the relevant parts of my rc.conf:
sendmail_enable="NONE"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"
hostname="jake"

Here's my periodic.conf:
daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"  
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"

Here is my hosts file:
::1 localhost localhost.my.domain
127.0.0.1   localhost localhost.my.domain
127.0.0.1   jake
192.168.56.5elwood


Now for some permissions:

-$ ls -al /usr/sbin/mailwrapper 
-r--r--r--  1 root  wheel  5432 Aug 13 10:20 /usr/sbin/mailwrapper

-$ ls -al /usr/sbin/sendmail 
lrwxr-xr-x  1 root  wheel  21 Aug 13 10:20 /usr/sbin/sendmail ->
/usr/sbin/mailwrapper


You will see the solution that I found (chmod a-x
/usr/sbin/mailwrapper). This is a dirty hack, but it did the trick. I
don't use sendmail at all.

Let me know if you find a proper solution for this.

-- 
Adam McLaurin <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part


RE: Sendmail is sleepy

2003-09-03 Thread Charles Howse
> Did you enter your hostname and ip address in 
> /etc/resolv.conf?  I don't if it 
> will fix your problem; but is helps when many applications 
> complain about the 
> hostname.
> 
> Andrew Gould

Uh, no I didn't.  Man resolv.conf doesn't say anything about how to do
that, and it's never been necessary.

I might add that I *think* this behavior began when I upgraded to
4.8-p4.
I don't remember it doing this in -p3.

BTW, I should add that I have not touched any configuration for
sendmail.
I have need only for sendmail to send the daily reports to a user
account on the same machine, and I check that account via popa3d from my
XP box.

> 
> On Wednesday 03 September 2003 09:32 am, Charles Howse wrote:
> > Hi,
> > When I boot, I get what I assume are timeouts when loading sendmail.
> >
> > Sendmail_submit
> > My unqualified hostname (larry) unknown; sleeping for retry
> > Unable to qualify my hostname, using short name
> >
> > Sendmail-clientmqueue
> > My unqualified hostname (larry) unknown; sleeping for retry
> > Unable to qualify my hostname, using short name
> >
> > How can I make these go away?
> > Here is my /etc/rc.conf
> >
> > # -- sysinstall generated deltas -- # Tue Aug 12 07:29:34 2003
> > # Created: Tue Aug 12 07:29:34 2003
> > # Enable network daemons for user convenience.
> > # Please make all changes to this file, not to 
> /etc/defaults/rc.conf.
> > # This file now contains just the overrides from 
> /etc/defaults/rc.conf.
> > defaultrouter="192.168.254.254"
> > hostname="larry"
> > ifconfig_tx0="inet 192.168.254.3  netmask 255.255.255.0"
> > kern_securelevel_enable="NO"
> > linux_enable="NO"
> > moused_enable="NO"
> > moused_type="NO"
> > nfs_reserved_port_only="YES"
> > saver="daemon"
> > sendmail_enable="NO"
> > sshd_enable="NO"
> > usbd_enable="NO"
> > ntpdate_enable="YES"
> > ntpdate_flags="time.nist.gov"
> > xntpd_enable="YES"
> > syslogd_enable="YES"
> > syslogd_flags="-ss"
> > clear_tmp_enable="YES"
> > inetd_flags="-wW -a 192.168.254.3"
> >
> >
> > Thanks,
> > Charles
> >
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 


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


Re: Sendmail is sleepy

2003-09-03 Thread Andrew L. Gould
Did you enter your hostname and ip address in /etc/resolv.conf?  I don't if it 
will fix your problem; but is helps when many applications complain about the 
hostname.

Andrew Gould

On Wednesday 03 September 2003 09:32 am, Charles Howse wrote:
> Hi,
> When I boot, I get what I assume are timeouts when loading sendmail.
>
> Sendmail_submit
> My unqualified hostname (larry) unknown; sleeping for retry
> Unable to qualify my hostname, using short name
>
> Sendmail-clientmqueue
> My unqualified hostname (larry) unknown; sleeping for retry
> Unable to qualify my hostname, using short name
>
> How can I make these go away?
> Here is my /etc/rc.conf
>
> # -- sysinstall generated deltas -- # Tue Aug 12 07:29:34 2003
> # Created: Tue Aug 12 07:29:34 2003
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="192.168.254.254"
> hostname="larry"
> ifconfig_tx0="inet 192.168.254.3  netmask 255.255.255.0"
> kern_securelevel_enable="NO"
> linux_enable="NO"
> moused_enable="NO"
> moused_type="NO"
> nfs_reserved_port_only="YES"
> saver="daemon"
> sendmail_enable="NO"
> sshd_enable="NO"
> usbd_enable="NO"
> ntpdate_enable="YES"
> ntpdate_flags="time.nist.gov"
> xntpd_enable="YES"
> syslogd_enable="YES"
> syslogd_flags="-ss"
> clear_tmp_enable="YES"
> inetd_flags="-wW -a 192.168.254.3"
>
>
> Thanks,
> Charles
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

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


Sendmail is sleepy

2003-09-03 Thread Charles Howse
Hi,
When I boot, I get what I assume are timeouts when loading sendmail.

Sendmail_submit
My unqualified hostname (larry) unknown; sleeping for retry
Unable to qualify my hostname, using short name

Sendmail-clientmqueue
My unqualified hostname (larry) unknown; sleeping for retry
Unable to qualify my hostname, using short name

How can I make these go away?
Here is my /etc/rc.conf

# -- sysinstall generated deltas -- # Tue Aug 12 07:29:34 2003
# Created: Tue Aug 12 07:29:34 2003
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="192.168.254.254"
hostname="larry"
ifconfig_tx0="inet 192.168.254.3  netmask 255.255.255.0"
kern_securelevel_enable="NO"
linux_enable="NO"
moused_enable="NO"
moused_type="NO"
nfs_reserved_port_only="YES"
saver="daemon"
sendmail_enable="NO"
sshd_enable="NO"
usbd_enable="NO"
ntpdate_enable="YES"
ntpdate_flags="time.nist.gov"
xntpd_enable="YES"
syslogd_enable="YES"
syslogd_flags="-ss"
clear_tmp_enable="YES"
inetd_flags="-wW -a 192.168.254.3"


Thanks,
Charles


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