Well, it's either an error in the ucspi-tcp documentation or an oversight on my
part. I've never seen any mention of "=>" in that file before. The
documentation on DJB's website doesn't mention it:
http://cr.yp.to/ucspi-tcp/tcprules.html
Where did you get that man page? My server doesn't have it and it's not in the
tarball I downloaded for my server (version 0.88).
So since I've never heard of it, spamdyke obviously won't know what to do with
"=>". It'll probably ignore the line as invalid (and log it), but I haven't
tested that.
I should mention that it's probably not worth worrying about what spamdyke will
support in that file -- I'm removing support for it from the next version
following our discussion about spamdyke controlling relaying. The only reason
for spamdyke to read that file was to figure out if it should set the
RELAYCLIENT environment variable. Since we decided spamdyke should never do
that, there's no reason to read the file.
And yes, I am actively working on the next version, which will include
(drumroll...) recipient validation! :)
-- Sam Clippinger
On Dec 14, 2012, at 7:57 PM, Eric Shubert wrote:
> As much as I dislike using tcp.smtp rules, I'm looking into them more in
> detail now.
>
> According to spamdyke's documentation, spamdyke uses "exactly the format
> tcpserver uses" for rules.
>
>
> In "man tcprules" regarding addresses (first part of rule), it says:
>
> shorter and shorter suffixes of $TCPREMOTEHOST starting with a dot,
> preceded by =>, if $TCPREMOTEHOST is set;
>
>
> In the spamdyke documentation, examples are:
>
> =mail.example.com:allow,FOOVAR="foovalue",BARVAR=.barvalue.,BAZVAR=-bazvalue-
>
> =.example.com:allow,FOOVAR="foovalue",BARVAR=.barvalue.,BAZVAR=-bazvalue-
> =.com:allow,FOOVAR="foovalue",BARVAR=.barvalue.,BAZVAR=-bazvalue-
>
>
> Shouldn't the last 2 examples here begin with "=>" instead of just "="?
>
>
> Is this simply an error in the documentation, or also a bug?
>
> Thanks Sam.
>
> --
> -Eric 'shubes'
>
> _______________________________________________
> spamdyke-users mailing list
> [email protected]
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users