From owner-freebsd-questions Tue Mar 27 12: 6:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.infowest.com (ns1.infowest.com [204.17.177.10]) by hub.freebsd.org (Postfix) with ESMTP id 4F66137B718 for ; Tue, 27 Mar 2001 12:06:05 -0800 (PST) (envelope-from fbsd@wbs-inc.com) Received: from Presario (216.190.29.225.obiwan.infowest.net [216.190.29.225]) by ns1.infowest.com (Postfix) with SMTP id 6163D21110; Tue, 27 Mar 2001 13:05:39 -0700 (MST) Message-ID: <003901c0b6f9$359bf8a0$0200fea9@infowest.com> From: "fbsd" To: "Karin Lagesen" , References: Subject: Re: stunnel, fetchmail and pop3 Date: Tue, 27 Mar 2001 13:05:01 -0700 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 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Does stunnel insist on logging? It it wants to log to a directory that doesn't exist it would seem that all you have to do is create the directory and set the permissions correctly. (Unless it is using the syslog facility which would probably want a file stub to be present to append to.) ----- Original Message ----- From: Karin Lagesen To: Sent: Tuesday, March 27, 2001 10:24 AM Subject: stunnel, fetchmail and pop3 > I am currently trying to set things up so that I can fetch my mail from my > mailbox at my uni securely. I am currently running 4.2-RELEASE. What I am > doing/have done is the following: > > First of all I installed stunnel-3.14 via porteasy with the options -aub. > AFAIK, this should also install any cryptografic stuff that it needs? The > reason for my asking is that www.stunnel.org claims that the program also > needs OpenSSL or SSLeay, and I couldn't see anything like that on the > depends listing.... > > Secondly I am trying to get stunnel to start up during startup. The > program comes with a script that is supposed to go in the > /usr/local/etc/rc.d/ directory. From the man page it looks like that > anything in that directory ending in .sh will be run at startup. Is this > correct? > > Third, the command that I'm trying to start from that script is as > follows (mail.server here being the ip of my pop3 mail server): > > /usr/local/sbin/stunnel -c -d 110 -r mail.server:995 > > From what I can see, this should be correct. However, it wouldn't surprise > me if I have misunderstood something in this...:) > > When I tried running this command as root (with -f to get it to > foreground) was: > > miranda# /usr/local/sbin/stunnel -f -c -d 110 -r mail.server:995 > LOG5[4174:134582272]: Using 'mail.server:995' as tcpwrapper service name > LOG5[4174:134582272]: stunnel 3.14 on i386--freebsd4.2 PTHREAD+LIBWRAP > LOG3[4174:134582272]: Argument to -P (/var/run/stunnel/) is not valid a > directory name. > miranda# > > Can anyone explain? stunnel does not seem to be running on my machine > after this... > > Lastly, I would like to fetch my mail through this should-be working > tunnel. I have heard that the way to do this after setting up stunnel as > above would be to poll your localhost at port 110. Is this correct? There > is also an ssl option, but I could not understand how all of that should > be set up...:) > > > Thanks in advance, > > Karin > -- > Karin Lagesen, karin@ii.uib.no > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message