bgware: relay-ctrl and rblsmtpd


Previous by date: 7 Apr 2008 08:26:08 -0000 Re: Announcing bglibs version 1.103, Amitai Schlair
Next by date: 7 Apr 2008 08:26:08 -0000 Announce: mailfront-plugin-policyd version 0.02, Bernhard Graf
Previous in thread: 7 Apr 2008 08:26:08 -0000 Re: relay-ctrl and rblsmtpd, Paul Jarc
Next in thread:

Subject: RE: [bgware] relay-ctrl and rblsmtpd
From: Olivier Mueller ####@####.####
Date: 7 Apr 2008 08:26:08 -0000
Message-Id: <1207556666.28875.10.camel@olipc.insign.ch>

Hello,

On a specific server I need to use the same SMTP port for both incoming
mail and relaying traffic: is the solution below (from 2004) still the
"best" one, or is there a better/simpler solution now?  

Regards & a nice week to you,
Olivier


On Fri, 2004-04-16 at 10:32 -0400, Joshua Nichols wrote:
> Charles Cazabon wrote:
> >> v3 doesn't rewrite the tcprules file at all.  I don't think this is
> >> possible - or at least it won't be so straightforward.
> > 
> > v3 still sets RELAYCLIENT using a program invoked before qmail-smtpd,
> > if I understand correctly.  That program /should/ be able to also set
> > RBLSMTPD -- but if the current configuration syntax doesn't support
> > it, it should be very simple to add it in.
> 
> After thoroughly rereading the man pages, I've determined that it is not
> possible from within relay-ctrl v3 without patching code.  At this
> point, it seems that a better option is to add a script to the run file
> after relay-check, but before rblsmtpd.
> 
> From a recent post by Charles to the qmail list:
> 
>   #!/bin/sh
>   if env | grep -Eq '^RELAYCLIENT=' ; then
>     RBLSMTPD=""
>     export RBLSMTPD
>   fi
>   exec $@
> 
> I am testing this now.  I can't think of any circumstances in which
> RELAYCLIENT would be set, that one wouldn't want RBLSMTPD set, so I
> believe this will work well, and is version independent of relay-ctrl,
> and requires no patching.
> 
> 
> --joshua.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 


Previous by date: 7 Apr 2008 08:26:08 -0000 Re: Announcing bglibs version 1.103, Amitai Schlair
Next by date: 7 Apr 2008 08:26:08 -0000 Announce: mailfront-plugin-policyd version 0.02, Bernhard Graf
Previous in thread: 7 Apr 2008 08:26:08 -0000 Re: relay-ctrl and rblsmtpd, Paul Jarc
Next in thread:


Powered by ezmlm-browse 0.21.