Re: [SOLVED] Re: rules_du_jour/curl suddenly broken?

2006-01-13 Thread Mark Martinec
For the archive:

> > TROUBLE in check_mail: spam_scan FAILED: panic: swash_fetch at
> > /etc/mail/spamassassin/70_sare_specific.cf, rule SARE_SPEC_SHORTQ, line
> > 1,  line 1706.

The problem turned out to be missing perl library directory 'unicore'
in chroot jail. The need for it is documented in README.chroot.

  Mark


Re: [SOLVED] Re: rules_du_jour/curl suddenly broken?

2006-01-12 Thread Mark Martinec
Peter,

> TROUBLE in check_mail: spam_scan FAILED: panic: swash_fetch at
> /etc/mail/spamassassin/70_sare_specific.cf, rule SARE_SPEC_SHORTQ, line 1,
>  line 1706.

Search the amavisd-new web page for 'swash_fetch'.
It is consequence of Perl bugs when handling UTF-8 characters.

What version of Perl and what version of amavisd-new is that?

If using Perl 5.8.0 in UTF-8 environment, you are asking
for touble. Later versions of amavisd-new may be able to
work around some of these Perl problems.

  Mark


Re: Re[2]: [SOLVED] Re: rules_du_jour/curl suddenly broken?

2006-01-11 Thread Peter

--- Robert Menschel <[EMAIL PROTECTED]> wrote:

> Hello Peter,
> 
> Wednesday, January 11, 2006, 7:31:39 PM, you wrote:
> 
> P> Looks like I had two problems simultaneously.  The update issue was
> not
> P> causing the error it seems.  The real problem I'm encountering
> appears to
> P> concern a particular SARE rule.  I am running amavisd-new with SA and
> this
> P> is what I'm getting in my logs:
> 
> P> TROUBLE in check_mail: spam_scan FAILED: panic: swash_fetch at
> P> /etc/mail/spamassassin/70_sare_specific.cf, rule SARE_SPEC_SHORTQ,
> line 1,
> P>  line 1706.
> 
> P> Ok, it looks like all these errors are due to a resend of the same
> stupid
> P> piece of red hot spam.  That SARE rule seems to be barfing from it. 
> I
> P> enclose it for those interested.
> 
> Peter, I ran your spam through my SA with that file/rule, and had no
> problem.   My test ran on Windows XP, Cygwin, SpamAssassin version
> 3.1.0, running on Perl version 5.8.5.
> 
> Can you use the command
> >  spamassassin -D redhot.out 2>redhot.err
> and see if the problem hits there?  If so, send me a copy of the two
> output files?
> 
> I can't see how such a short and sweet rule could cause this problem.
> Can use some help.
> 
> Also, maybe you can download a fresh copy of the specific.cf rules
> file, and see if maybe the copy you're running with has been corrupted
> some how?

I scanned it per your suggestion and I did not find anything wrong in the
output.  I guess that places the blame on amavisd-new.  It doesn't know
how to handle the output this rule provides???

--
Peter






__ 
Find your next car at http://autos.yahoo.ca


Re[2]: [SOLVED] Re: rules_du_jour/curl suddenly broken?

2006-01-11 Thread Robert Menschel
Hello Peter,

Wednesday, January 11, 2006, 7:31:39 PM, you wrote:

P> Looks like I had two problems simultaneously.  The update issue was not
P> causing the error it seems.  The real problem I'm encountering appears to
P> concern a particular SARE rule.  I am running amavisd-new with SA and this
P> is what I'm getting in my logs:

P> TROUBLE in check_mail: spam_scan FAILED: panic: swash_fetch at
P> /etc/mail/spamassassin/70_sare_specific.cf, rule SARE_SPEC_SHORTQ, line 1,
P>  line 1706.

P> Ok, it looks like all these errors are due to a resend of the same stupid
P> piece of red hot spam.  That SARE rule seems to be barfing from it.  I
P> enclose it for those interested.

Peter, I ran your spam through my SA with that file/rule, and had no
problem.   My test ran on Windows XP, Cygwin, SpamAssassin version
3.1.0, running on Perl version 5.8.5.

