[Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Bas van Rooijen
ClamAV is rejecting messages where the recipient address contains a | (pipe character).. Why is this? Is | a virus now? Can this behaviour be disabled? Are you planning on blocking other random characters from appearing in the recipient adres? thanks, bvr. __

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Rob MacGregor
On Mon, Apr 14, 2008 at 11:09 AM, Bas van Rooijen <[EMAIL PROTECTED]> wrote: > > ClamAV is rejecting messages where the recipient address contains a | (pipe > character).. > > Why is this? Is | a virus now? > > Can this behaviour be disabled? > > Are you planning on blocking other random chara

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Bas van Rooijen
Rob MacGregor wrote: > On Mon, Apr 14, 2008 at 11:09 AM, Bas van Rooijen > <[EMAIL PROTECTED]> wrote: >> ClamAV is rejecting messages where the recipient address contains a | (pipe >> character).. >> >> Why is this? Is | a virus now? >> >> Can this behaviour be disabled? >> >> Are you planning

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Ralf Hildebrandt
* Bas van Rooijen <[EMAIL PROTECTED]>: > Yes. I'm certain ClamAV is behind it; we're using postfix with ClamAV-milter, > > - the message immediately rejected with the same error message, > - the message is also written to the clamav.log, > - if you google for the error a short discussion will co

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Henrik K
On Mon, Apr 14, 2008 at 11:55:08AM +0100, Rob MacGregor wrote: > On Mon, Apr 14, 2008 at 11:09 AM, Bas van Rooijen > <[EMAIL PROTECTED]> wrote: > > > > ClamAV is rejecting messages where the recipient address contains a | > > (pipe character).. > > > > Why is this? Is | a virus now? > > > > Can

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Bas van Rooijen
Mon Apr 14 13:07:57 2008 -> WARNING: Suspicious recipient address blocked: 'test|[EMAIL PROTECTED]' Ralf Hildebrandt wrote: > * Bas van Rooijen <[EMAIL PROTECTED]>: > >> Yes. I'm certain ClamAV is behind it; we're using postfix with ClamAV-milter, >> >> - the message immediately rejected with t

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Bas van Rooijen
> On Mon, Apr 14, 2008 at 11:09 AM, Bas van Rooijen > <[EMAIL PROTECTED]> wrote: >> ClamAV is rejecting messages where the recipient address contains a | (pipe >> character).. >> >> Why is this? Is | a virus now? >> >> Can this behaviour be disabled? >> >> Are you planning on blocking other ra

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread kwijibo
Bas van Rooijen wrote: > Thanks for the replies so far; > > however please note I already know the problem is ClamAV (hence i'm writing > to this list..) > > Is there anyone who can answer my actual questions? > Comment out the check in the source and recompile? ___

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Török Edwin
[EMAIL PROTECTED] wrote: > Bas van Rooijen wrote: > >> Thanks for the replies so far; >> >> however please note I already know the problem is ClamAV (hence i'm writing >> to this list..) >> >> Is there anyone who can answer my actual questions? >> >> > > Comment out the check in the source

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread John Rudd
Török Edwin wrote: > [EMAIL PROTECTED] wrote: >> Bas van Rooijen wrote: >> >>> Thanks for the replies so far; >>> >>> however please note I already know the problem is ClamAV (hence i'm writing >>> to this list..) >>> >>> Is there anyone who can answer my actual questions? >>> >>> >> Comme

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Török Edwin
John Rudd wrote: > Török Edwin wrote: > >> [EMAIL PROTECTED] wrote: >> >>> Bas van Rooijen wrote: >>> >>> Thanks for the replies so far; however please note I already know the problem is ClamAV (hence i'm writing to this list..) Is there anyone who c

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Bas van Rooijen
John Rudd wrote: > Török Edwin wrote: >> [EMAIL PROTECTED] wrote: >>> Bas van Rooijen wrote: >>> Thanks for the replies so far; however please note I already know the problem is ClamAV (hence i'm writing to this list..) Is there anyone who can answer my actual ques

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Bryan Bradsby
> It took 2 seconds to grep ClamAV sources.. > > clamav-milter.c > > if(strchr("|;", *ptr) != NULL) { > smfi_setreply(ctx, "554", "5.7.1", _("Suspicious recipient address blocked")); > > Yes it seems | and ; are blocked. The "|" character might be used to expolit SMTP servers. It has no valid plac

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Michael Brown
The | character is not allowed in any e-mail address because it's a Unix shell reserved character. Here's a list right off the top of my head that are usually blocked/disabled by just about every MTA out there. 1. Control Characters 2. Space 3. ! 4. " 5. # 6. $ 7. % 8. &

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Alan Stern
On Mon, 14 Apr 2008, Michael Brown wrote: > The | character is not allowed in any e-mail address because it's a Unix > shell reserved character. > > Here's a list right off the top of my head that are usually > blocked/disabled by just about every MTA out there. > >1. Control Characters >

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Randal Hicks
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Apr 14, 2008, at 10:30 AM, Michael Brown wrote: > The | character is not allowed in any e-mail address because it's a > Unix > shell reserved character. > > Here's a list right off the top of my head that are usually > blocked/disabled by just ab

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Bit Fuzzy
Alan Stern wrote: > There's certainly something wrong here. The open and close bracket > characters ('[' and ']', items 19 and 21) can indeed be part of a valid > email address. For example: [EMAIL PROTECTED] > There's a difference between "[EMAIL PROTECTED]" which would be invalid and [E

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Bas van Rooijen
Bit Fuzzy wrote: > Alan Stern wrote: >> There's certainly something wrong here. The open and close bracket >> characters ('[' and ']', items 19 and 21) can indeed be part of a valid >> email address. For example: [EMAIL PROTECTED] >> > > There's a difference between "[EMAIL PROTECTED]" whi

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Stephen Gran
On Mon, Apr 14, 2008 at 05:22:56PM +0200, Bas van Rooijen said: > postfix would accept all three forms even > and why not ?? I assume you haven't looked at sendmail's security record. This has been a pretty standard thing to do for a long time, and with even more characters than the milter curren

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread David F. Skoll
Stephen Gran wrote: > I assume you haven't looked at sendmail's security record. This has > been a pretty standard thing to do for a long time, and with even more > characters than the milter currently uses. That may be true, but filtering suspicious recipient addresses is beyond the scope of a

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Stephen Gran
On Mon, Apr 14, 2008 at 12:05:05PM -0400, David F. Skoll said: > Stephen Gran wrote: > > > I assume you haven't looked at sendmail's security record. This has > > been a pretty standard thing to do for a long time, and with even more > > characters than the milter currently uses. > > That may be

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread Sarocet
Michael Brown wrote: > The | character is not allowed in any e-mail address because it's a Unix > shell reserved character. > > Here's a list right off the top of my head that are usually > blocked/disabled by just about every MTA out there. > >1. Control Characters >2. Space >3. ! >

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-14 Thread John Rudd
David F. Skoll wrote: > Stephen Gran wrote: > >> I assume you haven't looked at sendmail's security record. This has >> been a pretty standard thing to do for a long time, and with even more >> characters than the milter currently uses. > > That may be true, but filtering suspicious recipient ad

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-15 Thread Tilman Schmidt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 14.04.2008 16:30 schrieb Michael Brown: > The | character is not allowed in any e-mail address because it's a Unix > shell reserved character. RFC 2822 disagrees with you. To begin with, there's no reason reserved characters of any Unix shell or o

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-15 Thread Michael Brown
Your dissecting my personal experience which makes all your points, while valid, moot for my experience. :-) Tilman Schmidt wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am 14.04.2008 16:30 schrieb Michael Brown: > >> The | character is not allowed in any e-mail address because

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-15 Thread John Rudd
Tilman Schmidt wrote: > So why am I dissecting that list like this? Just to show that blocking > or not blocking certain unusal characters in mail addresses is indeed a > policy decision which should not be forced by a piece of software, but at > most offered as a configurable option. Absolutely

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-15 Thread Dave Warren
In message <[EMAIL PROTECTED]> Stephen Gran <[EMAIL PROTECTED]> wrote: >On Mon, Apr 14, 2008 at 05:22:56PM +0200, Bas van Rooijen said: >> postfix would accept all three forms even >> and why not ?? > >I assume you haven't looked at sendmail's security record. I, for one, have made it a point t

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-15 Thread John Rudd
Dave Warren wrote: > In message <[EMAIL PROTECTED]> Stephen Gran > <[EMAIL PROTECTED]> wrote: > >> On Mon, Apr 14, 2008 at 05:22:56PM +0200, Bas van Rooijen said: >>> postfix would accept all three forms even >>> and why not ?? >> I assume you haven't looked at sendmail's security record. > > I

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-15 Thread John W. Baxter
On 4/15/08 5:09 PM, "John Rudd" <[EMAIL PROTECTED]> wrote: > Tilman Schmidt wrote: > >> So why am I dissecting that list like this? Just to show that blocking >> or not blocking certain unusal characters in mail addresses is indeed a >> policy decision which should not be forced by a piece of sof

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-16 Thread Eric Rostetter
Quoting John Rudd <[EMAIL PROTECTED]>: > Tilman Schmidt wrote: > >> So why am I dissecting that list like this? Just to show that blocking >> or not blocking certain unusal characters in mail addresses is indeed a >> policy decision which should not be forced by a piece of software, but at >> most

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread John Rudd
Eric Rostetter wrote: > Quoting John Rudd <[EMAIL PROTECTED]>: > >> Tilman Schmidt wrote: >> >>> So why am I dissecting that list like this? Just to show that blocking >>> or not blocking certain unusal characters in mail addresses is indeed a >>> policy decision which should not be forced by a pi

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread Tilman Schmidt
Eric Rostetter schrieb: Quoting John Rudd <[EMAIL PROTECTED]>: It is not ClamAV's place to make policy decisions for me. And ClamAV does not. The milter is. That distinction is immaterial. The milter comes as part of the ClamAV package. s/ClamAV/clamav-milter/ throughout my posting if you

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread David F. Skoll
John Rudd wrote: > It is never good to be "the wrong tool for the job", nor "fixing > something that isn't broken". And, therefore, it is doubly bad to be both. In general: DO NOT HARDCODE POLICY Otherwise, your tool becomes irritating or possibly even harmful. Regards, Davi

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread Eric Rostetter
Quoting John Rudd <[EMAIL PROTECTED]>: >> And ClamAV does not. The milter is. And the milter is designed to >> work with sendmail. And if leaving this enabled by default produces >> an exploitable sendmail, then it is wrong. > > It does not. What leaves an exploitable sendmail is a poorly >

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread Eric Rostetter
Quoting Tilman Schmidt <[EMAIL PROTECTED]>: > That distinction is immaterial. The milter comes as part of the ClamAV > package. s/ClamAV/clamav-milter/ throughout my posting if you want, it > doesn't change my argument in any way. I think it completely changes your argument. Had you done that in

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread Eric Rostetter
Quoting "David F. Skoll" <[EMAIL PROTECTED]>: > In general: > > DO NOT HARDCODE POLICY > > Otherwise, your tool becomes irritating or possibly even harmful. In general, don't distribute code that allows remote root exploit of systems. Otherwise, your tool becomes irritating or poss

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread Sloan
Eric Rostetter wrote: > Quoting "David F. Skoll" <[EMAIL PROTECTED]>: > > >> In general: >> >> DO NOT HARDCODE POLICY >> >> Otherwise, your tool becomes irritating or possibly even harmful. >> > > In general, don't distribute code that allows remote root exploit of systems. > >

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread SM
At 14:42 17-04-2008, Eric Rostetter wrote: >I don't know the history of this expliot, etc. So I can't comment on >whether the fix should stay or not. It would depend on the default >settings for sendmail, how long the fix has been in sendmail, how widely >available the patched sendmail is today,

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread Eric Rostetter
Quoting SM <[EMAIL PROTECTED]>: > At 14:42 17-04-2008, Eric Rostetter wrote: >> I don't know the history of this expliot, etc. > > Do you know which version of sendmail can be used with the > milter? If the exploit is prior to that, then the fix may not be applicable. I never argued otherwise.

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread David F. Skoll
Eric Rostetter wrote: > In general, don't distribute code that allows remote root exploit of > systems. Sendmail doesn't allow remote exploit due to recipient addresses with funny characters in them. It certainly hasn't since Milter has been around, so "fixing" the problem in a milter is dumb.

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread David F. Skoll
Eric Rostetter wrote: > For all I know, from what _little_ I know, the problem is in the > popen() call in the milter, Yikes popen() In a piece of SECURITY software??? I'm very glad I've never used Clam's milter. Regards, David. ___ Help us

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread David F. Skoll
Eric Rostetter wrote: > Well, we disagree on that point. It is a security tool, and as such > has an even greater burden to try to be as secure as possible. In order for a security tool to be "as secure as possible", it first of all needs to adhere to this basic principle: The tool behaves

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread Eric Rostetter
Quoting "David F. Skoll" <[EMAIL PROTECTED]>: > Unless the behaviour with weird recipient addresses was prominently > advertised, > then it's surprising behaviour, and surprising behaviour is the enemy of > security. As I said in almost every message so far, yes, it should have been documented.

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread Eric Rostetter
Quoting "David F. Skoll" <[EMAIL PROTECTED]>: > Sendmail doesn't allow remote exploit due to recipient addresses with > funny characters in them. It certainly hasn't since Milter has been > around, so "fixing" the problem in a milter is dumb. Not if the problem is in the milter, or in the shell

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-17 Thread Henrik K
On Thu, Apr 17, 2008 at 09:10:45PM -0400, David F. Skoll wrote: > Eric Rostetter wrote: > > > For all I know, from what _little_ I know, the problem is in the > > popen() call in the milter, > > Yikes popen() > > In a piece of SECURITY software??? > > I'm very glad I've never used Clam'

Re: [Clamav-users] WARNING: Suspicious recipient address blocked

2008-04-22 Thread Tilman Schmidt
Interestingly enough, since that discussion started I see a significant increase in incoming mails for recipient addresses starting with a pipe character. This was very rare in the past: looking back through the logs I found just a small series on 2007-07-13 and three isolated attempts in Septembe