Re: cyrdeliver, exim on sarge - deliver spam to a special folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/14/06, Mihály Litzler <mlitzler@xxxxxxxxx> wrote:

cyrus_spam:
     driver = pipe
     command = "/usr/sbin/cyrdeliver -m ${local_part}.Spam -- ${local_part}"
     user = cyrus

I got a "message contains invalid header" error.

Yes, cyrus does not accept the 'From ' header, and some other things.
The 'message_prefix' setting handles the 'From ' problem.

For example, on our mailserver (Exim 4.50, Cyrus 2.2.12 hand-compiled)
we use the following transport:

local_delivery:
  driver = pipe
  command = "/usr/cyrus/bin/deliver -q -r ${return_path} ${local_part}"
  return_fail_output
  message_prefix = ""
  user = cyrus
  current_directory = "/tmp"
  timeout = 0s
  transport_filter = /usr/bin/tr -d \\000


--
Nicolas
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux