From owner-freebsd-questions@FreeBSD.ORG Tue Dec 11 18:25:55 2007 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 143CC16A418 for ; Tue, 11 Dec 2007 18:25:55 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id CBA8713C457 for ; Tue, 11 Dec 2007 18:25:54 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so279584pyb for ; Tue, 11 Dec 2007 10:25:54 -0800 (PST) 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:x-enigmail-version:content-type:content-transfer-encoding; bh=oDYa+nNh9Q7lCnKZQGnPt8iROoqXXqNtosI1wfadGMM=; b=UsNTE5Px8p8kqMYPOS4iDqPECqK8x4vTJ6nYh2xyP82dS+ngYPnh5FlKgxtjc/jwVBhhek4x3bq9P+gI3QKDYYlgw7/R9ZlH4mEpkGTP3vZBeFUTm7YIVb9qHvd8wxKIdMWuW/kmR1B57msUj17B83iL2PIP2ePfDGkoBPt2aGo= 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:x-enigmail-version:content-type:content-transfer-encoding; b=t75+9wMWVV6nloep1dzusCFmB+8LPdV+7peG2w2FWeqJ66XONu97W7SISgYHBzhVXZ+5bmqNdbryJiFFY4izHGUKSKpxGl+PewPQMDsMmhncCrOhcfuvZk8bak4zk/PRg7Z4qGqoZPM6A4f516ewLgmPlhKlGQtS1A2QbJqBw4s= Received: by 10.64.209.6 with SMTP id h6mr17463719qbg.1197397553033; Tue, 11 Dec 2007 10:25:53 -0800 (PST) Received: from ?192.168.2.2? ( [67.85.89.184]) by mx.google.com with ESMTPS id e17sm4332560qbe.2007.12.11.10.25.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 11 Dec 2007 10:25:52 -0800 (PST) Message-ID: <475ED62E.1040904@gmail.com> Date: Tue, 11 Dec 2007 13:25:50 -0500 From: "Aryeh M. Friedman" User-Agent: Thunderbird 2.0.0.9 (X11/20071209) MIME-Version: 1.0 To: Giorgos Keramidas References: <24B63B5B-74E3-4F5C-B0C4-D44EBF797966@mac.com> <475D5670.1030207@gmail.com> <20071210214254.GA8185@kobe.laptop> <475DB713.4060504@gmail.com> <20071211162638.GA16776@kobe.laptop> <475ED0A2.7030205@gmail.com> <20071211181032.GA1712@kobe.laptop> In-Reply-To: <20071211181032.GA1712@kobe.laptop> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: smart_host on sendmail min config 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: Tue, 11 Dec 2007 18:25:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Giorgos Keramidas wrote: > On 2007-12-11 13:02, "Aryeh M. Friedman" > wrote: >>> Ideally, something like `mail -v' should show at least an >>> attempt to post the message to the local queue: [...] >> monster-freebsd# sendmail -bd -q1m -v 050 WARNING: local host >> name (monster-freebsd) is not qualified; see cf/README: WHO AM I? >> monster-freebsd# mail -v aryeh.friedman@gmail.com Subject: test >> fopo dsadad . EOT WARNING: local host name (monster-freebsd) is >> not qualified; see cf/README: WHO AM I? >> aryeh.friedman@gmail.com... Connecting to [127.0.0.1] via >> relay... 220 monster-freebsd ESMTP Sendmail 8.14.2/8.14.2; Tue, >> 11 Dec 2007 13:00:27 -0500 (EST) >>>>> EHLO monster-freebsd >> 250-monster-freebsd Hello localhost [127.0.0.1], pleased to meet >> you > [...] >> 354 Enter mail, end with "." on a line by itself >>>>> . >> 250 2.0.0 lBBI0RgU000340 Message accepted for delivery >> aryeh.friedman@gmail.com... Sent (lBBI0RgU000340 Message accepted >> for delivery) Closing connection to [127.0.0.1] >>>>> QUIT >> 221 2.0.0 monster-freebsd closing connection > > Neat! Your local Sendmail submission service works then. You > should be able to see the message in the `clientmqueue' with: > > mailq -Ac > > Now, can you show us how your local rc system starts Sendmail, and > the active Sendmail processes you are using? It may be working > fine, but only queueing messages in `/var/spool/clientmqueue'. A > queue runner should also be started to periodically scan and handle > the clientmqueue messages. > > monster-freebsd# !sen sendmail -bd -q1m -v # very long pause 050 WARNING: local host name (monster-freebsd) is not qualified; see cf/README: WHO AM I? monster-freebsd# mailq -Ac # very long pause /var/spool/clientmqueue (8 requests) - -----Q-ID----- --Size-- -----Q-Time----- - ------------Sender/Recipient----------- lBAEQDUM077228 9 Mon Dec 10 09:26 aryeh (Deferred: Connection refused by [127.0.0.1]) aryeh@gmail.com lBAEtoDS076148 0 Mon Dec 10 09:55 aryeh (Deferred: Connection refused by [127.0.0.1]) aryeh.friedman@gmail.com lBALxPJ3000280 9 Mon Dec 10 16:59 aryeh (Deferred: Connection refused by [127.0.0.1]) aryeh.friedman@gmail.com lBAEZsSH058954 8 Mon Dec 10 09:35 aryeh (Deferred: Connection refused by [127.0.0.1]) aryeh.friedman@gmail.com lBBHuZ2I000325 7 Tue Dec 11 12:56 aryeh (Deferred: Connection refused by [127.0.0.1]) aryeh.friedman@gmail.com lBAF5WYM090152 5 Mon Dec 10 10:05 aryeh (Deferred: Connection refused by [127.0.0.1]) aryeh.friedman@gmail.com lBAEQhZL082703 10 Mon Dec 10 09:26 aryeh (Deferred: Connection refused by [127.0.0.1]) aryeh.friedman@gmail.com lBAF6r3W005781 9 Mon Dec 10 10:06 aryeh (Deferred: Connection refused by [127.0.0.1]) aryeh.friedman@gmail.com Total requests: 8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHXtYuzIOMjAek4JIRAhkkAJ9ww89bT/y8y6IdEids2VRBnKg6tQCgmuqe T65HD60dLsGjs1GxucciyUs= =/Th9 -----END PGP SIGNATURE-----