From owner-freebsd-questions@FreeBSD.ORG Tue Dec 11 18:53:41 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 6225116A47F for ; Tue, 11 Dec 2007 18:53:41 +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 1837D13C46B for ; Tue, 11 Dec 2007 18:53:40 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so305478pyb for ; Tue, 11 Dec 2007 10:53:38 -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=wIla5ij0x91CV4LMxR6Mv2xZhMdF3p56D1BHzzN8Hhw=; b=k34NUrtyUGpM0myh4hdYev74JOvwW2oOUyyHWzMTR4eM+ldxMck2Fj03YDYrGzkSElMQusVo6k12m9rEcnX+igTqm0JPkHGkhvpCg71gdz3b2Yf8+gMEAyC9/MnRjI+O5jM0OheTTOIV2E79r+trDfCmUzdgBSBP5UkA22a9Ycg= 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=H03a0thwCopJgnfPqbHzPEmNbVyezofeoCKEVT6JYUXstINyWbfrD7CkLs5UVvN6CbGYIZ/enI5SM9BAR4UvIKNPVXko5PNxWEfREvTZdS/ik4Nn067Jg2Ks1g3a7EvNYok2hDrFIirE5hslHN1KDW/IFRRhHHRk1sWLrq/HJ0A= Received: by 10.65.100.14 with SMTP id c14mr17491337qbm.1197399217019; Tue, 11 Dec 2007 10:53:37 -0800 (PST) Received: from ?192.168.2.2? ( [67.85.89.184]) by mx.google.com with ESMTPS id e14sm4421898qba.2007.12.11.10.53.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 11 Dec 2007 10:53:36 -0800 (PST) Message-ID: <475EDCAE.90907@gmail.com> Date: Tue, 11 Dec 2007 13:53:34 -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> <475ED62E.1040904@gmail.com> <20071211184046.GA8175@kobe.laptop> In-Reply-To: <20071211184046.GA8175@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:53:41 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Giorgos Keramidas wrote: > On 2007-12-11 13:25, "Aryeh M. Friedman" > wrote: >> Giorgos Keramidas wrote: >>> 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. > > I'm sorry, but this is the *third* time I am asking the same thing, > and it's getting a bit boring. Do you _really_ want help, or just > to have a bit of email fun for a while? > > You still haven't shown us: > > * How your local rc system starts Sendmail Until I can get it right from the command line I am not going to include it in my /etc/rc thus currently there is none > > * The active Sendmail processes you have now Except for the one I start (with the below command line) before sending there is none running... here is the complete transcript of my last attempt to actually send something: > su Password: su: Sorry > clear > su Password: monster-freebsd# sendmail -bd -q1m monster-freebsd# mail -v aryeh.friedman@gmail.com Subject: test foo asdasdads . 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:48:37 -0500 (EST) >>> EHLO monster-freebsd 250-monster-freebsd Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP >>> MAIL From: SIZE=58 250 2.1.0 ... Sender ok >>> RCPT To: DATA 250 2.1.5 ... Recipient ok 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 lBBImbEm000465 Message accepted for delivery aryeh.friedman@gmail.com... Sent (lBBImbEm000465 Message accepted for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 monster-freebsd closing connection monster-freebsd# mailq -av mailq: illegal option -- a monster-freebsd# mailq -Ac /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 > >> 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? > > Your DNS is broken, and Sendmail cannot resolve `monster-freebsd'. > That's not a Sendmail issue, so I'm ignoring that for now. > >> 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 > > No submission service running. You have to start at least some > process which listens on 127.0.0.1:25 for incoming email requests > and a queue runner for clientmqueue. I haven't seen any "ps > xauwww" output for the Sendmail processes you are currently > running, so no idea why you don't have a listener on 127.0.0.1:25. See above > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHXtyuzIOMjAek4JIRAjIdAJ9oJuphO++u0yNYmoKk/XqNAMNCzACeKQ6X +NbyusNUDP8K3WBuOV6h+mw= =fHGK -----END PGP SIGNATURE-----