[Greylist-users] qmail implementation - correct this time, I hope

Eirik Oeverby ltning at anduin.net
Thu Jun 26 20:08:04 PDT 2003


Hi,

My changes are pretty much the same as yours, though I will implement
your patch again next time I test. For now I'm trying to make my own
qmail-env-scanner script work - I can see the from and rcpt-to
addresses, but for some reason the TCPREMOTEIP variable is invisible to
me. I'm still investigating this (and yes, I'm using tcpserver. However,
there should be a way to get this value even if you don't use tcpserver,
and that should be independent of what mechanism is used to launch
qmail-smtpd (inetd, tcpserver, foreground server, etc.).

/Eirik

On Thu, 26 Jun 2003 11:02:14 -0600 (MDT)
Tony Arcieri <tarcieri at atmos.colostate.edu> wrote:

> On Thu, 26 Jun 2003, Eirik Oeverby wrote:
> 
> > Hi,
> >
> > I just gave your patch a go.
> > If the qmail-env-scan script/program does not exist, qmail-smtpd
> > will fail with a permanent envelope error. According to what you
> > wrote in earlier posts, this is not the intended behaviour. I think
> > I can fix it myself, but as I'm not really a C coder, I think it's
> > best if you make another update to the patch.
> 
> I posted this patch to the qmail mailing list yesterday and together
> picked out a number of errors with the original author.
> 
> My original intention was that the envelope scanner not be a point of
> failure in the system, so my intention was that if qmail-env-scan does
> not exist messages would simply be passed.  Unfortunately I was using
> the wrong return values, which resulted in the opposite behaviour
> (permanent failure)
> 
> An amended patch is attached to this post.  As I said earlier, I will
> have to first set up a non-production system before I can begin
> testing of this patch for myself, unfortunately.  My two systems
> running qmail provide mail service for over 50 people each.
> 
> > May I also add that when using the FreeBSD ports system to download
> > and unpack the source, your patch will not apply cleanly - in fact
> > it will not apply at all. I had to manually patch my source file,
> > though I have*no* idea why it didn't want to patch it automatically
> > (patch < qmail-env-scanner.patch). All hunks were rejected.
> 
> Be sure to patch with -p1.  I successfully patched the source in the
> ports tree using the patch attached to this message.
> 
> Tony Arcieri


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.puremagic.com/pipermail/greylist-users/attachments/20030626/4772f935/attachment.bin


More information about the Greylist-users mailing list