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

Nicolas KOWALSKI nicolas.kowalski at gmail.com
Wed Jun 14 04:24:34 EDT 2006


On 6/14/06, Mihály Litzler <mlitzler at gmail.com> 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


More information about the Info-cyrus mailing list