Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Ralf Heidenreich
Hello,

amavis is working in pre-queue mode.
Now i have the following in maillog.
amavis[27477]: (27477-10) (!)ESMTP: NOTICE: Connection broken during 
data transfer
#
  amavis[27477]: (27477-20) load: 7 %, total idle 7483.147 s, busy 541.002 s
#
amavis needs too long time, to check the mail. See busy 541.002 s.
Postfix timeout is
smtpd_proxy_timeout = 300
Any ideas??

greetings
Ralf

mouss schrieb:
 Ralf Heidenreich a écrit :
 Hello,

 i think i preferr the option with two ipaddresses.
 
 and I agree with you!
 
 cheers,
 -- mouss
 
 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 AMaViS-user mailing list
 AMaViS-user@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/amavis-user 
  AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
  AMaViS-HowTos:http://www.amavis.org/howto/ 


--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Ralf Heidenreich
Hello,

before i was using amavis in post-queue mode.
But due to german law, i must use amavis in pre-queue mode.
How can i accelerate amavis, to use it in pre-queue mode?

Ralf

Alexander Wirt schrieb:
 Ralf Heidenreich schrieb am Montag, den 29. Dezember 2008:
 
 Hello,

 amavis is working in pre-queue mode.
 Now i have the following in maillog.
 amavis[27477]: (27477-10) (!)ESMTP: NOTICE: Connection broken during 
 data transfer
 #
   amavis[27477]: (27477-20) load: 7 %, total idle 7483.147 s, busy 541.002 s
 #
 amavis needs too long time, to check the mail. See busy 541.002 s.
 Postfix timeout is
 smtpd_proxy_timeout = 300
 Any ideas??
 Yes, don't do it. Using a full bloated amavis in pre-queue mode is a stupid
 idea just for that reasons. 
 
 Alex


--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread mouss
Ralf Heidenreich a écrit :
 Hello,
 
 before i was using amavis in post-queue mode.
 But due to german law, i must use amavis in pre-queue mode.
 How can i accelerate amavis, to use it in pre-queue mode?
 
 Ralf
 
 Alexander Wirt schrieb:
 Ralf Heidenreich schrieb am Montag, den 29. Dezember 2008:

 Hello,

 amavis is working in pre-queue mode.
 Now i have the following in maillog.
 amavis[27477]: (27477-10) (!)ESMTP: NOTICE: Connection broken during 
 data transfer

if mail scanning takes too long, the client will timeout. only use
pre-queue if you can scan fast. if you have too many SA rules or if you
have a slow machine, then pre-queue is the wrong approach.

 #
   amavis[27477]: (27477-20) load: 7 %, total idle 7483.147 s, busy 541.002 s
 #
 amavis needs too long time, to check the mail. See busy 541.002 s.
 Postfix timeout is
 smtpd_proxy_timeout = 300
 Any ideas??
 Yes, don't do it. Using a full bloated amavis in pre-queue mode is a stupid
 idea just for that reasons. 

 Alex
 
 
 --
 ___
 AMaViS-user mailing list
 AMaViS-user@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/amavis-user 
  AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
  AMaViS-HowTos:http://www.amavis.org/howto/ 


--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Michael Scheidell
 Hello,
 
 before i was using amavis in post-queue mode.
 But due to german law, i must use amavis in pre-queue mode.
 How can i accelerate amavis, to use it in pre-queue mode?
 \

Just curious:

What is english translation of german law, something like
You must use amabisd-new in pre-queue mode under penalty of law?

Since amavisd-new in pre-queue mode is SLOW SLOW ... SLOW,  as you have
been warned, and since their are lots of site in Germany using amavisd-new
in post-queue mode, maybe you need to look to see what the german law really
says and see if their might be a better supported way to do this?

Has it something to do with backscatter? Then just disable bounces.

Has it something to do with the RFC's REQUIRING DSN if the email fails?


You are NOT going to get amavisd-new to run fast in pre-queue mode, so, get
your blue pin stripped suite ready since you and every system administrator
in Germany is about to put into jail.


