Hi!<br><br>Sorry If i post a wrong list..., i cannot really determine whether it's an Exim or Cyrus problem.<br><br>I would like to deliver spam mails into a different folder
instead of INBOX by default to all of my users. Simply do a sorting on
the header Spam-Flag...<br><br>I did Google, rtfm, etc. I did my best, however I couldn't solve this:
<br><br>Exim routers:<br><br>cyrus_vdom_spam:<br> debug_print = "R: cyrus vdom spam for $local_part@$domain"<br> driver = accept<br> domains = +cyrus_domains<br> transport = cyrus_spam<br> condition = ${if match {$message_headers:}{X-Spam
<div>-Flag: YES} }
<br><br>cyrus_vdom:<br> driver = accept<br> domains = +cyrus_domains<br> transport = cyrus_inbox<br> no_more<br><br>Exim transport:<br><br>cyrus_inbox:<br> driver =lmtp<br> user = cyrus<br> socket = /var/run/cyrus/socket/lmtp
<br><br>cyrus_spam:<br> driver = lmtp<br> command = "/usr/sbin/cyrdeliver -l"<br> user = cyrus<br><br><br>1. <br>If I use cyrdeliver -l in cyrus_spam that way, the -m Spam flag make no sense. <br><br>2.
<br>If I use something like this:<br><br>cyrus_spam:<br>
driver = pipe<br>
command = "/usr/sbin/cyrdeliver -m ${local_part}.Spam -- ${local_part}"<br>
user = cyrus<br>
<br>I got a "message contains invalid header" error.<br><br>3.<br>I also tried to do some global sieve filter, but as I know it's unsupported.<br><br>Versions:<br><br>ox:/var/log/exim4# dpkg -l | grep exim<br>ii exim4
4.50-8sarge2 metapackage to ease exim MTA (v4) installati<br>ii exim4-base 4.50-8sarge2 support files for all exim MTA (v4) packages<br>ii exim4-config 4.50-8sarge2 configuration for the exim MTA (v4)<br>ii exim4-daemon-h
4.50-8sarge2 exim MTA (v4) daemon with extended features,<br><br>ox:/var/log/exim4# dpkg -l | grep cyrus<br>ii cyrus21-admin 2.1.18-1+sarge Cyrus mail system (administration tool)<br>ii cyrus21-client 2.1.18-1+sarge
Cyrus mail system (test clients)
<br>ii cyrus21-common 2.1.18-1+sarge Cyrus mail system (common files)<br>ii cyrus21-imapd 2.1.18-1+sarge Cyrus mail system (IMAP support)<br>ii libcyrus-imap- 2.1.18-1+sarge Interface to Cyrus imap client imclient libr
<br><br>Actually, there are only virtual users exists, everything comes from LDAP.<br><br>Would
you so kind to write a working exim, imapd etc. config for this.
However everything is alright.., exim delivers mail, I can use Cyrus in
a Thunderbird correctly, just this problem with delivering to
especially the 'Spam' folder ...
<br><br>Thanks in advance!<br>Mihaly</div>