From owner-freebsd-questions@FreeBSD.ORG Sun Aug 2 11:49:08 2009 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 2216A1065673 for ; Sun, 2 Aug 2009 11:49:08 +0000 (UTC) (envelope-from bsd.schaft.beheer@kpnplanet.nl) Received: from CPSMTPM-EML108.kpnxchange.com (Cpsmtpm-eml108.kpnxchange.com [195.121.3.12]) by mx1.freebsd.org (Postfix) with ESMTP id D8B748FC36 for ; Sun, 2 Aug 2009 11:49:06 +0000 (UTC) (envelope-from bsd.schaft.beheer@kpnplanet.nl) Received: from dionysus ([77.170.116.208]) by CPSMTPM-EML108.kpnxchange.com with Microsoft SMTPSVC(7.0.6001.18000); Sun, 2 Aug 2009 13:37:01 +0200 Message-ID: <005501ca1366$84957620$0302a8c0@VANDERSCHAFT.NET> From: "bsd schaft" To: "Glen Barber" References: <002401ca135e$cf61b0e0$0302a8c0@VANDERSCHAFT.NET> <4ad871310908020408l4f62a2a3m6922511783591d9b@mail.gmail.com> Date: Sun, 2 Aug 2009 13:43:56 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1933 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933 X-OriginalArrivalTime: 02 Aug 2009 11:37:01.0969 (UTC) FILETIME=[8D7A0810:01CA1365] Cc: freebsd-questions@freebsd.org Subject: Re: pgpsendmail instructions 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: Sun, 02 Aug 2009 11:49:08 -0000 Glenn, My mailer.conf contains: /etc/mail >cat mailer.conf # $FreeBSD: src/etc/mail/mailer.conf,v 1.3.34.1 2009/04/15 03:14:26 kensmith Exp $ # # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail # sendmail /usr/libexec/sendmail/sendmail send-mail /usr/libexec/sendmail/sendmail mailq /usr/libexec/sendmail/sendmail newaliases /usr/libexec/sendmail/sendmail hoststat /usr/libexec/sendmail/sendmail purgestat /usr/libexec/sendmail/sendmail regarding the symbolic link: /etc/mail >ls -l /usr/sbin/sen* lrwxr-xr-x 1 root wheel 21 May 31 10:28 /usr/sbin/sendmail -> /usr/sbin/mailwrapper It was the /usr/sbin/sendmail, sorry about that! So lets say , we replace the /usr/libexec/sendmail/sendmail with the pgpsendmail object from /usr/local/lib. /etc/mail >cd /usr/libexec/sendmail/ /usr/libexec/sendmail >ls -l total 704 -r-xr-sr-x 1 root smmsp 665512 May 31 10:28 sendmail -r-xr-sr-x 1 root smmsp 30944 Jul 23 19:17 sendmail.pgp /usr/libexec/sendmail >mv sendmail sendmail.real /usr/libexec/sendmail >mv sendmail.pgp sendmail As you can see, exactly the same security and all. Now check my env , for the PGPPATH variable: SHELL=/usr/local/bin/bash TERM=xterm OLDPWD=/etc/mail USER=root PAGER=more FTP_PASSIVE_MODE=YES PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin :/root/bin MAIL=/var/mail/root BLOCKSIZE=K PWD=/usr/libexec/sendmail PS1=$PWD > SHLVL=1 HOME=/root _=/usr/bin/env Not there, so i can restart the process... /etc/rc.d >./sendmail restart Stopping sendmail. Starting sendmail. SENDMAIL refers back to PGPsendmail! Someone didn't read the installation notes... I checked the pkg-message file: /usr/ports/mail/pgpsendmail >ls -l total 10 -rw-r--r-- 1 root wheel 640 Oct 16 2005 Makefile -rw-r--r-- 1 root wheel 204 Nov 25 2005 distinfo drwxr-xr-x 2 root wheel 512 May 31 17:07 files -rw-r--r-- 1 root wheel 456 Apr 17 1995 pkg-descr -rw-r--r-- 1 root wheel 58 Aug 17 1998 pkg-plist But is is not there... What can i do next, add/replace a line in mailer.conf: sendmail /usr/local/lib/pgpsendmail Again, after a restart, i receive the same error....... ,Danny ----- Original Message ----- From: "Glen Barber" To: "Familie van der Schaft" Cc: Sent: Sunday, August 02, 2009 1:08 PM Subject: Re: pgpsendmail instructions On Sun, Aug 2, 2009 at 6:48 AM, Familie van der Schaft wrote: > LS, > > I am trying to get pgpsenmail working but i can't figure out what to do. > For example which instance of sendmail can/must be replaced: > > /usr/libexec/sendmail (which is symbolic link) What do you have this linked to? /usr/libexec/sendmail -> /usr/libexec/sendmail/sendmail ? > /usr/sbin/sendmail > > in both cases, i get the following message: > > /etc/rc.d >./sendmail restart > sendmail not running? (check /var/run/sendmail.pid). > Starting sendmail. > SENDMAIL refers back to PGPsendmail! > Someone didn't read the installation notes... Sometimes the problem is explained in the errors... Other times, pkg-message would be helpful in a port. %ls -1 /usr/ports/mail/pgpsendmail/ Makefile distinfo files pkg-descr pkg-plist > /etc/rc.d >sendmail forcestart > SENDMAIL refers back to PGPsendmail! > Someone didn't read the installation notes... > > But where can i find these instructions (notes). > The man-page (pgpsendmail(8)) does not give any extra info. > Can anybody help me? > Have a look at mailer.conf(5) -- Glen Barber ---------------------------------------------------------------------------- ---- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.40/2276 - Release Date: 08/01/09 18:04:00