-- 
Michael Scheidell, CTO
|SECNAP Network Security
Winner 2008 Network Products Guide Hot Companies
FreeBSD SpamAssassin Ports maintainer


_
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.secnap.com/products/spammertrap/
_

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Steve

 Original-Nachricht 
 Datum: Mon, 29 Dec 2008 12:15:22 -0500
 Von: Michael Scheidell scheid...@secnap.net
 An: Ralf Heidenreich r...@lx-work.de, AMaViS-user@lists.sourceforge.net
 Betreff: Re: [AMaViS-user] Amavis in pre-queue mode

  Hello,
  
  before i was using amavis in post-queue mode.
  But due to german law, i must use amavis in pre-queue mode.
  How can i accelerate amavis, to use it in pre-queue mode?
  \
 
 Just curious:
 
 What is english translation of german law, something like
 You must use amabisd-new in pre-queue mode under penalty of law?
 
Sie müssen Amavisd-New im pre-queue Modus benützen wegen der deutschen 
Gesetzgebung.


 Since amavisd-new in pre-queue mode is SLOW SLOW ... SLOW,  as you
 have
 been warned, and since their are lots of site in Germany using amavisd-new
 in post-queue mode, maybe you need to look to see what the german law
 really
 says and see if their might be a better supported way to do this?
 
 Has it something to do with backscatter? Then just disable bounces.
 
 Has it something to do with the RFC's REQUIRING DSN if the email fails?
 
 
 You are NOT going to get amavisd-new to run fast in pre-queue mode, so,
 get
 your blue pin stripped suite ready since you and every system
 administrator
 in Germany is about to put into jail.
 
The point is that German law is saying that IF you take the mail, then you HAVE 
to deliver it. You can theoretically take the mail into queue and not deliver 
it but you need to get permission from the mail owner to do so. And if it comes 
hard on hard, then the original recipient still has the possibility to say that 
you deleted the mail and then you are lost. That kind of risk no one wants to 
take. I know, I know. It is stupid but Germany is full of regulations all over 
the place. Lucky me I am from Switzerland :)

 
 -- 
 Michael Scheidell, CTO
 |SECNAP Network Security
 Winner 2008 Network Products Guide Hot Companies
 FreeBSD SpamAssassin Ports maintainer
 
 
 _
 This email has been scanned and certified safe by SpammerTrap(r). 
 For Information please see http://www.secnap.com/products/spammertrap/
 _
 
 --
 ___
 AMaViS-user mailing list
 AMaViS-user@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/amavis-user 
  AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
  AMaViS-HowTos:http://www.amavis.org/howto/ 

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Henrik K
On Mon, Dec 29, 2008 at 12:15:22PM -0500, Michael Scheidell wrote:
  Hello,
  
  before i was using amavis in post-queue mode.
  But due to german law, i must use amavis in pre-queue mode.
  How can i accelerate amavis, to use it in pre-queue mode?
  \
 
 Just curious:
 
 What is english translation of german law, something like
 You must use amabisd-new in pre-queue mode under penalty of law?
 
 Since amavisd-new in pre-queue mode is SLOW SLOW ... SLOW

What's all the fuss about SLOW SLOW BOOM BOOM it's gonna explode?

It's slow if you use smtpd_proxy_filter and gazillion amavisd processes.
Probably something like that is the case here..

Using amavisd-milter is much better option, you can control concurrent
process amount and socket queue. No limiting then needed for postfix
processes, you can do do cheap rejects before amavisd (unknown users,
helo/rbl etc).

Of course you do have to know something about your average traffic and
hardware limits. But nothing wrong about running pre-queue scanning.


--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Alexander Wirt
Henrik K schrieb am Montag, den 29. Dezember 2008:

Hi,
 
