Re: Postfix SRS Patch ?

Xavier Beaudouin <[email protected]> Wed, 30 Jun 2004 21:12:22 +0200
Newsgroups gmane.mail.spam.srs.general
Message-ID <[email protected]>
By the way if someone have a up to date postfix patch (eg for postfix 
2.1.3 for example) I will be very pleased to use and test it :)

/Xavier
Le 30 juin 04, à 00:06, Michel Bouissou a écrit :

> Hi there,
>
> Has anybody had any success with the
> http://www.libsrs2.org/patch/postfix-libsrs2-2.0.19-1.patch Postfix 
> patch ?
>
> I have patched a Mandrake postfix-2.1.1-0.1.92mdk RPM with it, and 
> first had
> difficulties applying the patch ("patch" itself was complaining that 
> the
> patchfile was incorrect).
>
> I performed a couple manual fixes, then got the patch to apply and 
> Postfix to
> compile. (Please find attached my "fixed"' version of the patch).
>
> Postfix seems to be running fine, I have configured the SRS parameters 
> as
> follows :
>
> [root@totor BUILD]# postconf | grep srs
> srs_alwaysrewrite = yes
> srs_hashlength = 8
> srs_hashmin = 8
> srs_maxage = 15
> srs_secrets = thisisasecretkey
> srs_separator = =
>
> ...after having found out that first the values didn't have the 
> "sensible
> defaults" they were supposed to have (local crashed if srs_hashlength 
> was not
> specified for example), and second the documentation is very unclear 
> about
> which values should be used (for the hash length, or secret length and
> contents) as well as for the maxage unit (seconds ? hours ? days ?)  
> after
> having reviewed the libSRS website I decided for myself that this was
> probably days ;-)
>
> Anyway, Postfix is now running without any complaint and without any 
> special
> error message, but however doesn't perform _any_ SRS rewriting for 
> messages
> that are forwarded to an external address, in any way (either by 
> virtual, or
> by aliases, or by .forward).
>
> It just behaves as if it simply wasn't there.
>
> I have installed the libsrs2-1.0.13-1 RPM gotten from
> http://www.libsrs2.org/download.html
>
> Any hint or clue would be greatly appreciated.
>
> Best regards.
>
> -- 
> Michel Bouissou <[email protected]> OpenPGP ID 0xDDE8AC6E
>
> -------
> To unsubscribe, change your address, or temporarily deactivate your 
> subscription,
> please go to 
> http://v2.listbox.com/member/[email protected]
> <postfix-libsrs2-2.0.19-1.MiB.patch>
--
Xavier Beaudouin - Unix System Administrator & Projects Leader.
President of Kazar Organization : http://www.kazar.net/
Please visit http://caudium.net/, home of Caudium & Camas projects