Dimitrios Apostolou <[EMAIL PROTECTED]> wrote:

> $ mail.local -S test.sieve
> 
> it just returns immediately without any error message and without

It issues its diagnostics via syslog facility `mail'. 

> If I run it with my username at the end (why should I do 
> this if I run it as a user?)

Because it is a local mailer: a program that is responsible for
delivering mail to *various* users on the system. It is supposed to be
executed by MTA with root privileges.

> $ mail.local -S test.sieve jimis
> blah blah

Normally, the first input line is either a normal `From' envelope, or
the beginning of the message body (headers).

You don't need to execute mail.local yourself. All you need to do is to
configure your MTA to use it as a local mailer. Then any user on the
system can parse and redistribute his mail simply by creating an
appropriately named Sieve (or Scheme) script in his home directory. This
script will be executed by mail.local when delivering mail.

Regards,
Sergey


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

Reply via email to