*snip*

 Using amavisd-milter is much better option, you can control concurrent
 process amount and socket queue. No limiting then needed for postfix
 processes, you can do do cheap rejects before amavisd (unknown users,
 helo/rbl etc).
 
 Of course you do have to know something about your average traffic and
 hardware limits. But nothing wrong about running pre-queue scanning.
Sure. But about doing full bloated SA and Virusscanning in pre-queue. You can
do wonderful denial of service attacks with such mail systems :). 

Do cheap things at pre-queue time (header checks, helo...) and the bloated,
expensive things after queue. 

Just my 2 cent
Alex
-- 
Alexander Wirt, formo...@formorer.de 
CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Alexander Wirt
Steve schrieb am Montag, den 29. Dezember 2008:

Hi,

*snip*

 The point is that German law is saying that IF you take the mail, then you 
 HAVE to deliver it. You can theoretically take the mail into queue and not 
 deliver it but you need to get permission from the mail owner to do so. And 
 if it comes hard on hard, then the original recipient still has the 
 possibility to say that you deleted the mail and then you are lost. That kind 
 of risk no one wants to take. I know, I know. It is stupid but Germany is 
 full of regulations all over the place. Lucky me I am from Switzerland :)
Of course there are some options to get out of this problem. Having a on-site
policy signed by every recipient is one option (in my eyes the best) or just
not discard mails. Tag them and let the recipient decide (let them use sieve,
sql baseѕ policies with a webfrontend, client side filtering and so on). 

This is what most administrators in Germeny do. 

Alex
-- 
Alexander Wirt, formo...@formorer.de 
CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread mouss
Henrik K a écrit :
 On Mon, Dec 29, 2008 at 12:15:22PM -0500, Michael Scheidell wrote:
 Hello,

 before i was using amavis in post-queue mode.
 But due to german law, i must use amavis in pre-queue mode.
 How can i accelerate amavis, to use it in pre-queue mode?
 \
 Just curious:

 What is english translation of german law, something like
 You must use amabisd-new in pre-queue mode under penalty of law?

 Since amavisd-new in pre-queue mode is SLOW SLOW ... SLOW
 
 What's all the fuss about SLOW SLOW BOOM BOOM it's gonna explode?
 
 It's slow if you use smtpd_proxy_filter 

That's what I understood by pre-queue. vocabulary from the days before
milter support in postfix...

 and gazillion amavisd processes.
 Probably something like that is the case here..

or huge or slow SA rules.

 
 Using amavisd-milter is much better option, you can control concurrent
 process amount and socket queue.

how?

if you configure postfix to accept 100 simultaneous connections, then
you should be prepared to filter 100 simultaneous messages (I am talking
pre-queue here).

but even assuming a single message. if the time it takes to scan is
long, the client may disconnect. I don't know if caching would help here
(so that next time, the message is filtered quickly).

Can you explain why -milter would be better than proxy_filter.

 No limiting then needed for postfix
 processes, you can do do cheap rejects before amavisd (unknown users,
 helo/rbl etc).
 

Yes. That should be the first thing to do when setting up an anti-spam
server/relay/... etc.

 Of course you do have to know something about your average traffic and
 hardware limits. But nothing wrong about running pre-queue scanning.
 


--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread mouss
Steve a écrit :
  Original-Nachricht 
 Datum: Mon, 29 Dec 2008 12:15:22 -0500
 Von: Michael Scheidell scheid...@secnap.net
 [snip]
 Just curious:

 What is english translation of german law, something like
 You must use amabisd-new in pre-queue mode under penalty of law?

 Sie müssen Amavisd-New im pre-queue Modus benützen wegen der deutschen 
 Gesetzgebung.
 

;-p

 

 The point is that German law is saying that IF you take the mail, then you 
 HAVE to deliver it. You can theoretically take the mail into queue and not 
 deliver it but you need to get permission from the mail owner to do so. And 
 if it comes hard on hard, then the original recipient still has the 
 possibility to say that you deleted the mail and then you are lost. That kind 
 of risk no one wants to take. I know, I know. It is stupid but Germany is 
 full of regulations all over the place. Lucky me I am from Switzerland :)

