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 11:10:30 -0300
From: "Barry Veinotte" <barry@...notte.ca>
To: <popa3d-users@...ts.openwall.com>, "Solar Designer" <solar@...nwall.com>
Subject: RE: POP before SMTP Patches not working on FreeBSD 4.6

Thanks for the help Alexander:

> -----Original Message-----
> From: Solar Designer [mailto:solar@...nwall.com]
> Sent: October 5, 2003 8:53 AM
> 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.

I have added the patch and reinstalled popa3d from the ports dir. I have
also rebuilt the  sendmail.cf file with:

Kpopauth hash -a<OK> /etc/mail/popauth

SLocal_check_rcpt
R$*		$: $(popauth $&{client_addr} $: <?> $)
R<?>		$@ NoPopAuth
R$*<OK>		$# OK

added to the .mc file. However, sendmail is rejecting all senders unless
the IP is in the access database, so I still have something wrong. I
get "553 5.3.0 OKAY" as the error message, which I have searched for
at sendmail.org with nothing that helped me other than this being an
error from any number of rules. In this case it is check_relay as my
maillog reads:

Oct  5 10:03:12 dns1 sm-mta[10838]: ruleset=check_relay,
arg1=[209.128.25.147], arg2=209.128.25.147, relay=[209.128.25.147],
reject=553 5.3.0 OKAY

Can you give me any ideas as to how to seek for the problem?

The popauth.db is in place, but is there a way to see if popa3d is logging
correctly?

Thanks for your time and patience!

Barry

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.