Re: [AMaViS-user] Quarantined Spammails sorted by date, again?

This is a discussion on Re: [AMaViS-user] Quarantined Spammails sorted by date, again? within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; MrC schrieb: > >> Is it possilble to change quarantine-settings for >> "file-naming" of ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-02-2007
Matthias Haegele
 
Posts: n/a
Default Re: [AMaViS-user] Quarantined Spammails sorted by date, again?

MrC schrieb:
>
>> Is it possilble to change quarantine-settings for
>> "file-naming" of quarantined items and where do i have to do this?
>>
>>

>
> Yes. Set the variable "$spam_quaranting_method" as indicated below in your
> amavisd.conf file, and reload amavsid.
>
>> Path of quarantined mails:
>>> /var/lib/amavis/virusmails/spam-*

>> example:
>>
>> new format:
>>> /var/lib/amavis/virusmails/spam-zhUP2pIl4N2X.gz

>> old format:
>>> /spam-57db2a646a8cd015efbfbae443b997c6-20060926-200024-32648-02.gz

>> Why:?
>> I wrote a script which relearns (sa-learn) the spammails (for the last
>> month) so it was really easy to grep for the block after 2nd
>> "-" , in Format YYYYMMDD, its also much easier to few mails
>> easy and fast on the commandline in this format ...
>>

>
> Add or modify the %m macro to meet your needs.
>
> $spam_quarantine_method = 'local:spam-%m';
>
> See README.customize for an explanation of the macros available (eg. %y,
> %date_rfc2822_local, etc.)


OK. I think i dont want it that badly ;-).

> MrC
>



--
Thx @all
MH


Dont send mail to: ubecatcher@linuxrocks.dyndns.org
--


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0