I understand this in the case of an ISP/MSP/..., but does this law apply
to corporate mail and the like?

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Henrik K
On Mon, Dec 29, 2008 at 06:54:52PM +0100, Alexander Wirt wrote:
  Using amavisd-milter is much better option, you can control concurrent
  process amount and socket queue. No limiting then needed for postfix
  processes, you can do do cheap rejects before amavisd (unknown users,
  helo/rbl etc).
  
  Of course you do have to know something about your average traffic and
  hardware limits. But nothing wrong about running pre-queue scanning.

 Sure. But about doing full bloated SA and Virusscanning in pre-queue. You can
 do wonderful denial of service attacks with such mail systems :). 

What do you think happens when after-queue scanner is flooded with millions
of DoS mails? It will start crawling just the same. Only difference is where
your mail is jammed, your disk or sending mail servers.

:):)

 Do cheap things at pre-queue time (header checks, helo...) and the bloated,
 expensive things after queue. 

Only if you are seriously underpowered.


--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Alexander Wirt
Henrik K schrieb am Monday, den 29. December 2008:

 On Mon, Dec 29, 2008 at 06:54:52PM +0100, Alexander Wirt wrote:
   Using amavisd-milter is much better option, you can control concurrent
   process amount and socket queue. No limiting then needed for postfix
   processes, you can do do cheap rejects before amavisd (unknown users,
   helo/rbl etc).
   
   Of course you do have to know something about your average traffic and
   hardware limits. But nothing wrong about running pre-queue scanning.
 
  Sure. But about doing full bloated SA and Virusscanning in pre-queue. You 
  can
  do wonderful denial of service attacks with such mail systems :). 
 
 What do you think happens when after-queue scanner is flooded with millions
 of DoS mails? It will start crawling just the same. Only difference is where
 your mail is jammed, your disk or sending mail servers.
 
 :):)
Ehm no. I can decide to stuff with the mail, do some priorisation. But I have
the mail. Which is a big difference to the mail is lost in somebody else
queue. 

 
  Do cheap things at pre-queue time (header checks, helo...) and the bloated,
  expensive things after queue. 
 
 Only if you are seriously underpowered.
No. At least not from my experience as a mail administrator.

Alex



--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Henrik K
On Mon, Dec 29, 2008 at 07:39:00PM +0100, Alexander Wirt wrote:
 Henrik K schrieb am Monday, den 29. December 2008:
 
  On Mon, Dec 29, 2008 at 06:54:52PM +0100, Alexander Wirt wrote:
Using amavisd-milter is much better option, you can control concurrent
process amount and socket queue. No limiting then needed for postfix
processes, you can do do cheap rejects before amavisd (unknown users,
helo/rbl etc).

Of course you do have to know something about your average traffic and
hardware limits. But nothing wrong about running pre-queue scanning.
  
   Sure. But about doing full bloated SA and Virusscanning in pre-queue. You 
   can
   do wonderful denial of service attacks with such mail systems :). 
  
  What do you think happens when after-queue scanner is flooded with millions
  of DoS mails? It will start crawling just the same. Only difference is where
  your mail is jammed, your disk or sending mail servers.
  
  :):)
 Ehm no. I can decide to stuff with the mail, do some priorisation. But I have
 the mail. Which is a big difference to the mail is lost in somebody else
 queue. 

That's a small plus. But if someone really wants to DoS you, your smtpd's
are easily maxed out etc. No point making decisions on fear, if you don't
have a real reason to be afraid (being attractive target).

  
   Do cheap things at pre-queue time (header checks, helo...) and the 
   bloated,
   expensive things after queue. 
  
  Only if you are seriously underpowered.
 No. At least not from my experience as a mail administrator.

There are many scenarios where it fits and doesn't fit. I'm too lazy/busy
right now to start getting to the pros and cons of all. It's pretty simple
to figure out. Discussions can also be found from many mailing list
archives..


--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Curtis Maurand

