Re: exim (.forward)
Am Samstag, 31. August 2002 15:38 schrieb Derrick 'dman' Hudson:
> On Sat, Aug 31, 2002 at 12:52:27AM +0200, Christian Schoenebeck wrote:
> | Hi!
> |
> | How do I handle a .forward file if I configured exim to use maildir
> | format instead of mbox? the 'save' command in a .forward file doesn't
> | seem to work.
> |
> | If I try this for example:
> | ==========================================
> | # Exim filter
> |
> | if error_message then finish endif
> |
> | if $header_subject: contains "this is a test"
> | then
> | save $home/Maildir/.TestFolder
>
> save $home/Maildir/.TestFolder/
> ^
>
> | endif
> | ==========================================
> |
> | So is there a way to save messages in maildir format?
>
> Put a trailing slash on the path so that exim knows you want to use
> the directory_transport instead of the file_transport for delivery.
Ok, I did that, now mails matching above rule are stuck in the local queue.
This is what /var/log/exim/mainlog says:
D=userforward defer (-11): error in forward file (filtering not enabled):
missing or malformed local part (expected word or "<") in "if
error_message then finish"
Any ideas?
Reply to: