Am 11.10.2011 16:06, schrieb Patrick Ben Koetter: > * Sharma, Ashish <[email protected]>: >> Anyone, >> >> Any suggestions on the following? > > Use this in amavis to send copies of all messages to another host: > > $archive_quarantine_method = 'smtp:xxx.xxx.xxx.xxx:25'; > $archive_quarantine_to = '%a'; > @archive_quarantine_to_maps = (\$archive_quarantine_to); > > On the remote host use Postfix and Dovecot's LDA deliver. Let deliver use > SIEVE rules to store the message at a location as you requested: > > <BaseArchiveDirectory>/<UserEmailID>/<subjectOfEmail>.eml > > p@rick > Hi Patrick, what is the sieve rule to produce .eml mail files ...? i guess such is not existing, however as far i remember with mail files maildir format a rename to eml may work anyway procmail might be better in use for such stuff > > >> >> Thanks in advance. >> Ashish Sharma >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of >> Sharma, Ashish >> Sent: Monday, October 10, 2011 7:20 PM >> To: [email protected] >> Subject: Need to archive received emails >> >> Hi, >> >> I have a mail receiving setup where in Postfix (2.6.6) is the MTA and then I >> have amavisd-new (with spamassassin and CLamAV) as content filter. >> >> I have enabled spam report header in my amavisd-new conf file. >> >> I want to archive the files on local storage in maildir format. Is it >> possible via amavisd-new conf file? >> >> In effect I want my archives to be created in following format or similar to >> one for each email received: >> >> <BaseArchiveDirectory>/<UserEmailID>/<subjectOfEmail>.eml >> >> Thanks >> Ashish Sharma >
-- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