I'm not even using the milter (though I'd like to.) and I'm running on 
Postfix blocking 30,000+ messages per day (most through spamhaus),  but 
other's through amavis.  Amavis is painfully slow, but I've found that 
it runs much better on multi-core processors (go figure).  Its also a 
memory hog, but I think part of that is Perl's interpereter. 

In post queue mode, you set the quarantiine/discard number to something 
unbelievably high so that mail doesn't get rejected and then deliver it, 
but mark the header and let the end user decide what they want to do.

--Curtis Maurand
www.xyonet.com

Henrik K wrote:
 On Mon, Dec 29, 2008 at 12:15:22PM -0500, Michael Scheidell wrote:
   
 Hello,

 before i was using amavis in post-queue mode.
 But due to german law, i must use amavis in pre-queue mode.
 How can i accelerate amavis, to use it in pre-queue mode?
 \
   
 Just curious:

 What is english translation of german law, something like
 You must use amabisd-new in pre-queue mode under penalty of law?

 Since amavisd-new in pre-queue mode is SLOW SLOW ... SLOW
 

 What's all the fuss about SLOW SLOW BOOM BOOM it's gonna explode?

 It's slow if you use smtpd_proxy_filter and gazillion amavisd processes.
 Probably something like that is the case here..

 Using amavisd-milter is much better option, you can control concurrent
 process amount and socket queue. No limiting then needed for postfix
 processes, you can do do cheap rejects before amavisd (unknown users,
 helo/rbl etc).

 Of course you do have to know something about your average traffic and
 hardware limits. But nothing wrong about running pre-queue scanning.


 --
 ___
 AMaViS-user mailing list
 AMaViS-user@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/amavis-user 
  AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
  AMaViS-HowTos:http://www.amavis.org/howto/ 
   

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Michael Scheidell
The point is 
 that German law is saying that IF you take the mail, then you HAVE to deliver
 it. You can theoretically take the mail into queue and not deliver it but you
 need to get permission from the mail owner to do so. And if it comes hard on
 hard, then the original recipient still has the possibility to say that you
 deleted the mail and then you are lost. That kind of risk no one wants to
 take. I know, I know. It is stupid but Germany is full of regulations all over
 the place. Lucky me I am from Switzerland :)
Of course there are some options
 to get out of this problem. Having a on-site
policy signed by every recipient
 is one option (in my eyes the best) or just
not discard mails.

All you net lawyers:

Third option? Host the PRE-FILTER APPLIANCE in another country :-)?

Is that how google/gmail got around it? I cannot imagine gmail deciding to
deliver (and TAG) all spam now.

This applies to viruses also.  User has to be informed if they get a virus.

As for 'in the queue' or not in the queue, is there really a legal
distinction between blocking a virus a few cpu and hard disk cycles early?

Even with 'prequeue' email, amavisd -new already has the email in $HOME/tmp,
so, guess what:  the email was already delivered to your system, its just in
amavisds temp directory and not in postfix's queue.

-- 
Michael Scheidell, CTO
|SECNAP Network Security
Winner 2008 Network Products Guide Hot Companies
FreeBSD SpamAssassin Ports maintainer


_
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.secnap.com/products/spammertrap/
_

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread mouss
Michael Scheidell a écrit :
 The point is 
 that German law is saying that IF you take the mail, then you HAVE to deliver
 it. You can theoretically take the mail into queue and not deliver it but you
 need to get permission from the mail owner to do so. And if it comes hard on
 hard, then the original recipient still has the possibility to say that you
 deleted the mail and then you are lost. That kind of risk no one wants to
 take. I know, I know. It is stupid but Germany is full of regulations all 
 over
 the place. Lucky me I am from Switzerland :)
 Of course there are some options
 to get out of this problem. Having a on-site
 policy signed by every recipient
 is one option (in my eyes the best) or just
 not discard mails.
 
 All you net lawyers:
 
 Third option? Host the PRE-FILTER APPLIANCE in another country :-)?
 
 Is that how google/gmail got around it? I cannot imagine gmail deciding to
 deliver (and TAG) all spam now.
 
 This applies to viruses also.  User has to be informed if they get a virus.
 
 As for 'in the queue' or not in the queue, is there really a legal
 distinction between blocking a virus a few cpu and hard disk cycles early?
 
 Even with 'prequeue' email, amavisd -new already has the email in $HOME/tmp,
 so, guess what:  the email was already delivered to your system, its just in
 amavisds temp directory and not in postfix's queue.
 

