RE: [Mimedefang] mimedefang not scanning

2004-08-24 Thread Andrew Jayes
Hi, a few answers.

"You did include the milter applications in the sendmail.mc? Set

define(`confMILTER_LOG_LEVEL', `14')dnl"

yes, that's set

" in /etc/sysconfig/mimedefang set"

I do not have this file in this location, any thoughts?

"# Set to the syslog facility.  Also set $SyslogFacility in your filter
SYSLOG_FACILITY=mail"

I don't seam to have this in the filter, but I am not a perl coder, any advice on what 
to put and where to put it?

I have attached the result of mimedefang.pl -features

-

Here is one of the entry's from the maillog, I can not see any filter interaction.

Aug 23 16:22:20 mailgate1 sendmail[20101]: i7NFMJbK020099: to=<[EMAIL PROTECTED]>, 
delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=42921, relay=edmund.hetb.co.uk. 
[10.107.3.10], dsn=2.0.0, stat=Sent ( <[EMAIL PROTECTED]> Queued mail for delivery)

Also, as an aside, I do see a lot of these entry's can you tell me what they are?

Aug 23 16:02:21 mailgate1 sm-msp-queue[20034]: i7NAF006019141: to=postmaster, 
delay=04:47:06, xdelay=00:00:00, mailer=relay, pri=492915, relay=[127.0.0.1], 
dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

Cheers,

---
Andrew Jayes
e-Business Officer
Heart of England Tourism
 
Tel: 01905 76 11 20
Fax:01905 76 34 50
e-Mail: [EMAIL PROTECTED]
 
 
 
 
 
 

-Original Message-
From: Alexander Dalloz [mailto:[EMAIL PROTECTED] 
Sent: 23 August 2004 17:04
To: [EMAIL PROTECTED]
Subject: Re: [Mimedefang] mimedefang not scanning

Am Mo, den 23.08.2004 schrieb Andrew Jayes um 17:16:

>   For some reason mimedefang is not scanning any mail that is passing through 
> sendmail.
> 
> Fedora core
> Sendmail
> mimedefang
> Spam assassin
> Clamd
> NAI
> 
> In the mimedefang config I have code setup so that anything that is scanned has a 
> header added to say x-spam
> scanned and x-virus scanned. At the moment all mail that comes through does not have 
> this header.

> Andrew Jayes

You did include the milter applications in the sendmail.mc? Set

define(`confMILTER_LOG_LEVEL', `14')dnl

in the sendmail.mc and in /etc/sysconfig/mimedefang set

# Set to the syslog facility.  Also set $SyslogFacility in your filter
SYSLOG_FACILITY=mail

and observe the maillog when mails are processed. I assume
"mimedefang.pl -features" does list SA and ClamAV and uvscan.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 17:58:01 up 3 days, 13:40, load average: 1.68, 1.41, 1.38 

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
MIMEDefang Version 2.42

Archive::Zip: yes
HTML::Parser: yes
HTML::TokeParser: yes
Path:CONFDIR: yes (/etc/mail)
Path:QUARANTINEDIR  : yes (/var/spool/MD-Quarantine)
Path:SENDMAIL   : yes (/usr/sbin/sendmail)
Path:SPOOLDIR   : yes (/var/spool/MIMEDefang)
SpamAssassin: yes
Virus:CLAMAV: yes (/usr/local/bin/clamscan)
Virus:CLAMD : yes (/usr/local/sbin/clamd)
Virus:NAI   : yes (/usr/local/bin/uvscan)
File::Scan  : no
HTMLCleaner : no
Unix::Syslog: no
Virus:AVP   : no
Virus:AVP5  : no
Virus:BDC   : no
Virus:FPROT : no
Virus:FPROTD: no
Virus:FSAV  : no
Virus:FileScan  : no
Virus:HBEDV : no
Virus:NVCC  : no
Virus:OpenAV: no
Virus:SOPHIE: no
Virus:SOPHOS: no
Virus:SymantecCSS   : no
Virus:TREND : no
Virus:TROPHIE   : no
Virus:VEXIRA: no

Anomy::HTMLCleaner  : missing
Archive::Zip: Version 1.10
Digest::SHA1: Version 2.10
File::Scan  : missing
HTML::Parser: Version 3.36
HTML::TokeParser: Version 2.28
IO::Socket  : Version 1.28
IO::Stringy : Version 2.109
MIME::Base64: Version 3.01
MIME::Tools : Version 5.411
MIME::Words : Version 5.404
Mail::Mailer: Version 1.62
Mail::SpamAssassin  : Version 2.60
Unix::Syslog: missing
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.

RE: [Mimedefang] mimedefang not scanning

2004-08-24 Thread Andrew Jayes
Ok, so it seams to have started scanning, no idea why. But the ps axf is showing mail 
coming into the queue and 'mimdefang.pl - sever' spawning uvscan. 

The problem now is that uvscan seams to be crashing

2030 ?  R 11:57 /usr/local/bin/uvscan --noboot --secure --allole. /Work

and then after a few minutes all of the uvscan entry's were moved to the bottom of the 
ps axf away from the mimedefang.pl - server lines, which are now asleep.

Is there something I need to change to allow uvscan to run properly? Or keep the 
mimedefang.pl - server running for longer?

Cheers,


---
Andrew Jayes
e-Business Officer
Heart of England Tourism
 
Tel: 01905 76 11 20
Fax:01905 76 34 50
e-Mail: [EMAIL PROTECTED]
 
 
 
 
 
 

-Original Message-
From: Alexander Dalloz [mailto:[EMAIL PROTECTED] 
Sent: 23 August 2004 18:03
To: [EMAIL PROTECTED]
Subject: RE: [Mimedefang] mimedefang not scanning

Am Mo, den 23.08.2004 schrieb Andrew Jayes um 18:24:

> Ok, check one done I do have the milter compiled. 
> 
>   "Also ensure that your filter logs all messages, and then check thatin 
> your mail log you do indeed get a message from the filter."
> 
> How do I ensure that the filter logs the messages? And where is the maillog for 
> sendmail located, and just in case, is the message from the filter an obvious "yea 
> this went through the filter"

/var/log/maillog

Yes, processing is obvious from the log.

> Andrew Jayes

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 19:01:54 up 3 days, 14:44, load average: 1.45, 1.69, 1.60 

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] Not an ARRAY reference error

2004-08-24 Thread Marco Berizzi
Thanks a lot Paul. It'w working now.
One question: is there any way to be notified when
a slave die?


Paul Murphy wrote:

Marco,

I believe it's failing because you are calling file-based code on a
directory
entry in the Zip file.

Instead, I use code which skips directory entries:

if ($zip->read($path) == AZ_OK) # file is OK and can be read
  {
  md_syslog('debug', "Scanning zip file, Path=$path");
  my $tfname = Archive::Zip::tempFileName('.');
  my @members = $zip->members();
  foreach my $member (@members)
{
if (! $member->isDirectory()) # no sense worrying about
folders
  {
  my $file = $member->fileName();
  $size = $member->uncompressedSize();  # check for DoS
content
  md_syslog('debug', "scanning ZIP member $file,
size=$size");
  if ($size > 50e6) # approx 50Mb
{
md_graphdefang_log('Archive member too big', $file,
$RelayAddr);
action_discard();
return;
}
..

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


[Mimedefang] Relay problem ...

2004-08-24 Thread Karl Oulmi
Hi,
I have a fresh install of MD 2.44 running with Sendmail 8.13.1 on a 
FreeBSD 5.2.1. All is working great except when MD try to send a email 
alert to $AdminAddress.

Indeed, MD seems to force sendmail to use a forged relay 
([EMAIL PROTECTED]) whereas it should be something like 
relay=localhost or [EMAIL PROTECTED]

It's all the most pretty strange that when MD send its Quarantine Report 
or its notification, it works fine!

Thanks for your help...
KARL :)
// from mimedefang.conf
$AdminAddress = '[EMAIL PROTECTED]'
$DaemonAddress = '[EMAIL PROTECTED]'
// From my log when MD send a mail to $AdminAdress
Aug 24 13:38:19 mailserver sendmail[2195]: i7ODcJCt002195: 
[EMAIL PROTECTED], delay=00:00:00, mailer=esmtp, pri=139395, 
dsn=4.4.3, stat=queued
Aug 24 13:38:19 mailserver sendmail[2196]: i7ODcJvD002196: 
Authentication-Warning: mailserver.mydomain.fr: mimedefang set sender to 
[EMAIL PROTECTED] using -f
Aug 24 13:38:19 mailserver sendmail[2196]: i7ODcJvD002196: 
[EMAIL PROTECTED], size=301, class=-60, nrcpts=1, 
msgid=<[EMAIL PROTECTED]>,
[EMAIL PROTECTED]

// From my log, when MD sends a Notification
Aug 24 13:57:44 mailserver sm-mta[2256]: i7ODvie2002256: 
from=<[EMAIL PROTECTED]>, size=542, class=-60, nrcpts=1, 
msgid=<[EMAIL PROTECTED]>, proto=ESMTP, 
daemon=MTA, relay=localhost.mydomain.fr [127.0.0.1]
Aug 24 13:57:46 mailserver mimedefang.pl[2163]: 
MDLOG,i7ODvie2002256,mail_in,,,<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,MIMEDefang 
Notification
--
_
Karl OULMI
Institut de Biologie de Lille - CNRS FRC3
1, rue du Professeur Calmette - BP 447
59021 LILLE Cedex - FRANCE
Tél : 03.20.87.10.30  Fax : 03.20.87.10.19
_
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] whitelist_from not working

2004-08-24 Thread Scott Plumlee
Been going through this myself.  I use the 
/etc/mail/spamassassin/sa-mimedefang.cf file instead as that is 
seatrched for first.  Make sure you read perldoc 
Mail::SpamAssassin::Conf and verify that you are using whitelist_from 
and whitelist_from_rcvd correctly.  I keep kicking myself as I realize 
how I've got things not quite right.

Mike Carlson wrote:
I have MimeDefang installed on a FreeBSD 4.8 box and I am running into a problem where a whitelisted address is still getting tagged as spam. I have added the address to /usr/local/etc/mail/spamassassin/local.cf
 
Is there another place I should be putting it? There is a /usr/local/etc/mimedefang/sa-mimedefang.cf file, should I be putting my white lists there?
 
--Mike Carlson
--
Scott Plumlee
PGP Public key: http://plumlee.org/pgp/   D64C 47D9 B855 5829 D22A D390 
F8E2 9B58 9CBF 1F8D
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


[Mimedefang] MIMEDefang 2.45-BETA-3 is available

2004-08-24 Thread David F. Skoll
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

MIMEDefang 2.45-BETA-3 is available at http://www.mimedefang.org/node.php?id=1

I would like this to be the last beta before the 2.45 Final release.
Full changelog going back to 2.44 follows.

Regards,

David.

2004-08-23  David F. Skoll  <[EMAIL PROTECTED]>

* Version 2.45-BETA-3 released.

* Makefile.in: Prevent sa-mimedefang.cf from being overwritten.

* mimedefang.filter.5.in:  Correct some documentation errors.

* mimedefang.pl.in: Added and documented read_commands_file function
so that you can initialize certain global variables in
filter_sender and filter_recipient.  Code contributed by
Jan Pieter Cornet.

* mimedefang-multiplexor.c: Log UNIX error code if problem
communicating with a slave.

* mimedefang-multiplexor.c: Implement new commands "help",
"slaves", and "slaveinfo".

* watch-mimedefang: added -command, -interval, -10s, -1m, -5m,
-10m and -title command-line options.

* mimedefang.pl.in(message_contains_virus_clamd): Time out if
clamd doesn't respond in 8 seconds.  Based on a patch from Chris
Myers.

* mimedefang-spec.in: Fix error in %preun script.

* watch-mimedefang.in: Many bug fixes.

2004-07-28  David F. Skoll  <[EMAIL PROTECTED]>

* Version 2.45-BETA-2 released.

* Makefile.in: Do not overwrite /etc/mail/sa-mimedefang.cf in
install-redhat target

* mimedefang-multiplexor.c: Track average latency of scan commands.

* watch-mimedefang.in: Huge rewrite.  Displays a lot more info about
the MIMEDefang server.  Can monitor a remote MIMEDefang server over
a low-bandwidth SSH connection.

* mimedefang.pl.in: Log helpful messages if clamd fails with an
error (Tomas Kopal)

* md-mx-ctrl.c: Support the "-i" command-line option to read commands
from stdin and send results to stdout.  Used to support
watch-mimedefang's low-bandwidth remote monitoring.


2004-07-23  David F. Skoll  <[EMAIL PROTECTED]>

* Version 2.45-BETA-1 released.

* mimedefang-filter.5.in: Clarified description of action_bounce.

* mimedefang-multiplexor.c: Added support for keeping "load average"
histories so you can see how loaded your system is.

* mimedefang-multiplexor.c: Raw 'status' output includes time when
multiplexor was first started.

* md-mx-ctrl.8.in: Documented new 'load' and 'rawload' commands.

* mimedefang.pl.in: Implemented a new set of RBL lookup functions
that perform multiple lookups in parallel and allow you to set
a timeout (the timeout applies to ALL lookups, not each individual
lookup.)  These new functions require the Net::DNS module.

* md-mx-ctrl.c: Implement 'load' and 'rawload' commands.

2004-07-15  David F. Skoll  <[EMAIL PROTECTED]>

*  Version 2.44 RELEASED
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQFBK0mDdB1gkTPXMwsRAiaYAKCFSAdu3ymMA7TDlR7O/VBwkXK2VgCfdH3J
A/hfc5wQRME+7IVU5q/DK7s=
=Xaqo
-END PGP SIGNATURE-
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


RE: [Mimedefang] Not an ARRAY reference error

2004-08-24 Thread Paul Murphy
Marco,

If a slave dies, there will be an entry in the mail log from the multiplexor, as
it will lose communications.  See also the man pages for mimedefang-notify and
mimedefang-multiplexor, which give details of a neat system to make
notifications available.

Best Wishes,

Paul.
__
Paul Murphy
Head of Informatics
Ionix Pharmaceuticals Ltd
418 Science Park, Cambridge, CB4 0PA

Tel. 01223 433741
Fax. 01223 433788


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Marco Berizzi
> Sent: 24 August 2004 14:12
> To: [EMAIL PROTECTED]
> Subject: Re: [Mimedefang] Not an ARRAY reference error
> 
> 
> Thanks a lot Paul. It'w working now.
> One question: is there any way to be notified when
> a slave die?
> 
> 
> Paul Murphy wrote:
> 
> Marco,
> 
> I believe it's failing because you are calling file-based code on a
> directory
> entry in the Zip file.
> 
> Instead, I use code which skips directory entries:
> 
> if ($zip->read($path) == AZ_OK) # file is OK and can be read
>   {
>   md_syslog('debug', "Scanning zip file, Path=$path");
>   my $tfname = Archive::Zip::tempFileName('.');
>   my @members = $zip->members();
>   foreach my $member (@members)
> {
> if (! $member->isDirectory()) # no sense worrying about
> folders
>   {
>   my $file = $member->fileName();
>   $size = $member->uncompressedSize();  # check for DoS
> content
>   md_syslog('debug', "scanning ZIP member $file,
> size=$size");
>   if ($size > 50e6) # approx 50Mb
> {
> md_graphdefang_log('Archive member too big', $file,
> $RelayAddr);
> action_discard();
> return;
> }
> ..
> 
> ___
> Visit http://www.mimedefang.org and http://www.canit.ca
> MIMEDefang mailing list
> [EMAIL PROTECTED]
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
> 

___
DISCLAIMER:
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to which they
are addressed.  If you have received this email in error please contact
the sender or the Ionix IT Helpdesk on +44 (0) 1223 433741
___ 

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


RE: [Mimedefang] Not an ARRAY reference error

2004-08-24 Thread David F. Skoll
On Tue, 24 Aug 2004, Paul Murphy wrote:

> it will lose communications.  See also the man pages for
> mimedefang-notify and mimedefang-multiplexor, which give details of
> a neat system to make notifications available.

That gave me an idea... for 2.45 Final, there will be a new "U" notification
message that gets emitted when a slave dies unexpectedly.

Regards,

David.
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


RE: [Mimedefang] mimedefang not scanning

2004-08-24 Thread Alexander Dalloz
Am Di, den 24.08.2004 schrieb Andrew Jayes um 13:15:

> Is there something I need to change to allow uvscan to run properly? Or keep the 
> mimedefang.pl - server running for longer?

> Andrew Jayes

Use the current uvscan version, should be version 4.32.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 16:35:16 up 4 days, 12:17, load average: 1.42, 1.43, 1.20 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


RE: [Mimedefang] Not an ARRAY reference error

2004-08-24 Thread Paul Murphy
> That gave me an idea... for 2.45 Final, there will be a new "U" notification
> message that gets emitted when a slave dies unexpectedly.

Excellent, thanks David!

Best Wishes,

Paul.
__
Paul Murphy
Head of Informatics
Ionix Pharmaceuticals Ltd
418 Science Park, Cambridge, CB4 0PA

Tel. 01223 433741
Fax. 01223 433788


___
DISCLAIMER:
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to which they
are addressed.  If you have received this email in error please contact
the sender or the Ionix IT Helpdesk on +44 (0) 1223 433741
___ 

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] Not an ARRAY reference error

2004-08-24 Thread Marco Berizzi

David F. Skoll wrote:

> On Tue, 24 Aug 2004, Paul Murphy wrote:
>
> > it will lose communications.  See also the man pages for
> > mimedefang-notify and mimedefang-multiplexor, which give details of
> > a neat system to make notifications available.
>
> That gave me an idea... for 2.45 Final, there will be a new "U"
notification
> message that gets emitted when a slave dies unexpectedly.

oh oh oh GREAT!!!

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] MIMEDefang 2.45-BETA-3 is available

2004-08-24 Thread Stephen J Smoogen
David F. Skoll wrote:
Hi,
MIMEDefang 2.45-BETA-3 is available at http://www.mimedefang.org/node.php?id=1
I would like this to be the last beta before the 2.45 Final release.
Full changelog going back to 2.44 follows.
Regards,
David.
How long of a test period do you want. I am running BETA2 on a small 
site at the moment without too many issues {all of the issues have been 
me being silly... except the sa-mimedefang overwritten one}.

Also could you update the tar balls of recommended CPAN items to use if 
there have been any changes to what you would consider golden versus 
dead. I see that the DAG repository now has RPMs for mimedefang and 
such.. so you probably dont need my spec files now that I finally got 
the time to do them :(.

2004-08-23  David F. Skoll  <[EMAIL PROTECTED]>
* Version 2.45-BETA-3 released.
* Makefile.in: Prevent sa-mimedefang.cf from being overwritten.
* mimedefang.filter.5.in:  Correct some documentation errors.
* mimedefang.pl.in: Added and documented read_commands_file function
so that you can initialize certain global variables in
filter_sender and filter_recipient.  Code contributed by
Jan Pieter Cornet.
* mimedefang-multiplexor.c: Log UNIX error code if problem
communicating with a slave.
* mimedefang-multiplexor.c: Implement new commands "help",
"slaves", and "slaveinfo".
* watch-mimedefang: added -command, -interval, -10s, -1m, -5m,
-10m and -title command-line options.
* mimedefang.pl.in(message_contains_virus_clamd): Time out if
clamd doesn't respond in 8 seconds.  Based on a patch from Chris
Myers.
* mimedefang-spec.in: Fix error in %preun script.
* watch-mimedefang.in: Many bug fixes.

--
Stephen John Smoogen[EMAIL PROTECTED]
Los Alamos National Lab  CCN-5 | PH: 4-0645
Ta-03 SM-1498 MailStop B255 DP 10S  Los Alamos, NM 87545
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


[Mimedefang] watch-defang -- mimedefang-2.45-BETA-3

2004-08-24 Thread Tony Nelson
After upgrading, I tried watch-defang again.

Server is Slackware 10, client is WindowsXP running CygWin.. 

Started watch-defang as follows:

watch-mimedefang -command 'ssh [EMAIL PROTECTED] md-mx-ctrl'

running the ssh command from the command prompt works as expected.

In the watch-defang window, I get the following error:

sytax error in expression " / 604800": unexpected operator /

Any help would be greatly appreciated.

-- 
Tony Nelson
Director of IT Operations
Starpoint Solutions LLC
115 Broadway, 2nd Fl
New York, NY  10006


This message was sent using IMP, the Internet Messaging Program.


This email message from Starpoint Solutions LLC is for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.  Any 
unauthorized review, use, disclosure or distribution is prohibited.  If you are not 
the intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.  Opinions, conclusions and other information in this 
message that do not relate to the official business of Starpoint Solutions shall be 
understood as neither given nor endorsed by it.
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] watch-defang -- mimedefang-2.45-BETA-3

2004-08-24 Thread David F. Skoll
On Tue, 24 Aug 2004, Tony Nelson wrote:

> Server is Slackware 10, client is WindowsXP running CygWin..

What version of Tcl/Tk do you have?

Are you sure you installed 2.45-BETA-3 on your server?

Is the Cygwin SSH a transparent connection?

I'm unable to replicate this error.

Regards,

David.
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] watch-defang -- mimedefang-2.45-BETA-3

2004-08-24 Thread Tony Nelson
Quoting "David F. Skoll" <[EMAIL PROTECTED]>:

> On Tue, 24 Aug 2004, Tony Nelson wrote:
> 
> > Server is Slackware 10, client is WindowsXP running CygWin..
> 
> What version of Tcl/Tk do you have?
> 

Cygwin 8.4.1 

> Are you sure you installed 2.45-BETA-3 on your server?
> 

[EMAIL PROTECTED]:~# mimedefang -v
mimedefang version 2.45


> Is the Cygwin SSH a transparent connection?
> 

[EMAIL PROTECTED] ~
$ ssh [EMAIL PROTECTED] md-mx-ctrl status | head -3
Max slaves: 24
Slave 0: stopped
Slave 1: idle

> I'm unable to replicate this error.
> 

I am starting watch-defang as:

[EMAIL PROTECTED] /usr/local/bin
$ watch-mimedefang -command 'ssh [EMAIL PROTECTED] md-mx-ctrl'

This may sound odd, but I'm not very familiar w/ tcl/tk .. to get the
watch-defang script on my Windows box, I just copied from /usr/local/bin on my
mail server.. was there anything else I might have had to do?

Tony


This message was sent using IMP, the Internet Messaging Program.


This email message from Starpoint Solutions LLC is for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.  Any 
unauthorized review, use, disclosure or distribution is prohibited.  If you are not 
the intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.  Opinions, conclusions and other information in this 
message that do not relate to the official business of Starpoint Solutions shall be 
understood as neither given nor endorsed by it.
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] watch-defang -- mimedefang-2.45-BETA-3

2004-08-24 Thread David F. Skoll
On Tue, 24 Aug 2004, Tony Nelson wrote:

> > Is the Cygwin SSH a transparent connection?

> [EMAIL PROTECTED] ~
> $ ssh [EMAIL PROTECTED] md-mx-ctrl status | head -3
> Max slaves: 24
> Slave 0: stopped
> Slave 1: idle

How about:

ssh [EMAIL PROTECTED] md-mx-ctrl rawload
ssh [EMAIL PROTECTED] md-mx-ctrl rawload | wc

Do you have a Linux or UNIX box lying around you can test as a client?

Regards,

David.
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] watch-defang -- mimedefang-2.45-BETA-3

2004-08-24 Thread Tony Nelson
Quoting "David F. Skoll" <[EMAIL PROTECTED]>:

> On Tue, 24 Aug 2004, Tony Nelson wrote:
> 
> > > Is the Cygwin SSH a transparent connection?
> 
> > [EMAIL PROTECTED] ~
> > $ ssh [EMAIL PROTECTED] md-mx-ctrl status | head -3
> > Max slaves: 24
> > Slave 0: stopped
> > Slave 1: idle
> 
> How about:
> 
>   ssh [EMAIL PROTECTED] md-mx-ctrl rawload
>   ssh [EMAIL PROTECTED] md-mx-ctrl rawload | wc
> 

$ ssh [EMAIL PROTECTED] md-mx-ctrl rawload
0 7 36 142 1.00 1.142857 1.33 1.225352 0.00 977.571429 1500.08
935.154930 0 4 20 0 2262 49 0 0 17242

[EMAIL PROTECTED] ~
$ ssh [EMAIL PROTECTED] md-mx-ctrl rawload | wc 
  1  21 121

> Do you have a Linux or UNIX box lying around you can test as a client?
> 

Very interesting.. works just fine on a Debian box down the hall.. 

Don't know if there is a new ver of tcl/tk for Cygwin.. doing an upgrade now..
will advise.




This message was sent using IMP, the Internet Messaging Program.


This email message from Starpoint Solutions LLC is for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.  Any 
unauthorized review, use, disclosure or distribution is prohibited.  If you are not 
the intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.  Opinions, conclusions and other information in this 
message that do not relate to the official business of Starpoint Solutions shall be 
understood as neither given nor endorsed by it.
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] watch-defang -- mimedefang-2.45-BETA-3

2004-08-24 Thread Tony Nelson
Quoting "David F. Skoll" <[EMAIL PROTECTED]>:

> On Tue, 24 Aug 2004, Tony Nelson wrote:
> 
> Do you have a Linux or UNIX box lying around you can test as a client?
> 

Upgrading cygwin didn't help at all either :(

I wish I knew tcl/tk so I could venture into the code.. maybe I'll dive in and
see if I find anything interesting.

Tony


This message was sent using IMP, the Internet Messaging Program.


This email message from Starpoint Solutions LLC is for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.  Any 
unauthorized review, use, disclosure or distribution is prohibited.  If you are not 
the intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.  Opinions, conclusions and other information in this 
message that do not relate to the official business of Starpoint Solutions shall be 
understood as neither given nor endorsed by it.
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] watch-defang -- mimedefang-2.45-BETA-3

2004-08-24 Thread David F. Skoll
On Tue, 24 Aug 2004, Tony Nelson wrote:

> I wish I knew tcl/tk so I could venture into the code.. maybe I'll
> dive in and see if I find anything interesting.

I don't think it's a Tcl/Tk issue.  It is probably a Windows issue;
the last number in the "rawload" output doesn't seem to be read by the
Tcl code.

Regards,

David.
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] watch-defang -- mimedefang-2.45-BETA-3

2004-08-24 Thread Tony Nelson
Ok.. after playing w/ TCL, I've deterimined that for some reason, the get_status
function/method (whatever TCL calls it) is not working.. it's returning 

"error: Unknown command"

Notice: error is all in lower case.. not sure if that's a bug, but it appears
that watch-mimedefang is looking for ERROR.. changing the string match on line
428 to all lower case gives a different error in my window:

"invalid command name "" "

Gotta get a bigger shovel to get a little deaper..

Tony




This message was sent using IMP, the Internet Messaging Program.


This email message from Starpoint Solutions LLC is for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.  Any 
unauthorized review, use, disclosure or distribution is prohibited.  If you are not 
the intended recipient, please contact the sender by reply email and destroy all 
copies of the original message.  Opinions, conclusions and other information in this 
message that do not relate to the official business of Starpoint Solutions shall be 
understood as neither given nor endorsed by it.
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] watch-defang -- mimedefang-2.45-BETA-3

2004-08-24 Thread David F. Skoll
Hi, Tony.

> "error: Unknown command"

It's a Windows thing...

Look for the line that reads:

set CtrlFD [open "|$MD_MX_CTRL -s $MD_Socket -i" "r+"]

(around line 441 of the script).

Immediately after that line, put:

fconfigure $CtrlFD -translation binary

and give that a shot...

[EMAIL PROTECTED](&#$&*(#$ Windoze

Regards,

David.
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang