Just thought I would verify that Spamdyke 4.0.3 does not have the 
illegal value issues that I experienced on FreeBSD 4.7.

Thanks Sam I appreciate your quick assistance,
Shane Bywater

> Message: 4
> Date: Tue, 12 Aug 2008 23:13:57 -0500
> From: Sam Clippinger <[EMAIL PROTECTED]>
> Subject: Re: [spamdyke-users] Illegal value for multiple options and
>       rejecting all SMTP connections
> To: spamdyke users <spamdyke-users@spamdyke.org>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> I found the problem.  gcc on FreeBSD (at least versions 4.7 and 2.2.2) 
> doesn't seem to use the same format specifiers for parsing 64 bit 
> integers that every other Unix uses.  Everything compiles without 
> errors, but when spamdyke loads the integer values from the 
> configuration file and tries to evaluate them, it ends up with 
> mostly-uninitialized values.  The final values are random (depending on 
> the values left in memory by the operating system when spamdyke started) 
> but they typically fall well outside the acceptable ranges.
> 
> I've updated the "configure" script to detect this situation and work 
> around it.  I'm testing the changes now and I'll release a new version 
> tomorrow morning if the scripts don't reveal any errors.
> 
> -- Sam Clippinger
> 
> Sam Clippinger wrote:
>> Actually, I have a FreeBSD 4.7 machine that I built for testing, so I'll 
>> check this out tonight and let you know if I can reproduce it.
>>
>> -- Sam Clippinger
>>
>> Shane Bywater wrote:
>>   
>>> Hi,
>>>     I tried increasing my qmail's "softlimit" to 80000000 as per Sam's 
>>> recommendation but that didn't help.  Same errors are reported and all 
>>> SMTP connections are rejected.
>>>     I'm guessing I may be the only one running Spamdyke 4.0.2 on a FreeBSD 
>>> 4.7 server so this is why no one else has this issue but if anyone can 
>>> offer some suggestions on what to try next that would be appreciated.
>>>     Would a older version of libgnugetopt package, which was necessary to 
>>> install for the configure script to complete correctly, create this 
>>> issue? I just used version 1.2 which was found in the ports directory.
>>>
>>> Regards,
>>> Shane Bywater
>>>
>>> [EMAIL PROTECTED] wrote:
>>>   > Message: 1
>>>   
>>>     
>>>> Date: Fri, 08 Aug 2008 16:24:52 -0400
>>>> From: Shane Bywater <[EMAIL PROTECTED]>
>>>> Subject: [spamdyke-users] Illegal value for multiple options and
>>>>    rejecting       all SMTP connections
>>>> To: spamdyke-users@spamdyke.org
>>>> Message-ID: <[EMAIL PROTECTED]>
>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>>
>>>> Hi,
>>>>    I'm attempting to run Spamdyke 4.0.2 on FreeBSD 4.7 and I'm 
>>>> experiencing problems such as the following errors:
>>>>
>>>> ERROR: Illegal value for option greeting-delay-secs: 5 (must be between 
>>>> 0 and 2147483647)
>>>> ERROR: Illegal value for option idle-timeout-secs: 60 (must be between 0 
>>>> and 2147483647)
>>>> ERROR: Illegal value for option graylist-max-secs: 1814400 (must be 
>>>> between 0 and 2147483647)
>>>> ERROR: Illegal value for option graylist-min-secs: 300 (must be between 
>>>> 0 and 2147483647)
>>>>
>>>>    I'm no mathematician but I think 5 is between 0 and 2147483647 and the 
>>>> other values should be fine as well.  Any idea why I'm getting these 
>>>> errors?
>>>>
>>>>    Also, when I actually try using Spamdyke my mail server rejects all 
>>>> SMTP connections even when I have filter-level=allow-all in 
>>>> /etc/spamdyke.conf
>>>>
>>>> Here's the first part of /etc/spamdyke.conf showing how I assigned the 
>>>> values.
>>>>
>>>> # Sets spamdyke's overall filter behavior.
>>>> # Available values: allow-all, normal, require-auth, reject-all
>>>> # Default: normal
>>>> filter-level=allow-all
>>>>
>>>> # Delays the SMTP greeting banner for SECS seconds.  A value of 0 
>>>> disables this
>>>> # feature.
>>>> # Default: 0
>>>> greeting-delay-secs=5
>>>>
>>>> # Limit incoming messages to NUM recipients.  A value of 0 disables this
>>>> # feature.
>>>> # Default: 0
>>>> #max-recipients=NUM
>>>>
>>>> # Drop superuser privileges and run as USER instead.
>>>> # Default: none
>>>> #run-as-user=qmaild
>>>>
>>>>
>>>>
>>>> Here's the important half of my /var/qmail/supervise/qmail-smtpd file:
>>>>
>>>> exec /usr/local/bin/softlimit -m 10000000 \
>>>>          /usr/local/bin/tcpserver -v -h -p -R -x /etc/tcp.smtp.cdb -c 
>>>> "$MAXSMTPD" \
>>>>                  -u "$QMAILDUID" -g "$NOFILESGID" 0 25 \
>>>>                  /usr/local/bin/spamdyke -f /etc/spamdyke.conf \
>>>>                  /var/qmail/bin/tcp-env /usr/local/bin/properplop \
>>>>                  /var/qmail/bin/qmail-smtpd 2>&1
>>>>
>>>>
>>>> Any suggestions on how to get Spamdyke running correctly would be 
>>>> greatly appreciated.
>>>>
>>>> Regards,
>>>> Shane Bywater
>>>>
>>>>
>>>>     
>>>>       
>>>   > Message: 3
>>>   
>>>     
>>>> Date: Fri, 08 Aug 2008 16:42:20 -0500
>>>> From: Sam Clippinger <[EMAIL PROTECTED]>
>>>> Subject: Re: [spamdyke-users] Illegal value for multiple options and
>>>>    rejecting all SMTP connections
>>>> To: spamdyke users <spamdyke-users@spamdyke.org>
>>>> Message-ID: <[EMAIL PROTECTED]>
>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>>
>>>> My first thought is that your memory limit for spamdyke/qmail is 
>>>> probably too low.  For some reason, instead of causing "out of memory" 
>>>> errors, low memory seems to cause very strange malfunctions.  Try 
>>>> editing your "run" file to increase the value for "softlimit" to 
>>>> something much higher (e.g. 80000000), then restart qmail.
>>>>
>>>> -- Sam Clippinger
>>>>
>>>> Shane Bywater wrote:
>>>>     
>>>>       
>>>>> Hi,
>>>>>   I'm attempting to run Spamdyke 4.0.2 on FreeBSD 4.7 and I'm 
>>>>> experiencing problems such as the following errors:
>>>>>
>>>>> ERROR: Illegal value for option greeting-delay-secs: 5 (must be between 
>>>>> 0 and 2147483647)
>>>>> ERROR: Illegal value for option idle-timeout-secs: 60 (must be between 0 
>>>>> and 2147483647)
>>>>> ERROR: Illegal value for option graylist-max-secs: 1814400 (must be 
>>>>> between 0 and 2147483647)
>>>>> ERROR: Illegal value for option graylist-min-secs: 300 (must be between 
>>>>> 0 and 2147483647)
>>>>>
>>>>>   I'm no mathematician but I think 5 is between 0 and 2147483647 and the 
>>>>> other values should be fine as well.  Any idea why I'm getting these 
>>>>> errors?
>>>>>
>>>>>   Also, when I actually try using Spamdyke my mail server rejects all 
>>>>> SMTP connections even when I have filter-level=allow-all in 
>>>>> /etc/spamdyke.conf
>>>>>
>>>>> Here's the first part of /etc/spamdyke.conf showing how I assigned the 
>>>>> values.
>>>>>
>>>>> # Sets spamdyke's overall filter behavior.
>>>>> # Available values: allow-all, normal, require-auth, reject-all
>>>>> # Default: normal
>>>>> filter-level=allow-all
>>>>>
>>>>> # Delays the SMTP greeting banner for SECS seconds.  A value of 0 
>>>>> disables this
>>>>> # feature.
>>>>> # Default: 0
>>>>> greeting-delay-secs=5
>>>>>
>>>>> # Limit incoming messages to NUM recipients.  A value of 0 disables this
>>>>> # feature.
>>>>> # Default: 0
>>>>> #max-recipients=NUM
>>>>>
>>>>> # Drop superuser privileges and run as USER instead.
>>>>> # Default: none
>>>>> #run-as-user=qmaild
>>>>>
>>>>>
>>>>>
>>>>> Here's the important half of my /var/qmail/supervise/qmail-smtpd file:
>>>>>
>>>>> exec /usr/local/bin/softlimit -m 10000000 \
>>>>>          /usr/local/bin/tcpserver -v -h -p -R -x /etc/tcp.smtp.cdb -c 
>>>>> "$MAXSMTPD" \
>>>>>                  -u "$QMAILDUID" -g "$NOFILESGID" 0 25 \
>>>>>                  /usr/local/bin/spamdyke -f /etc/spamdyke.conf \
>>>>>                  /var/qmail/bin/tcp-env /usr/local/bin/properplop \
>>>>>                  /var/qmail/bin/qmail-smtpd 2>&1
>>>>>
>>>>>
>>>>> Any suggestions on how to get Spamdyke running correctly would be 
>>>>> greatly appreciated.
>>>>>
>>>>> Regards,
>>>>> Shane Bywater

_______________________________________________
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to