Re: [exim] Message delivery when home directory does not exi…

Góra strony
Delete this message
Reply to this message
Autor: Chris Hills
Data:  
Dla: exim-users
Nowe tematy: [exim] String expansion, [exim] String expansion in transport filter
Temat: Re: [exim] Message delivery when home directory does not exist
For now I have changed the router as follows and this seems to work ok:-

localuser:
driver = accept
check_local_user
local_part_suffix = +*
local_part_suffix_optional
transport = dovecot_delivery
transport_home_directory = /tmp
cannot_route_message = Unknown user

# stat /home/NEWCOL/s12345
stat: cannot stat `/home/NEWCOL/s12345': No such file or directory
# exim -v -odf s12345
Test.
.
LOG: MAIN
   <= root@??? U=root P=local S=367
delivering 1IIljr-0000Q7-T7
LOG: MAIN
   => s750598 <s12345@???> R=localuser 
T=dovecot_delivery
LOG: MAIN
   Completed
#stat /home/NEWCOL/s12345
   File: `/home/NEWCOL/s12345'
   Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: fd02h/64770d    Inode: 1272962     Links: 5
Access: (0700/drwx------)  Uid: (16777219/ s12345)   Gid: 
(16777218/Domain Users)
Access: 2007-08-08 14:38:17.000000000 +0100
Modify: 2007-08-08 14:38:17.000000000 +0100
Change: 2007-08-08 14:38:17.000000000 +0100


Regards

-- 
Chris Hills                       | Tel: +44 (0)1527 572754
IT Services                       | Fax: +44 (0)1527 572901
North East Worcestershire College | Web: http://www.ne-worcs.ac.uk/