Here's my understanding:

if you don't deliver mail to the recipient, then you should reject it
during the SMTP transaction. In short, mail shouldn't disappear without
the sender or the recipient knowledge and agreement.

so a pre-queue should be fully compliant. the facts that the bits are
on your HD are no more relevant than they were in some fiber or router...

now, what if spam is stored on an old and cheap HD?




--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Michael Scheidell


mouss wrote:

 now, what if spam is stored on an old and cheap HD?

   
dog ate my HD.

as well, I read its illegal to deliver harmful content.. like a virus.

Anyone got an (english) sample of a company policy for employees to read?

sounds like (other option) would be to just tag everything and deliver 
it.  let the user decide if [SPAM] or [SPAMMY] should go to junk folder 
or bit bucket.

also sounds like same lawmakers that outlawed 'nmap' in germany wrote 
this law.

-- 
Michael Scheidell, CTO
Phone: 561-999-5000, x 1259
  *| *SECNAP Network Security Corporation

* Certified SNORT Integrator
* King of Spam Filters, SC Magazine 2008
* Information Security Award 2008, Info Security Products Guide
* CRN Magazine Top 40 Emerging Security Vendors

_
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.secnap.com/products/spammertrap/
_

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Steve

 Original-Nachricht 
 Datum: Mon, 29 Dec 2008 18:51:26 +0100
 Von: Alexander Wirt formo...@formorer.de
 An: Steve stev...@gmx.net
 CC: AMaViS-user@lists.sourceforge.net
 Betreff: Re: [AMaViS-user] Amavis in pre-queue mode

 Steve schrieb am Montag, den 29. Dezember 2008:
 
 Hi,
 
 *snip*
 
  The point is that German law is saying that IF you take the mail, then
 you HAVE to deliver it. You can theoretically take the mail into queue and
 not deliver it but you need to get permission from the mail owner to do so.
 And if it comes hard on hard, then the original recipient still has the
 possibility to say that you deleted the mail and then you are lost. That kind
 of risk no one wants to take. I know, I know. It is stupid but Germany is
 full of regulations all over the place. Lucky me I am from Switzerland :)
 Of course there are some options to get out of this problem. Having a
 on-site
 policy signed by every recipient is one option (in my eyes the best) or
 just
 not discard mails. Tag them and let the recipient decide (let them use
 sieve,
 sql baseѕ policies with a webfrontend, client side filtering and so on). 
 
 This is what most administrators in Germeny do. 
 
It's ultra okay with me. I have no issue. I would deliver anything. If the user 
want's it, why not? If the law is requesting/enforcing it, why not? I don't see 
such a big issue. The only issue I see are the various virus/trojans/etc. I bet 
that no matter how hard you try to tag or change the mail (subject change, 
header change, etc) and warn the user: HE/SHE WILL INFECT HIS/HER SYSTEM.
Most user are to stupid to read AND understand.




 Alex
 -- 
 Alexander Wirt, formo...@formorer.de 
 CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Steve

 Original-Nachricht 
 Datum: Mon, 29 Dec 2008 19:18:58 +0100
 Von: mouss mo...@netoyen.net
 An: Steve stev...@gmx.net
 CC: AMaViS-user@lists.sourceforge.net
 Betreff: Re: [AMaViS-user] Amavis in pre-queue mode

 Steve a écrit :
   Original-Nachricht 
  Datum: Mon, 29 Dec 2008 12:15:22 -0500
  Von: Michael Scheidell scheid...@secnap.net
  [snip]
  Just curious:
 
  What is english translation of german law, something like
  You must use amabisd-new in pre-queue mode under penalty of law?
 
  Sie müssen Amavisd-New im pre-queue Modus benützen wegen der
 deutschen Gesetzgebung.
  
 
 ;-p
 
  
 
  The point is that German law is saying that IF you take the mail, then
 you HAVE to deliver it. You can theoretically take the mail into queue and
 not deliver it but you need to get permission from the mail owner to do so.
 And if it comes hard on hard, then the original recipient still has the
 possibility to say that you deleted the mail and then you are lost. That kind
 of risk no one wants to take. I know, I know. It is stupid but Germany is
 full of regulations all over the place. Lucky me I am from Switzerland :)
 
 I understand this in the case of an ISP/MSP/..., but does this law apply
 to corporate mail and the like?

