spam-discuss
[Top][All Lists]
Advanced

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

[Spam-discuss] Re: USERNAME- support in exim


From: Mark H. Weaver
Subject: [Spam-discuss] Re: USERNAME- support in exim
Date: Tue, 14 May 2002 14:55:51 -0400

"Bradley M. Kuhn" <address@hidden> wrote:
> Mark,
> 
> You mentioned at the last SPAM meeting that you had a solution in exim to
> make USERNAME- work properly (like qmail does it).  Could you post that
> to the spam-discuss list?

Here is the relevant section from the exim.conf file of netris.org's
mail server:

> userforward:
>   driver = forwardfile
>   suffix = -*
>   suffix_optional
>   check_ancestor
>   file = .forward${local_part_suffix}
>   errors_to = address@hidden
>   syntax_errors_to = address@hidden
>   filter

In my case, I use "-" as the separator, and it only works in the
restricted case of <username>-<suffix>@netris.org, when there is a
~<username>/.forward-<suffix> file.  However, the "suffix" and
"suffix_optional" options can be used for other directors as well.

Note also the use of the "${local_part_suffix}" and "${local_part}
variables.  Keep in mind that the "${local_part}" variable only
expands to the part before the first "-".  To be safe, we should
search the exim.conf file for all usages of "${local_part}", and in
each case think about whether "${local_part_suffix}" should be added
there.  We should also test the use of suffixes with each director, to
make sure it does the right thing, before rolling this into place.

       Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]