[Exim] confusion over forwardfile directories

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Galbavy
Dátum:  
Címzett: exim-users
Tárgy: [Exim] confusion over forwardfile directories
I am getting confused regarding the usage of the various *_directory
values for forwardfile. The spec.txt file almost gives me a headache
reading the "home directories" part of the forwardfile text.

Someone, please provide a clue...

I have (I know is it horrible):

userforward:
driver = forwardfile
file = ${lookup {$domain} dbm {EXIM_DB/domaindirs.db} {$value}}/var/mail/${local_part}/.forward
check_ancestor
check_local_user = false
filter
home_directory = ${lookup {$domain} dbm {EXIM_DB/domaindirs.db} {$value}}/var/mail/${local_part}
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
user = ${lookup {$domain} dbm {EXIM_DB/domainusers.db} {$value}}
group = ${lookup {$domain} dbm {EXIM_DB/domainusers.db} {$value}}

in my config. Then trying a delivery (-qqf -v), I get:

Single queue run
LOG: 0 MAIN
Start queue run: pid=3634 -qqf
delivering message 11VYk4-0006TE-00 (queue run pid 3634 fd 5)
LOG: 0 MAIN
== /gspam <peter@???> T=address_file defer (13): Permission denied: creating lock file hitching post /gspam.lock.knowledge.com.37ef527d.00003c2f
LOG: 0 MAIN
== /gpoptop <peter@???> T=address_file defer (13): Permission denied: creating lock file hitching post /gpoptop.lock.knowledge.com.37ef527d.00006285
...

Where I would expect it to try to create the hitching post in
"/w/home/pmg/pmg001/sites/ception.com/var/mail/peter" ... "gspam" is
the final filter bit that says:

    ...
    if $header_to: does not contain "peter" and
       $header_cc: does not contain "peter"
    then
      save $home/gspam
    endif


"gspam" == "got spam" :-)


I saw both file_directory and current_directory, but I still cannot
make complete sense of the text. Which should I use ? How do they
relate to $home etc.

Exim testing 3.035 BTW

Help.

Regards,
--
Peter Galbavy
Knowledge Matters Ltd
http://www.knowledge.com/