YES! The thing that Germany did is that they put electronic mail on the same 
level as normal snail mail. And each mail addressed to some one is belonging to 
that person. No matter if the person sits at home on a private mail or if the 
person sits in a office behind a corporate mail. The mail addressed to him 
belongs to him. As a juristic entity (the company) you can request to look and 
read that mail but you need to request it from the official owner (the user). 
You could do it without asking the user but the line between legal and illegal 
is very thin in that matter. I don't 100% understand everything my self. I am 
just an observer from another German speaking country.


-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Alexander Wirt
Steve schrieb am Montag, den 29. Dezember 2008:

*snip
 It's ultra okay with me. I have no issue. I would deliver anything. If the 
 user want's it, why not? If the law is requesting/enforcing it, why not? I 
 don't see such a big issue. The only issue I see are the various 
 virus/trojans/etc. I bet that no matter how hard you try to tag or change the 
 mail (subject change, header change, etc) and warn the user: HE/SHE WILL 
 INFECT HIS/HER SYSTEM.
 Most user are to stupid to read AND understand.
Ha, fortuntly that don't count for virusses/trojanѕ and other harmful
content. According the Law you don't have to deliver harmful content (this is
worded like self-protection for your infrastructure). The post also don't
has to deliver letter bombs :). 

Alex

-- 
Alexander Wirt, formo...@formorer.de 
CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Steve

 Original-Nachricht 
 Datum: Mon, 29 Dec 2008 23:46:31 +0100
 Von: Alexander Wirt formo...@formorer.de
 An: Steve stev...@gmx.net
 CC: AMaViS-user@lists.sourceforge.net
 Betreff: Re: [AMaViS-user] Amavis in pre-queue mode

 Steve schrieb am Montag, den 29. Dezember 2008:
 
 *snip
  It's ultra okay with me. I have no issue. I would deliver anything. If
 the user want's it, why not? If the law is requesting/enforcing it, why not?
 I don't see such a big issue. The only issue I see are the various
 virus/trojans/etc. I bet that no matter how hard you try to tag or change the 
 mail
 (subject change, header change, etc) and warn the user: HE/SHE WILL INFECT
 HIS/HER SYSTEM.
  Most user are to stupid to read AND understand.
 Ha, fortuntly that don't count for virusses/trojanѕ and other harmful
 content. According the Law you don't have to deliver harmful content

Please, please! Send me a definition of harmful content. PLEASE! For my data 
center and infrastructure the amount of spam is harmful. So. Does that count as 
harmful? Or does it only count as harmful if the user says it is harmful to 
him. If so, then how to know what a user thinks is harmful and how to know 
that he thinks it is not harmful? How to know that the just sent executable 
named My_Super_Dupper_Ultra_Cool_KeyGen.exe which is identified by Trend 
Micro Virus Scan as an harmful executable (because the exe has some memory 
patching part in it) is really not wanted by the user or is really wanted by 
the user? How?


 (this
 is
 worded like self-protection for your infrastructure). The post also
 don't
 has to deliver letter bombs :). 
 
