Need to archive received emails
Patrick Ben Koetter
p at state-of-mind.de
Tue Oct 11 16:06:35 CEST 2011
* Sharma, Ashish <ashish.sharma3 at hp.com>:
> 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 at rick
>
> Thanks in advance.
> Ashish Sharma
>
> -----Original Message-----
> From: amavis-users-bounces+ashish.sharma3=hp.com at amavis.org [mailto:amavis-users-bounces+ashish.sharma3=hp.com at amavis.org] On Behalf Of Sharma, Ashish
> Sent: Monday, October 10, 2011 7:20 PM
> To: amavis-users at amavis.org
> 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/>
More information about the amavis-users
mailing list