Re: [exim] pipe mail to exchange server 2003 with archiving

Pàgina inicial
Delete this message
Reply to this message
Autor: Christian Schmidt
Data:  
A: exim-users
Assumpte: Re: [exim] pipe mail to exchange server 2003 with archiving
Hello Marcus,

Marcus Barczak, 23.06.2006 (d.m.y):

> then in the transport config:
>
> archive_incoming:
>    driver = appendfile
>    file = /archive/${local_part}
>    delivery_date_add
>    envelope_to_add
>    return_path_add
>    group = mail
>    mode = 0600

>
> The key here is the 'unseen' condition. When the archive_router
> finishes, it passes the message onto the next router as if nothing
> ever happened.


If you want to automatically delete mails older than 1 or 2 month(s)
fom the "archive", just let exim save the archived mails in maildir
format. As each mail is saved in one file then, you can easily create
a shell script to automatically delete "mail files" older than 30 or
60 days.

Regards,
Christian Schmidt

-- 
Wilddiebe und Kritiker kennen keine Schonzeit.
        -- Noël Coward