Re: [Exim] LOCAL_DELIVERY=mail_spool with Exim Filters to Ma…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Andreas Metzler
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] LOCAL_DELIVERY=mail_spool with Exim Filters to Maildir?
On 2004-03-19 Andy Firman <andy@???> wrote:
[...]
> LOCAL_DELIVERY=mail_spool


> Yet the system continues to deliver to /home/user/Maildir !

[...]
> In my /etc/skel I have a Maildir directory and a .forward file which contains:


> coho:/etc/skel# cat .forward


> # Exim filter


> if $h_to: contains "anything" then
>     save $home/Maildir/
> else
>     save $home/Maildir/
> finish
> endif


--------
save $home/Maildir/
finish
--------
should be enough, shouldn't it?

> So it looks like the Exim Filter is taking care of business
> here right?


Yes. The LOCAL_DELIVERY macro only is used *as* default value, i.e.
the exim-filter or can procmail override it.

> Can I leave it like it is or should I make
> exim4.conf.template have: LOCAL_DELIVERY=maildir_home ??


> Just wondering if this will cause trouble down the road.
> The users will not be configuring their own Exim Filters.


A central setting might be easier to manage than dozens of filter
files and would protect you against a user accidentally deleting his
.forward. But there is no trouble lurking, the filter continue to
override the LOCAL_DELIVERY macro no matter what you set it to.
               cu andreas


--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"