From owner-freebsd-questions@FreeBSD.ORG Mon Jun 28 22:12:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 758B81065672 for ; Mon, 28 Jun 2010 22:12:47 +0000 (UTC) (envelope-from mlmichael70@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 001AD8FC15 for ; Mon, 28 Jun 2010 22:12:46 +0000 (UTC) Received: by bwz12 with SMTP id 12so506813bwz.13 for ; Mon, 28 Jun 2010 15:12:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ChvAWrgU057xtj5ERyBbDPa4vL4Bnp4Vc8cQOszilUw=; b=twirZ4nfH5hJgTuaelfXPu2+Z0AeMGIugx053zBP3yMJ35Bi6AS1lYWXcCgKGWAWCZ 2vtf+NeahTrDuCMCMlLbzyb8tOgQedlsucRCIJVUQZvlVbyrH5MmOdNnGIlt3rO2SWxT L0TJlPATIhHIjkI5YRir9mA9fKfheAUqcq/Zs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=pHK1RlDGE1aFQvdfpk3GmZepnu4ZEvHBpn6JwfJJNUt///uJZS/Wqkah6HxEPCt6By zBeZA6dTt92zNCWseCWGnAhajQul4sYCBK3oGl+Yn+K1iNgGFqxp8tWJQT+1V4Vr0K02 6tiT4pAjPlE4a+GrHtQaAZxQj/iUaDl/85vJM= Received: by 10.204.46.95 with SMTP id i31mr4053630bkf.17.1277763158524; Mon, 28 Jun 2010 15:12:38 -0700 (PDT) Received: from [192.168.1.111] (94-193-57-116.zone7.bethere.co.uk [94.193.57.116]) by mx.google.com with ESMTPS id u13sm20420224bkz.18.2010.06.28.15.12.37 (version=SSLv3 cipher=RC4-MD5); Mon, 28 Jun 2010 15:12:38 -0700 (PDT) Message-ID: <4C291E56.3090004@gmail.com> Date: Mon, 28 Jun 2010 23:12:38 +0100 From: Michael User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100628 Thunderbird/3.0.5 MIME-Version: 1.0 To: Polytropon References: <4C290B62.5060209@gmail.com> <20100628234349.6ad1a000.freebsd@edvax.de> In-Reply-To: <20100628234349.6ad1a000.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: sendmail: My unqualified host name X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2010 22:12:47 -0000 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.