On Thursday 04 March 2010 14:55:59 you wrote: > 12:24:20 Stan Hoeppner wrote: > > J. Roeleveld put forth on 3/4/2010 2:12 AM: > > > On Thursday 04 March 2010 08:57:30 Jonathan Tripathy wrote: > > <snipped non-relevant part> > > > > With that, I thought there is an option in postfix to bcc a single > > > address on all emails? > > > You could then put a filter like the following on all emails coming > > > into that address: > > > > > > if <from> in <list of local emails> then > > > { > > > store in correct Sent Items > > > } else { > > > discard email as we don't want to duplicate incoming email > > > } > > > > Would sender_bcc_maps work if he uses Dovecot LDA/sieve? He could create > > a sieve filter based on MAIL FROM: being his own address, and have sieve > > move all such mails into his Sent Items folder. Might be worth a shot? > > This is how I would do it on my server, if I'd be so inclined :) > eg: > sender_bcc_maps = autosendfolderf...@mydomain.com > > Then for the "autosendfolderfill" user set the following for the > sieve-script: > > if header :contains "From" "m...@mydomain.com" > { > fileinto me+Sent; > stop; > } > > You then need to make sure the "autosendfolderfill" user has permissions to > drop messages in the respective "Sent" folders. > > I have not tested the above, but I think I'd be able to get this to work > with Postfix and Cyrus. > I am not familiar with Dovecot, but the above might be doable with Dovecot > as well. > > -- > Joost > --------------------------------------------------------------------------- > --------------------------------------------------------------------------- > - > > Does that mean I'd need a autosendfolderfill for each user on the system? >
First, please keep responses on the List to make it possible for other people to find it with Google and also to allow other people to keep contributing. As for your question: 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; > } -- HTH, Joost ---------------------------------------------------------------------------------------------------------------- Does this mean that mail received from the internet is also checked against this filter?