Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 5 Oct 2003 15:53:08 +0400
From: Solar Designer <solar@...nwall.com>
To: popa3d-users@...ts.openwall.com, barry@...notte.ca
Subject: Re: POP before SMTP Patches not working on FreeBSD 4.6

On Sat, Oct 04, 2003 at 02:21:35PM -0300, Barry Veinotte wrote:
> This is a question from an amature:
> 
> I am trying to get some form of POP before SMTP working with
> sendmail and popa3d. The solution that is most attractive (after
> trying and failing with several) is here:
> 	http://www.koblenz-net.de/~horn/smtp_after_pop/README

Why, there're pointers to some POP before SMTP resources off the
popa3d homepage.  Please also see past discussions on this mailing
list, in the archives available via MARC (there's a link from the
popa3d homepage, too).

> However, the patch will not work on my machine. I get this after
> each section: 
> 
> patch -p0 < popa3d-0.5.1-smtp_after_pop-1.diff
> Hmm...  Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |diff -r -u popa3d-0.5.1/Makefile popa3d-0.5.1-smtp_after_pop-1/Makefile
> |--- popa3d-0.5.1/Makefile      Sun Oct 28 02:10:49 2001
> |+++ popa3d-0.5.1-smtp_after_pop-1/Makefile     Fri Feb  7 12:24:51 2003
> --------------------------
> File to patch: 

This means that you are not using patch(1) with that patch file
properly.  Most likely the number of leading path components to split
is wrong (the "0" in "-p0").  You need to check the patch file and
then use the right -pN setting according to the patch file and the
directory you're running the patch command from.

But also note two things:

1. You've mentioned that this is on FreeBSD.  I think that the popa3d
package in FreeBSD ports collection already includes the POP before SMTP
support patch for use with Sendmail.

2. As mentioned on the web site, my recommended way to do POP before
SMTP is via whoson (although it may be even more work to setup).

-- 
Alexander Peslyak <solar@...nwall.com>
GPG key ID: B35D3598  fp: 6429 0D7E F130 C13E C929  6447 73C3 A290 B35D 3598
http://www.openwall.com - bringing security into open computing environments

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.