[xmail] Re: R: Re: xmail server is slow (and a question)

2004-09-22 Thread Davide Libenzi
On Wed, 22 Sep 2004, POPOLI Guido wrote:

 Maybe a virus spreading from some internal client?
 
 Davide, I know you're probably very busy with more important stuff, but =
 I was wondering if you had time to fix the Received: IP:PORT message? Or =
 can you give a look at the spamassassin received.pm module to give some =
 advice?

Yeah, I need to fix that. But I need also to sync with ppl parsing  
current format.



- Davide

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: R: Re: xmail server is slow (and a question)

2004-09-22 Thread CLEMENT Francis

 -Message d'origine-
 De : POPOLI Guido [mailto:[EMAIL PROTECTED]
 Envoy=E9 : mercredi 22 septembre 2004 13:58
 =C0 : [EMAIL PROTECTED]
 Objet : [xmail] R: Re: xmail server is slow (and a question)
=20
=20
 Maybe a virus spreading from some internal client?


Actually, 99,9% virus don't know how to use smtp auth feature (and =
retrieve
currently used cretendials for this mode from the mail agent) ... (I =
hope I
don't give ideas to spammers and others virus writers ;-) )

So switch you xmail server in 'NO RELAY' mode (clear smtprelay.tab =
file, and
set EnableAuthSMTP-POP3 in server.tab file to 0) THEN set you internal =
users
mail agent program to do smtp auth for sending.

Except for mails to 'local' xmail users, the others will be rejected by
xmail if smtp session is not authenticated.

Finaly scan your pcs for virus/trojans/spywares ... ;-)

Francis


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: R: Re: xmail server is slow (and a question)

2004-09-22 Thread Jason J. Ellingson
I've already submitted a fix request to the folks at SpamAssassin.  It
should be available in 3.0.1.

In the meantime, I've added the following to the Received.pm file just
before the check for /Exim/ mailers... (This assumes you are using XMail
1.20 and header option is 0 -- the default)

= BEGIN =
if (/\[XMail 1\.20 ESMTP Server\]/) {
  if (/^from (\S+) \((${IP_ADDRESS}):\d+\) by (\S+) with \[XMail 1\.20 ESMTP
Server\] id ([^]+) for \s+ from ([^]*);/) {
$helo = $1; $ip = $2; $by = $3; $id = $4; $envfrom = $5;
goto enough;
  }
}
= END =

Be careful of the linewrap... this is only 6 lines...
if...
  if...
$helo...
goto...
  }
}

Once you put this in place, you can compile SpamAssassin and you're good to
go!  It has been working for me great.  My first lines in perl!  (I'm an
ASP/VBScript/JavaScript guy)
--
Also, I've created a filter (written in VB.NET -- so it's Windows only) that
speaks in the latest SPAMC language (1.3)... It only does a PROCESS command
(as it won't even connect to the SPAMD server if it doesn't need to).  It's
small and fast, maintains the headers (stuff before MAIL-DATA) properly
and makes sure everything that comes back is CRLF compliant (as often emails
seem to be a mixture of LF and CRLF).  If it encounters ANY error or
problem, it will not modify your message.

It is my first VB.NET project I've written from scratch (only other work has
been adding features to XMail-WAI)... so it could definitely use help to
make it better I'll put up a webpage and such for it if anyone is
interested in it?

Jason J Ellingson
Technical Consultant

615.301.1682 : nashville
612.605.1132 : minneapolis

www.ellingson.com
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Davide Libenzi
Sent: Wednesday, September 22, 2004 7:03 AM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: R: Re: xmail server is slow (and a question)

On Wed, 22 Sep 2004, POPOLI Guido wrote:

 Maybe a virus spreading from some internal client?
 
 Davide, I know you're probably very busy with more important stuff, but =
 I was wondering if you had time to fix the Received: IP:PORT message? Or =
 can you give a look at the spamassassin received.pm module to give some =
 advice?

Yeah, I need to fix that. But I need also to sync with ppl parsing  
current format.



- Davide

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]