pgpsendmail instructions
bsd schaft
bsd.schaft.beheer at kpnplanet.nl
Sun Aug 2 11:49:08 UTC 2009
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" <glen.j.barber at gmail.com>
To: "Familie van der Schaft" <fam.vanderschaft at kpnplanet.nl>
Cc: <freebsd-questions at freebsd.org>
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<fam.vanderschaft at kpnplanet.nl> 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
More information about the freebsd-questions
mailing list