[Exim] OpenBSD && exim && user

Pàgina inicial
Delete this message
Reply to this message
Autor: Colin Harford
Data:  
A: exim-users
Assumpte: [Exim] OpenBSD && exim && user

Okay, so I am running into a few little problems here with OpenBSD and
Exim.


By default in OpenBSD /var/mail is set as:
drwxr-xr-x   2 root  wheel         512 Nov 13 14:45 mail
and gets reset by default to this everytime that the machine is rebuilt
(can be changed though)...



So, when running exim as root (which I don't want to) I get this
problem... (exim_user = root in exim config file)

2002-11-13 14:46:21 18C5Kx-0004Vf-00 <= owner-cvs-all@???
H=mx2.freebsd.org [216.136.204.119] P=esmtp S=3854
id=20021113214734.GC12995@???
2002-11-13 14:46:21 18C5Kx-0004Vf-00 == charford-list@???
R=localuser T=local_delivery defer (13): Permission denied: creating
lock file hitching post
/var/mail/charford-list.lock.kajack.infinithost.com.3dd2c82d.00002379
(euid=1002 egid=1002)


I have to set the permissions to 777 on /var/mail/ (chmod 777
/var/mail/) for exim running as root to deliver email...


If I set /var/mail to be owned by user exim, and set exim user to be
exim, I still run into the same problem...

2002-11-13 14:56:26 18C5Ui-0000ry-00 <=
owner-freebsd-current@??? H=mx2.freebsd.org [216.136.204.119]
P=esmtp S=3794 id=200211132157.gADLve8g030552@???
2002-11-13 14:56:26 18C5Ui-0000ry-00 == charford-list@???
R=localuser T=local_delivery defer (13): Permission denied: creating
lock file hitching post
/var/mail/charford-list.lock.kajack.infinithost.com.3dd2ca8a.0000134f
(euid=1002 egid=1002)



Does anyone have any suggestions on how to fix this so that I can have
exim deliver mail  so that:
    exim is not running as a priviliged user of any form
    and without having to set /var/mail to 777


Thanks,

CH


This PGP signature is signed to charford at infinithost.com. If you
have received this signature from a different email account please
email that account and a different key will be sent. Sorry for any
problems.