Re: [Exim] headers_add & headers_remove with unseen routers

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Odhiambo G. Washington
Fecha:  
A: Exim Users
Cc: andrewh
Asunto: Re: [Exim] headers_add & headers_remove with unseen routers
--
* Andrew J. Hutson <andrewh@???> [20031209 20:17]: wrote:
> This is a multi-part message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> Thanks for the reply, but we are just movign away from a mailman based
> lists system - we don't like it! I would prefer to keep it inside the MTA.
>
> We also specifically want the reply-to set to the group - this is one of
> the improvements we have implemented (it's only for small internal groups
> of no more than 25 people).
>
> If anyone knows of a way of preserving the headers (can be a slightly
> 'quirky' one), then please let me know!



Have you tried shadow_transport for the backup delivery? It should get an
exact copy of the mail for backup.

I use something like this:


local_delivery:
driver              = appendfile
 check_string        =
 directory           = ${home}/Maildir/
 create_directory
 directory_mode      = 0700
 delivery_date_add
 envelope_to_add
 group               = mail
 maildir_format
 maildir_tag         = ,S=$message_size
 message_prefix      = ""
 message_suffix      = ""
 use_fcntl_lock
 use_lockfile
 no_mode_fail_narrower
 quota               = ${lookup {$local_part} lsearch \
                    {/usr/local/etc/exim/quota-maps}{$value}{50}}M
 no_quota_is_inclusive
 quota_size_regex    = ,S=(\d+)$
 quota_warn_message  = "\
                      To: $local_part@$domain\n\
                      blah..blah..blah."
 quota_warn_threshold = 75%
 return_path_add
 mode                 = 0660
 shadow_transport     = backup_delivery
 shadow_condition     = ${lookup{$local_part}lsearch{/usr/local/etc/exim/mail_backup_users}{1}{0}}




backup_delivery:
 driver               = appendfile
 delivery_date_add
 envelope_to_add
 file                 = /Mail-backup/${substr_0_7:$tod_log}/${local_part}
 mode                 = 0600
 user                 = exim
 group                = mail
 return_path_add







        cheers
       - wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
                         --from a /. post
--
[ Content of type application/x-pkcs7-signature deleted ]
--