From owner-freebsd-questions@FreeBSD.ORG Thu Sep 13 17:40:20 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 5307916A417 for ; Thu, 13 Sep 2007 17:40:20 +0000 (UTC) (envelope-from tuaregmex@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id 027E013C45E for ; Thu, 13 Sep 2007 17:40:19 +0000 (UTC) (envelope-from tuaregmex@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so113657anc for ; Thu, 13 Sep 2007 10:40:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Jc4Lr6wtuhNpa1qFy8znj72Tt1SKBNY+0ggxA5vVtCY=; b=Zu9m82F7wuL1tREqs4FmAWrgObmz0CCBD8pVuK7VVadufQ81EcyfVg+g6J9IMdkrsXIN+6bCj+6HVswVcaBRWm/NOLnIGftcKju3GOzmezxyHQ84ojJLqj2zMpwLlC9KBI60/X1xZLOIsyKzuF/L9JkeoyzTIxnPsKmBJAN7cVU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iowSY/hn0buvKeSDFq0u0fICT06wH5eNqHR884yh1x6pTn9B0Ezsl83YXwdQ8Uk7IkmdpfwkueqIIz3ZN8Inmy8oRoUKyJR7mJ/Vr7oQBI+pydo5Skd/VoP1tEh+LRzOBLFpAJnf2doJtpeSMSoairZgLNekncs2SY1QZ19eFbs= Received: by 10.142.237.20 with SMTP id k20mr155161wfh.1189703661867; Thu, 13 Sep 2007 10:14:21 -0700 (PDT) Received: by 10.143.29.5 with HTTP; Thu, 13 Sep 2007 10:14:21 -0700 (PDT) Message-ID: <7a4a15bd0709131014s799162c9j24efb9455706d565@mail.gmail.com> Date: Thu, 13 Sep 2007 12:14:21 -0500 From: Tuareg To: freebsd-questions@freebsd.org In-Reply-To: <2cd0a0da0709130934u70ef4a31n6c4d1a49d1801fc6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2cd0a0da0709130934u70ef4a31n6c4d1a49d1801fc6@mail.gmail.com> Subject: Re: Plz, Help! /usr/sbin/sendmail: No such file or directory 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: Thu, 13 Sep 2007 17:40:20 -0000 On 9/13/07, VeeJay wrote: > Hi there Hi! > > > > I have some weird problems in running Postfix. I have installed it on my > FreeBSD 6.2 Box. Postfix starts normally as shown from maillog: > > > > Sep 13 16:28:37 veejay postfix/postfix-script[18197]: starting the Postfi= x > mail system > > Sep 13 16:28:37 veejay postfix/master[18198]: daemon started -- version > 2.4.0, configuration /usr/local/etc/postfix > > > > But I am unable to send an email from the command prompt as shown here: > > > > veejay# mail > > Mail version 8.1 6/6/93. Type ? for help. > > "/var/mail/christensen": 0 messages > > & m info@example.com > > Subject: Test message > > it is workinng > > . > > EOT > > & mail: /usr/sbin/sendmail: No such file or directory > > q > > veejay# > > > > I thought its path/configuration problem but > > > > veejay# /usr/local/sbin/postconf =96n shows settings as follow, which = seems > to be OK? I don't know L > > > > command_directory =3D /usr/local/sbin > > config_directory =3D /usr/local/etc/postfix > > daemon_directory =3D /usr/local/libexec/postfix > > debug_peer_level =3D 2 > > html_directory =3D no > > mail_owner =3D postfix > > mailq_path =3D /usr/local/bin/mailq > > manpage_directory =3D /usr/local/man > > mynetworks_style =3D host > > newaliases_path =3D /usr/local/bin/newaliases > > queue_directory =3D /var/spool/postfix > > readme_directory =3D no > > sample_directory =3D /usr/local/etc/postfix > > sendmail_path =3D /usr/local/sbin/sendmail > > setgid_group =3D maildrop > > unknown_local_recipient_reject_code =3D 550 > > > > Could you please help to discover problem? What is wrong? Why this Error = "& > mail: /usr/sbin/sendmail: No such file or directory " keeps coming? > > Thank you very much! > Because in your configuration appears another path: sendmail_path =3D /usr/local/sbin/sendmail And you are looking in: /usr/sbin/sendmail. > -- > Thanks! You're welcome. --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments