[Dovecot] Sieve script problem (don't know if is it possible to do this)

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Nov 15 09:34:07 EET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 14 Nov 2013, Yanko Hernández Álvarez wrote:

> I'm loosing my mind trying to classify my outgoing messages with
> sieve-test (2.0.9, centos 6.4). It came to the point I think it's not
> even possible with a sieve script.
>
> I need to classify my outgoing messages in three folders:

As others told already, you can filter incoming messages only, but you can 
make outgoing into incoming messages with BCC. You will have to have an 
unique way to identify your BCC'ed messages, however.

E.g.:
a) Add a custom header, say "X-X-Yanko", in your MUA. If possible remove 
that header by your MTA if the message leaves your network
b) use detail (subaddressing), if your MTA allows that: user+detail@
c) use a completely different account that spools into the mail storage of 
your normal account
d) ...

> 3- To the rest of the word (@any.other.domain)

Would the normal "sent" folder be OK? There you would have 1+2+3 merged.

Another idea is in the reply to Stephan's post.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUoXOb13r2wJMiz2NAQJLYgf/b9IZLunFOdgX2tLH/5WZI5msUlQx41TZ
0bsykwCYSZWeGxmB1fnsFmiFLiJJ7F2xqsX2N8YwOYMmKB3iQ/a8O8c+I+3hwmGD
Jk1TGmUZ6mdtBk1nOXqDbWIUXEGvH2YRqTG+yyUaDg/z6gAr/xq7OIBlvm7887CJ
ciEueGV7x/SCk25K2HNFpovg65ZYjERDjeXaY51mtL/yb7Vp1FQ71Xkr6MQt3yUT
9phZKZOOTylO312/sQVz0RP/ZLethnKeisKcBWZg4LUS12sdVEzy7PXCZgUNE1OP
OsFjkleykQIzXR/lio8MiBVcTWkoL0tpAUQ5ryF217b/0oT2YC6iKQ==
=olis
-----END PGP SIGNATURE-----


More information about the dovecot mailing list