Can you use the command
>  spamassassin -D redhot.out 2>redhot.err
and see if the problem hits there?  If so, send me a copy of the two
output files?

I can't see how such a short and sweet rule could cause this problem.
Can use some help.

Also, maybe you can download a fresh copy of the specific.cf rules
file, and see if maybe the copy you're running with has been corrupted
some how?

Bob Menschel





Re: [SOLVED] Re: rules_du_jour/curl suddenly broken?

2006-01-11 Thread Peter
--- Matt Kettler <[EMAIL PROTECTED]> wrote:

> Peter wrote:
>  > False alarm.  I wasn't aware I needed outgoing port 80 open for RDJ.
> > Strange I never got these errors before.  Does it only use curl when
> it
> > detects (how?) an update is required?
> > 
> 
> Nope.. it always needs to go out over port 80. The "check for update" is
> done
> using HTTP "If-Modified-Since" requests.

Let's try that again...

Looks like I had two problems simultaneously.  The update issue was not
causing the error it seems.  The real problem I'm encountering appears to
concern a particular SARE rule.  I am running amavisd-new with SA and this
is what I'm getting in my logs:

TROUBLE in check_mail: spam_scan FAILED: panic: swash_fetch at
/etc/mail/spamassassin/70_sare_specific.cf, rule SARE_SPEC_SHORTQ, line 1,
 line 1706.

This started happening today at 14:00 hrs EST.  It's always the same rule
listed in the error (70_sare_specific.cf).

Blll

Ok, it looks like all these errors are due to a resend of the same stupid
piece of red hot spam.  That SARE rule seems to be barfing from it.  I
enclose it for those interested.

--
Peter






__ 
Find your next car at http://autos.yahoo.caSubject: New Books from Visual Reference Publications
MIME-Version: 1.0
Content-Type: multipart/alternative; 
boundary="=_Part_101226_96183233.1137006410573"
X-Roving-Queued: 20060111 02:06:50.573
X-Mailer: Roving Constant Contact 0 (http://www.constantcontact.com)
X-Return-Path-Hint: [EMAIL PROTECTED]
X-Roving-ID: 1101182589801
X-Lumos-SenderID: 1101181723793
X-Roving-CampaignId: 1101182589801
X-Roving-StreamId: 0
Date: Wed, 11 Jan 2006 13:55:17 -0500 (EST)

--=_Part_101226_96183233.1137006410573
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable


NEW BOOKS FROM THE VRP ONLINE BOOKSTORE

Hotel and Restaurant Design
by Roger Yee
Hotel and Restaurant Design (formerly Hospitality & Restaurant Design) 
show=
cases the=20
most current, inspirational design solutions gathered from 43 leading 
archi=
tectural/design=20
firms. Featured are over 200 international projects in the hotel, resort, 
s=
pa, theatre and=20
restaurant fields. The design solutions featured in this volume are 
organiz=
ed alphabetically
by design firm with all projects indexed for easy reference. This volume 
is=
 an inspiration=20
and a necessity to any professional engaged in the many forms of 
hospitalit=
y and=20
restaurant design.

356 pages =95 1,050 color photos =95 9=94 x 12=94 / hardbound
ISBN: 1-58471-085-3 =95 $60.00
Click here to view in more detail: 
http://www.vizzbiz.com/Merchant2/merchan=
t.mv?Screen=3DPROD&Store_Code=3DVRP&Product_Code=3DBK_HARD

SPECIAL ONLINE PROMOTION PRICE
PURCHASE BOTH TITLES FOR $75.00 PLUS $9.94 SHIPPING
YOU SAVE 25% OFF THE RETAIL PRICE - CLICK HERE FOR DETAILS:  
http://www.viz=
zbiz.com/Merchant2/merchant.mv?Screen=3DPROD&Store_Code=3DVRP&Product_Code=
=3DBK_HARD_AND_DBARS

Designing the World=92s Best Bars
by Martin M. Pegler
In Designing the World=92s Best Bars you will visit over 100 bars: some 
fre=
estanding, others=20
in nightclubs, hotels and restaurants. The featured architects/designers 
sh=
owcase some of
their finest accomplishments. This title is lavishly illustrated with over 
=
250 full-color photos=20
illustrating the designer=92s creative use of lighting, atmospheric decor, 
=
fixturing, high-tech=20
visual effects and unique floor treatments. The author provides expert 
comm=
entary on=20
each project. This is an invaluable sourcebook for interior designers and 
a=
rchitects working
in the burgeoning bar industry.

176 pages =95 8 1/2=94 x 11=94 =95 250 color photos / hardbound
ISBN: 1-58471-089-6 =95 $40.00
Click here to view in more detail:
http://www.vizzbiz.com/Merchant2/merchant.mv?Screen=3DPROD&Store_Code=3DVRP=
&Product_Code=3DBK_DBARS

YOU CAN ORDER FROM THE VRP ONLINE BOOKSTORE.  FOR DETAILS VISIT
http://www.visualreference.com
CREDIT CARD CUSTOMERS MAY CALL TOLL FREE 800-251-4545




This email was sent to [EMAIL PROTECTED],
by [EMAIL PROTECTED]

Update Profile/Email Address
http://ui.constantcontact.com/d.jsp?p=3Doo&m=3D1101181723793&ea=3Dtalia%40n=
etworkscanada.com&t=3D1101182589801&lang=3Den&reason=3DF

Instant removal with SafeUnsubscribe(TM)
http://ui.constantcontact.com/d.jsp?p=3Dun&m=3D1101181723793&ea=3Dtalia%40n=
etworkscanada.com&t=3D1101182589801&lang=3Den&reason=3DF

Privacy Policy:
http://ui.constantcontact.com/roving/CCPrivacyPolicy.jsp




Powered by
Constant Contact(R)
www.constantcontact.com




Visual Reference Publications | 302 Fifth Avenue, 11th Fl | New York | NY 
|=
 10001









--=_Part_101226_96183233.1137006410573
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 7bit



  
  Special Offers from Visual Reference Publications
http://rs6.net/on.jsp?t=1101182589801.0.1101181723793.2247&o=http://ui.consta

Re: [SOLVED] Re: rules_du_jour/curl suddenly broken?

2006-01-11 Thread Peter
--- Matt Kettler <[EMAIL PROTECTED]> wrote:

> Peter wrote:
>  > False alarm.  I wasn't aware I needed outgoing port 80 open for RDJ.
> > Strange I never got these errors before.  Does it only use curl when
> it
> > detects (how?) an update is required?
> > 
> 
> Nope.. it always needs to go out over port 80. The "check for update" is
> done
> using HTTP "If-Modified-Since" requests.

Looks like I had two problems simultaneously.  The update issue was not
causing the error it seems.  The real problem I'm encountering appears to
concern a particular SARE rule.  I am running amavisd-new with SA and this
is what I'm getting in my logs:

TROUBLE in check_mail: spam_scan FAILED: panic: swash_fetch at
/etc/mail/spamassassin/70_sare_specific.cf, rule SARE_SPEC_SHORTQ, line 1,
 line 1706.

This started happening today at 14:00 hrs EST.  It's always the same rule
listed in the error (70_sare_specific.cf).

Blll

Ok, it looks like all these errors are due to a resend of the same stupid
piece of red hot spam.  That SARE rule seems to be barfing from it.  I
enclose it for those interested.

--
Peter






__ 
Find your next car at http://autos.yahoo.ca
http://www.abisource.com/awml.dtd";>
http://www.w3.org/1999/XSL/Format"; 
xmlns:math="http://www.w3.org/1998/Math/MathML"; xid-max="356" 
xmlns:dc="http://purl.org/dc/elements/1.1/"; fileformat="1.0" 
xmlns:svg="http://www.w3.org/2000/svg"; 
xmlns:awml="http://www.abisource.com/awml.dtd"; 
xmlns="http://www.abisource.com/awml.dtd"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; version="0.99.2" 
xml:space="preserve" props="dom-dir:ltr; document-footnote-restart-section:0; 
document-endnote-type:numeric; document-endnote-place-enddoc:1; 
document-endnote-initial:1; lang:en-US; document-endnote-restart-section:0; 
document-footnote-restart-page:0; document-footnote-type:numeric; 
document-footnote-initial:1; document-endnote-place-endsection:0">








application/x-abiword
AbiWord









Subject: New 
Books from Visual Reference Publications
MIME-Version: 
1.0
Content-Type: 
multipart/alternative; 
 
boundary="=_Part_101226_96183233.1137006410573"
X-Roving-Queued: 
20060111 02:06:50.573
X-Mailer: Roving 
Constant Contact 0 (http://www.constantcontact.com)
X-Return-Path-Hint: [EMAIL PROTECTED]
X-Roving-ID: 
1101182589801
X-Lumos-SenderID: 1101181723793
X-Roving-CampaignId: 1101182589801
X-Roving-StreamId: 0
Date: Wed, 11 
Jan 2006 13:55:17 -0500 (EST)

--=_Part_101226_96183233.1137006410573
Content-Type: 
text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable


NEW BOOKS FROM 
THE VRP ONLINE BOOKSTORE

Hotel and 
Restaurant Design
by Roger Yee
Hotel and 
Restaurant Design (formerly Hospitality & Restaurant Design) 
show=
cases the=20
most current, 
inspirational design solutions gathered from 43 leading 
archi=
tectural/design=20
firms. Featured 
are over 200 international projects in the hotel, resort, 
s=
pa, theatre 
and=20
restaurant 
fields. The design solutions featured in this volume are 
organiz=
ed 
alphabetically
by design firm 
with all projects indexed for easy reference. This volume 
is=
 an 
inspiration=20
and a necessity 
to any professional engaged in the many forms of 
hospitalit=
y and=20
restaurant 
design.

356 pages =95 
1,050 color photos =95 9=94 x 12=94 / hardbound
ISBN: 
1-58471-085-3 =95 $60.00
Click here to 
view in more detail: 
http://www.vizzbiz.com/Merchant2/merchan=
t.mv?Screen=3DPROD&Store_Code=3DVRP&Product_Code=3DBK_HARD

SPECIAL ONLINE 
PROMOTION PRICE
PURCHASE BOTH 
TITLES FOR $75.00 PLUS $9.94 SHIPPING
YOU SAVE 25% 
OFF THE RETAIL PRICE - CLICK HERE FOR DETAILS:  
http://www.viz=
zbiz.com/Merchant2/merchant.mv?Screen=3DPROD&Store_Code=3DVRP&Product_Code=
=3DBK_HARD_AND_DBARS

Designing the 
World=92s Best Bars
by Martin M. 
Pegler
In Designing 
the World=92s Best Bars you will visit over 100 bars: some 
fre=
estanding, 
others=20
in nightclubs, 
hotels and restaurants. The featured architects/designers 
sh=
owcase some 
of
their finest 
accomplishments. This title is lavishly illustrated with over 
=
250 full-color 
photos=20
illustrating 
the designer=92s creative use of lighting, atmospheric decor, 
=
fixturing, 
high-tech=20
visual effects 
and unique floor treatments. The author provides expert 
comm=
entary on=20
each project. 
This is an invaluable sourcebook for interior designers and 
a=
rchitects 
working
in the 
burgeoning bar industry.

176 pages =95 8 
1/2=94 x 11=94 =95 250 color photos / hardbound
ISBN: 
1-58471-089-6 =95 $40.00
Click here to 
view in more detail:
http://www.vizzbiz.com/Merchant2/merchant.mv?Screen=3DPROD&Store_Code=3DVRP=
&Product_Code=3DBK_DBARS

YOU CAN ORDER 
FROM THE VRP ONLINE BOOKSTORE.  FOR DETAILS VISIT
http://www.visualreference.com
CREDIT CARD 
CUSTOMERS MAY CALL TOLL FREE 800-251-4545




This email was 
sent to [EMAIL PROTECTED],
by [EMAIL 
PROTECTED]

Update 

Re: [SOLVED] Re: rules_du_jour/curl suddenly broken?

2006-01-11 Thread jdow

From: "Matt Kettler" <[EMAIL PROTECTED]>

jdow wrote:

From: "Matt Kettler" <[EMAIL PROTECTED]>


Peter wrote:
> False alarm.  I wasn't aware I needed outgoing port 80 open for RDJ.


Strange I never got these errors before.  Does it only use curl when it
detects (how?) an update is required?



Nope.. it always needs to go out over port 80. The "check for update"
is done
using HTTP "If-Modified-Since" requests.



To be clearer, I use wget with ftp here. It would also work with http.


Erm.. That confuses me Joanne..

Yes, wget supports FTP, but none of the rule mirrors, such as rulesemporium, has
FTP access. So how is that relevant here?


I used to use ftp. It seems these days I do indeed use http via wget.
I was working on a stale memory there. Now that you mention it I remember
having to switch GetRules.sh over to http. When I first built it ftp
worked, I believe.


AFAIK pretty much the *only* way to get rule updates with RDJ is to use HTTP,
which is on port 80.

I can only speak conclusively about antidrug (which nobody using SA 3.0.0 or
higher should use), but I'll tell you for sure that there is no way to update
antidrug over FTP. HTTP only.


{^_^}



Re: [SOLVED] Re: rules_du_jour/curl suddenly broken?

2006-01-11 Thread Matt Kettler
jdow wrote:
> From: "Matt Kettler" <[EMAIL PROTECTED]>
> 
>> Peter wrote:
>> > False alarm.  I wasn't aware I needed outgoing port 80 open for RDJ.
>>
>>> Strange I never got these errors before.  Does it only use curl when it
>>> detects (how?) an update is required?
>>>
>>
>> Nope.. it always needs to go out over port 80. The "check for update"
>> is done
>> using HTTP "If-Modified-Since" requests.
> 
> 
> To be clearer, I use wget with ftp here. It would also work with http.

Erm.. That confuses me Joanne..

Yes, wget supports FTP, but none of the rule mirrors, such as rulesemporium, has
FTP access. So how is that relevant here?

AFAIK pretty much the *only* way to get rule updates with RDJ is to use HTTP,
which is on port 80.

I can only speak conclusively about antidrug (which nobody using SA 3.0.0 or
higher should use), but I'll tell you for sure that there is no way to update
antidrug over FTP. HTTP only.





Re: [SOLVED] Re: rules_du_jour/curl suddenly broken?

2006-01-11 Thread jdow

From: "Matt Kettler" <[EMAIL PROTECTED]>


Peter wrote:
> False alarm.  I wasn't aware I needed outgoing port 80 open for RDJ.

Strange I never got these errors before.  Does it only use curl when it
detects (how?) an update is required?



Nope.. it always needs to go out over port 80. The "check for update" is done
using HTTP "If-Modified-Since" requests.


To be clearer, I use wget with ftp here. It would also work with http.

{^_^}



Re: [SOLVED] Re: rules_du_jour/curl suddenly broken?

2006-01-11 Thread Matt Kettler
Peter wrote:
 > False alarm.  I wasn't aware I needed outgoing port 80 open for RDJ.
> Strange I never got these errors before.  Does it only use curl when it
> detects (how?) an update is required?
> 

Nope.. it always needs to go out over port 80. The "check for update" is done
using HTTP "If-Modified-Since" requests.



[SOLVED] Re: rules_du_jour/curl suddenly broken?

2006-01-11 Thread Peter

--- Peter <[EMAIL PROTECTED]> wrote:

> A couple of hours ago I started seeing errors regarding RDJ:
> 
> exec: curl -w %{http_code} --compressed -O -R -s -S -z
> /var/amavisd/etc/mail/spamassassin/RulesDuJour/rules_du_jour
> http://sandgnat.com/rdj/rules_du_jour 2>&1
> curl_output: curl: (7) Failed to connect to 208.42.148.125: No route to
> host
> 000
> Performing preliminary lint (sanity check; does the CURRENT config
> lint?).
> 
> I am running OpenBSD 3.8 on this server for a month now with no such
> errors.  Any ideas?  My internet connection is fine.  It is something to
> do with curl perhaps?

False alarm.  I wasn't aware I needed outgoing port 80 open for RDJ. 
Strange I never got these errors before.  Does it only use curl when it
detects (how?) an update is required?

--
Peter






__ 
Find your next car at http://autos.yahoo.ca