* 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



> 
> 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

-- 
All technical questions asked privately will be automatically answered on the
list and archived for public access unless privacy is explicitely required and
justified.

saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>

Reply via email to