[EXIM] aliases again

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: me
Dátum:  
Címzett: exim-users
Tárgy: [EXIM] aliases again
Hi

I think I've managed to get the alises working, but I'm not sure if it
the correct way

my transport

local_delivery:
driver=appendfile
file=/mail/${substr_0_1:$local_part}/${local_part}
group=exim
user=exim

and my director states

virtual:
driver=aliasfile
#transport=local_delivery
domains=domain1.com
file=/mail/aliases/$domain
search_type=lsearch

---------
This works it sends it correctly to the new alias, however if I
uncomment the transport line out it fails. Can someone explain the
difference because I thought that the director would get called , the
read the alias file (which it does-either way) and then call the
local_deliver transport.

Also I'm trying to set the permission correctly so everything works, is
it best to deliver mail as group exim and user=mail and then make all
the users part of the mail group so that they can read their mail, or
else the mailbox looks like

-rw-rw---- mail exim iqbal

which doesnt really let me read the mail unless its world readable which
is not what i want.

Ideally I would like

-rw------- iqbal exim iqbal

how do I do alias delivery for something like this, since it keeps
throwing up UID/GID errors

Thanks

Iqbal

--
*** Exim information can be found at http://www.exim.org/ ***