On Thursday 04 March 2010 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

Reply via email to