[Exim] problems with using procmail for local delivery

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jonas Meurer
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] problems with using procmail for local delivery
--
hello,
i'm still at configuring exim to use procmail for local mail delivery.
so, the server is server.mejo.net, and mail to jonas@??? for
example should go through server.mejo.net:/home/jonas/.procmailrc.

i have in exim.conf:

local_delivery:
driver = appendfile
group = mail
mode = 0660
mode_fail_narrower = false
envelope_to_add = true
return_path_add = true
directory = ${home}/Maildir
maildir_format = true
prefix = ""

# This transport is used for procmail

procmail_pipe:
driver = pipe
command = "/usr/bin/procmail"
return_path_add
delivery_date_add
envelope_to_add
# check_string = "From "
# escape_string = ">From "
suffix = ""

real_local:
prefix = real-
driver = localuser
transport = local_delivery

userforward:
driver = forwardfile
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
no_verify
check_ancestor
check_local_user
file = .forward
modemask = 002
filter

# This director runs procmail for users who have a .procmailrc file

procmail:
driver = localuser
transport = procmail_pipe
require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
no_verify

(hope to paste the important parts)

but if i send mail from another machine (jonas.mejo.net, 192.168.3.12),
i get this error:
2003-06-15 16:38:33 19RYeP-0006R3-00 <= jonas@??? H=jonas.mejo.net [192.168.3.12] P=esmtp S=777 id=20030615144355.GC4026@???
2003-06-15 16:38:34 19RYeP-0006R3-00 == /usr/local/bin/procmail <jonas@???> T=address_file defer (13): Permission denied: creating lock file hitching post /usr/local/bin/procmail.lock.server.mejo.net.3eec84ea.000060a8 (euid=1000 egid=1000)

i think some parts of this log are quite strange: why tries exim to use
/usr/local/bin/procmail... stuff instead of /usr/bin/procmail like
configured? and how can i fix this problem?

thanks for any help

bye
mejo

--
Efficiency and progess is ours one more
Now that we have the Neutron bomb
It's nice and quick and clean and gets things done
Kill kill kill kill kill the poor tonight
--
[ Content of type application/pgp-signature deleted ]
--