Still! As a Swiss I really ask my self sometimes about the German obsession in 
regulating things. It's insane. Filling my tax papers in Switzerland is easy as 
1-2-3. But in Germany? Boy! So much rules and and and... HORROR! And now the 
stuff with mail and the Hacker Paragraph?
I know. For you this all is normal since you grow up with that. But for me this 
is insane. I accept your point of view. It's okay with me. But if I can choose 
for me, then I would prefer to not have the situation.


 Alex
 
Steve


 -- 
 Alexander Wirt, formo...@formorer.de 
 CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread mouss
Michael Scheidell a écrit :
 
 
 mouss wrote:

 now, what if spam is stored on an old and cheap HD?

   
 dog ate my HD.
 
 as well, I read its illegal to deliver harmful content.. like a virus.
 

I guess we can add all forms of fraud (phishes, 419, scam). The case of
falsification (forged From, ...) is unclear because the sender and
recipient may have agreed on using fake infos for some reason.


 Anyone got an (english) sample of a company policy for employees to read?
 
 sounds like (other option) would be to just tag everything and deliver
 it.  let the user decide if [SPAM] or [SPAMMY] should go to junk folder
 or bit bucket.
 

And given how users are good at handling this, it's not necessarily a
service...


 also sounds like same lawmakers that outlawed 'nmap' in germany wrote
 this law.

well, the problem came from those *SPs who decided to discard mail using
bad filters. Otherwise, I don't see why anybody would have asked for a
law.


--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Alexander Wirt
Steve schrieb am Dienstag, den 30. Dezember 2008:

 
  Original-Nachricht 
  Datum: Mon, 29 Dec 2008 23:46:31 +0100
  Von: Alexander Wirt formo...@formorer.de
  An: Steve stev...@gmx.net
  CC: AMaViS-user@lists.sourceforge.net
  Betreff: Re: [AMaViS-user] Amavis in pre-queue mode
 
  Steve schrieb am Montag, den 29. Dezember 2008:
  
  *snip
   It's ultra okay with me. I have no issue. I would deliver anything. If
  the user want's it, why not? If the law is requesting/enforcing it, why not?
  I don't see such a big issue. The only issue I see are the various
  virus/trojans/etc. I bet that no matter how hard you try to tag or change 
  the mail
  (subject change, header change, etc) and warn the user: HE/SHE WILL INFECT
  HIS/HER SYSTEM.
   Most user are to stupid to read AND understand.
  Ha, fortuntly that don't count for virusses/trojanѕ and other harmful
  content. According the Law you don't have to deliver harmful content
 
 Please, please! Send me a definition of harmful content. PLEASE! For my 
 data center and infrastructure the amount of spam is harmful. So. Does that 
 count as harmful? Or does it only count as harmful if the user says it is 
 harmful to him. If so, then how to know what a user thinks is harmful and 
 how to know that he thinks it is not harmful? How to know that the just sent 
 executable named My_Super_Dupper_Ultra_Cool_KeyGen.exe which is identified 
 by Trend Micro Virus Scan as an harmful executable (because the exe has some 
 memory patching part in it) is really not wanted by the user or is really 
 wanted by the user? How?
This is up to a judge. Sorry. 

 
 
  (this
  is
  worded like self-protection for your infrastructure). The post also
  don't
  has to deliver letter bombs :). 
  
 Still! As a Swiss I really ask my self sometimes about the German obsession 
 in regulating things. It's insane. Filling my tax papers in Switzerland is 
 easy as 1-2-3. But in Germany? Boy! So much rules and and and... HORROR! And 
 now the stuff with mail and the Hacker Paragraph?
 I know. For you this all is normal since you grow up with that. But for me 
 this is insane. I accept your point of view. It's okay with me. But if I can 
 choose for me, then I would prefer to not have the situation.
Hey. I really hate that. As a german mail admin im only one step left from
jail. This is something I have to live with, not something I'm happy with. 

Alex
-- 
Alexander Wirt, formo...@formorer.de 
CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/