On 2010-03-04 9:08 AM, J. Roeleveld wrote:
>>> I am not familiar with Dovecot, but the above might be doable with
>>> Dovecot as well.

>> Does that mean I'd need a autosendfolderfill for each user on the
>> system?

> No, you'll only need to create one of these users. The username 
> doesn't matter, as long as this user can have a filter set up and is 
> allowed to post messages into the Sent-folders of all the users.
> 
> You will need to create a filter-entry for each of your users, eg. 
> duplicate the following inside the filter for every user that is
> allowed to sent emails:> --
>> if header :contains "From" "m...@mydomain.com"
>> {
>>   fileinto me+Sent;
>>   stop;
>> }

Interesting... yes, this is doable with dovecot if you are using its
LDA, and you can do it via the global sieve script (which can be made
mandatory for all users) - no need to make a script for each user.

So... two more questions...

1. Can '-o sender_bcc_maps=hash:/etc/postfix/sender_bcc' be added to the
submission service in master.cf? If so, I think this could work.

2. What happens if the smtp send transaction fails? Would the message
still be bcc'd (hopefully not?)?

-- 

Best regards,

Charles

Reply via email to