[Exim] Appendfile problem.

Pàgina inicial
Delete this message
Reply to this message
Autor: Friso Kuipers
Data:  
A: Exim Users
Assumpte: [Exim] Appendfile problem.
Hello list,

According to the Fine Manual (exim 3.22):
-------------------------------------
create_directory (appendfile)

Type: boolean
Default: true 
         ^^^^
When this option is true, Exim creates any missing superior 
                                           ^^^^^^^
directories for the file that it is about to write. A created directory's
mode is given by the directory_mode option.
--------------------------------------------------------


But using this transport and director:

vmail_delivery:
driver = appendfile
maildir_format
create_directory = true (doesn't work)
directory_mode = 0700 (idem)
check_string = ""
prefix = ""
suffix = ""
directory = ${home}
return_path_add
envelope_to_add
group = mail
user = vmail

# Director voor localusers met courier gebruikersbestand.
vmail_smartlist:
  driver = smartuser
  local_parts = dbm;/etc/userdb.dat
  home_directory = "${if match{${extract{3}{|}\
                      {${local_part_data}}}}{^mail=(.+)\\$}{$1}fail}"
  transport = vmail_delivery


, I get this error:

2001-04-01 23:41:14 14jpb0-0001OW-00 ==
test@???
T=vmail_delivery defer (2): No such file or
directory: failed to chdir to /home/vmail/users/test

Why didn't the transport create the directories? /home/vmail/users
already exists and has owner vmail, group mail.

Regards,
Friso Kuipers.