Re: release email in amavis temp

2006-06-21 Thread Joachim Schipper
On Wed, Jun 21, 2006 at 08:23:11PM +0700, sonjaya wrote:
> >You can, however, configure amavisd to save pretty much exactly what you
> >want to a temporary directory. As to the tmp directory and the directory
> >amavisd saves to, set up a cron job to clean it out unless you want to
> >do so manually (I don't; but mail get saved to guard against a possible
> >false positive on really important mail).
>
> some email detect spam also most importan email ,so how to restore
> email in /var/virusmail/xxx because taht email is important.

Depends on the MTA and mail storage mechanism used, I suppose.

> also any body have some tip to make amavisd-new in openbsd 3.9 most
> faster working because they a lot delay when send and receive with
> attachment.

Looks like the virus scanner, unpacker, or something similiar is taking
a long time. This can be caused by anything from a busy CPU to a slow
disk (in which case mount_mfs(8) may indeed work).

Joachim



Re: release email in amavis temp

2006-06-21 Thread Joachim Schipper
On Wed, Jun 21, 2006 at 04:30:20PM +0200, Guido Tschakert wrote:
> sonjaya schrieb:
> > some email detect spam also most importan email ,so how to restore
> > email in /var/virusmail/xxx because taht email is important.
> > also any body have some tip to make amavisd-new in openbsd 3.9 most
> > faster working because they a lot delay when send and receive with
> > attachment.
> > my regard
> > 
> > 
> Hello,
> 
> amavis works much more faster if its tempdir is mounted on a ramdisk.
> (but at this moment I don't know how to configure a ramdisk with OpenBSD
> but surely google will know)

You are thinking about mount_mfs(8), I suppose. But the usual caveats
about slow lookups still apply, and amavisd does a *lot* of lookups. In
particular, a misconfigured network of some kind will make it very, very
slow.

Joachim



Re: release email in amavis temp

2006-06-21 Thread Guido Tschakert
sonjaya schrieb:
> some email detect spam also most importan email ,so how to restore
> email in /var/virusmail/xxx because taht email is important.
> also any body have some tip to make amavisd-new in openbsd 3.9 most
> faster working because they a lot delay when send and receive with
> attachment.
> my regard
> 
> 
Hello,

amavis works much more faster if its tempdir is mounted on a ramdisk.
(but at this moment I don't know how to configure a ramdisk with OpenBSD
but surely google will know)



guido



Re: release email in amavis temp

2006-06-21 Thread sonjaya

some email detect spam also most importan email ,so how to restore
email in /var/virusmail/xxx because taht email is important.
also any body have some tip to make amavisd-new in openbsd 3.9 most
faster working because they a lot delay when send and receive with
attachment.
my regard




You can, however, configure amavisd to save pretty much exactly what you
want to a temporary directory. As to the tmp directory and the directory
amavisd saves to, set up a cron job to clean it out unless you want to
do so manually (I don't; but mail get saved to guard against a possible
false positive on really important mail).

Joachim




Re: release email in amavis temp

2006-06-20 Thread Joachim Schipper
On Tue, Jun 20, 2006 at 07:42:19PM +0700, sonjaya wrote:
> dear all
> i have installed amavisd-new by port  but amavisd-new trap email that
> not spam or virus ana locate at /var/amavisd/tmp/x
> so i wan release, i see in manual that using amavisd-release , but i
> can find it .

Erm... sorry, what do you want do? I know of no such tool, at the least.

You can, however, configure amavisd to save pretty much exactly what you
want to a temporary directory. As to the tmp directory and the directory
amavisd saves to, set up a cron job to clean it out unless you want to
do so manually (I don't; but mail get saved to guard against a possible
false positive on really important mail).

Joachim