Maidag config

View: New views
4 Messages — Rating Filter:   Alert me  

Maidag config

by Chris Hall-22 :: Rate this Message:

| View Threaded | Show Only this Message

I must be missing something?

Here are the contents of ~/.maidag:

script "~/mail/.scripts/maidag.scm"

And here is the output of 'maidag --config-verbose':

maidag: parsing file `/usr/local/etc/mailutils.rc'
maidag: finished parsing file `/usr/local/etc/mailutils.rc'
maidag: parsing file `/home/chris/.maidag'
maidag: /home/chris/.maidag:2: syntax error
maidag: finished parsing file `/home/chris/.maidag'



_______________________________________________
Bug-mailutils mailing list
Bug-mailutils@...
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Re: Maidag config

by Sergey Poznyakoff-2 :: Rate this Message:

| View Threaded | Show Only this Message

Chris Hall <bitmonki.y@...> ha escrit:

> Here are the contents of ~/.maidag:
>
> script "~/mail/.scripts/maidag.scm"

You have forgotten terminating semicolon.

Regards,
Sergey

_______________________________________________
Bug-mailutils mailing list
Bug-mailutils@...
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Re: Maidag config

by Chris Hall-22 :: Rate this Message:

| View Threaded | Show Only this Message

Hmm, now I'm really confused,

Contents of ~/.maidag:
script "/home/me/mail/.scripts/maidag.scm";

Now results in:
~$ /usr/local/sbin/maidag --config-verbose
maidag: parsing file `/usr/local/etc/mailutils.rc'
maidag: finished parsing file `/usr/local/etc/mailutils.rc'
maidag: parsing file `/home/me/.maidag'
maidag: finished parsing file `/home/me/.maidag'
maidag: /home/chris/.maidag:1: unknown keyword `script'


On 06/05/2012 02:32 AM, Sergey Poznyakoff wrote:
> Chris Hall <bitmonki.y@...> ha escrit:
>
>> Here are the contents of ~/.maidag:
>>
>> script "~/mail/.scripts/maidag.scm"
> You have forgotten terminating semicolon.
>
> Regards,
> Sergey


_______________________________________________
Bug-mailutils mailing list
Bug-mailutils@...
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Re: Maidag config

by Sergey Poznyakoff-2 :: Rate this Message:

| View Threaded | Show Only this Message

Chris Hall <bitmonki.y@...> ha escrit:

> Hmm, now I'm really confused,
>
> Contents of ~/.maidag:
> script "/home/me/mail/.scripts/maidag.scm";

I'm sorry, should have said this before.  In 3.x there is no "script" keyword.
It provides a "filter" statement instead:

# Add new message filter.
filter {
  # Set script language.
  language <arg: string>;
  # Set script pattern.
  pattern <arg: string>;
};

Example:

filter {
  pattern "/home/me/mail/.scripts/maidag.scm";
};

BTW, you can list all available configuration statements with a short
description of each by running:

    maidag --config-help

Same holds true for any other MU program.

Regards,
Sergey

_______________________________________________
Bug-mailutils mailing list
Bug-mailutils@...
https://lists.gnu.org/mailman/listinfo/bug-mailutils