[imp] IMP and virus checking

Michael Redinger Michael.Redinger@uibk.ac.at
Mon, 7 Jan 2002 17:32:04 +0100 (CET)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> > However, for all of those that don't have an SMTP server that checks
> > for
> > viruses, here's a small patch (against compose.php) that checks uploaded
> > files
> > before attaching them.
> > The function expects an array - the first item is the return message
> > from
> > the scanner, the second the exit code of the virus scanner.
> > 
> > Attached you also find an example how to use this hook for 
> > McAfee VirusScan for UNIX.
> 
> What is the fopen("/tmp/vs") for?


Ooops, I included the wrong diff ... the diff contains two lines
with fopen I used for debugging (I like this more than echo ...). These
should have been removed ... :(

I also figured out why the virus checking didn't work when using SMTP ...
was my fault.
However, although this works for me now I keep using the local virus
scanner as the PEAR SMTP code doesn't return any useful information
(eg. that the sending problem was a virus, what virus was found ...).

Michael


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBPDnNiQ/XqdllwsEdEQLWZwCg4acQfzTWPC+0gSJW/QFwMBNQlqIAoNLV
wC+MZyE5FZZWoKaQN45ZfHQL
=6qMS
-----END PGP SIGNATURE-----




>From marcus@riboflavin.net Date: Mon,  7 Jan 2002 10:33:57 -0600
Return-Path: <marcus@riboflavin.net>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 37252 invoked from network); 7 Jan 2002 16:35:25 -0000
Received: from dsl.75.79.networkiowa.com (HELO www.riboflavin.net) (209.234.75.79)
  by clark.horde.org with SMTP; 7 Jan 2002 16:35:25 -0000
Received: from localhost (dsl.75.91.networkiowa.com [209.234.75.91])
	by www.riboflavin.net (8.11.1/8.11.1) with ESMTP id g07Gb4t68470
	for <imp@lists.horde.org>; Mon, 7 Jan 2002 10:37:04 -0600 (CST)
	(envelope-from marcus@riboflavin.net)
Received: from 209.234.75.79 ( [209.234.75.79])
	as user marcus@imap.riboflavin.net by horde.riboflavin.net with HTTP;
	Mon,  7 Jan 2002 10:33:57 -0600
Message-ID: <1010421237.3c39cdf549b0d@horde.riboflavin.net>
Date: Mon,  7 Jan 2002 10:33:57 -0600
From: "Marcus I. Ryan" <marcus@riboflavin.net>
To: imp@lists.horde.org
References: <Pine.LNX.4.04.10201060142150.10516-100000@tecoman.ucol.mx>
In-Reply-To: <Pine.LNX.4.04.10201060142150.10516-100000@tecoman.ucol.mx>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP: 209.234.75.79
Subject: New FAQ? (was Re: [imp] Preferences - search_fields)

This question seems to come up at least once a week.  Is this
something that could/should be added to the FAQ?  At least to the
documentation (if it isn't already there)?  I know I had to figure
this out by setting it the way I wanted, then look at the database
entry and go from there - it wasn't documented at the time. Of course,
it's been a while since I looked at the docs, so if it's already
there...nevermind :)

-- 
Marcus I. Ryan, marcus@riboflavin.net
-----------------------------------------------------------------------
 "Love is a snowmobile racing across the tundra and then suddenly it
 flips over, pinning you underneath.  At night, the ice weasels come."
                 -- Matt Groening
-----------------------------------------------------------------------


Quoting Raul Alvarez Venegas <rav@tecoman.ucol.mx>:

> 
> 
> On Sat, 5 Jan 2002, Omniflux wrote:
> 
> > In prefs.php there is this entry:
> > 
> > // field(s) to use when expanding addresses
> > $_prefs['search_fields'] = array(
> >     'value' => '',
> >     'locked' => false,
> >     'shared' => false,
> >     'type' => 'implicit'
> > );
> > 
> > But I'm not sure what to put in the value. I want name and email
> there by
> > default...
> > 
> > I put localsql in search_sources.
> > 
> > 
> > Anyone know what it should be?
> 
> Yes. It was discussed two days ago in this list.
> 
> http://marc.theaimsgroup.com/?l=imp&m=101009480101724&w=2
> 
> 
> Raul
> 
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 




>From jan@horde.org Date: Mon,  7 Jan 2002 17:34:59 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 38874 invoked from network); 7 Jan 2002 16:41:10 -0000
Received: from mailout10.sul.t-online.com (194.25.134.21)
  by clark.horde.org with SMTP; 7 Jan 2002 16:41:10 -0000
Received: from fwd05.sul.t-online.de 
	by mailout10.sul.t-online.de with smtp 
	id 16Ncpg-0006Yd-01; Mon, 07 Jan 2002 17:41:08 +0100
Received: from linux.wg.de (320034214675-0001@[217.225.46.107]) by fmrl05.sul.t-online.com
	with esmtp id 16NcpR-1lDzRQC; Mon, 7 Jan 2002 17:40:53 +0100
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g07GZ0919036
	for <imp@lists.horde.org>; Mon, 7 Jan 2002 17:35:00 +0100
Received: from 62.225.101.66 ( [62.225.101.66])
	as user jan@linux by jan.dip.ammma.net with HTTP;
	Mon,  7 Jan 2002 17:34:59 +0100
Message-ID: <1010421299.3c39ce33ccda9@jan.dip.ammma.net>
Date: Mon,  7 Jan 2002 17:34:59 +0100
From: Jan Schneider <jan@horde.org>
To: imp@lists.horde.org
References: <001901c19796$1ebd5e20$b0f0bad1@worldinter.net>
In-Reply-To: <001901c19796$1ebd5e20$b0f0bad1@worldinter.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] no POP3 inbox listing

Zitat von "Andrew Cook, WorldInter.net Administrator" 
<admin@worldinter.net>:

> horde-2.0
> imp-3.0
> 
> since imp has repeatedly decided to come up with problem after problem
> trying to read imap box's with little clues as to the problem (either it
> will crash the process trying to open the inbox if there is any mail, or
> it will open the mailbox and only see and display 4 mails at a time no
> matter what the prefs is set to...
> and yes, the imap server (imap-2001a) is working fine, other imap clients
> connect and read a-ok)
> ive gone to using pop3 instead, however now with pop3, it sees no emails
> at all, when there are mails present...

Do you also have the imap-2001a c-client compiled into php? There are some 
issues with this combination so you should check the mailing archives for 
more information about this.

Jan.

--
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::


>From marcus@riboflavin.net Date: Mon,  7 Jan 2002 10:46:04 -0600
Return-Path: <marcus@riboflavin.net>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 39982 invoked from network); 7 Jan 2002 16:47:28 -0000
Received: from dsl.75.79.networkiowa.com (HELO www.riboflavin.net) (209.234.75.79)
  by clark.horde.org with SMTP; 7 Jan 2002 16:47:28 -0000
Received: from localhost (dsl.75.91.networkiowa.com [209.234.75.91])
	by www.riboflavin.net (8.11.1/8.11.1) with ESMTP id g07GnBt68557
	for <imp@lists.horde.org>; Mon, 7 Jan 2002 10:49:11 -0600 (CST)
	(envelope-from marcus@riboflavin.net)
Received: from 209.234.75.79 ( [209.234.75.79])
	as user marcus@imap.riboflavin.net by horde.riboflavin.net with HTTP;
	Mon,  7 Jan 2002 10:46:04 -0600
Message-ID: <1010421964.3c39d0ccdc69f@horde.riboflavin.net>
Date: Mon,  7 Jan 2002 10:46:04 -0600
From: "Marcus I. Ryan" <marcus@riboflavin.net>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP: 209.234.75.79
Subject: More detail in Error viewing message error

I am using IMP/HORDE/etc., CVS and occassionally I get (roughly)
"There was an error displaying the message".  It gives no detail about
what the message is, but when I click on the message again it
displays.  Is this something that can be set to elaborate more, or is
it something I'll need to add debugging for myself?  Unfortunately, I
can't recreate it so I can't tell what to look for.  It's almost like
it's a timing issue...

-- 
Marcus I. Ryan, marcus@riboflavin.net
-----------------------------------------------------------------------
 "Love is a snowmobile racing across the tundra and then suddenly it
 flips over, pinning you underneath.  At night, the ice weasels come."
                 -- Matt Groening
-----------------------------------------------------------------------