Skip to contentSkip to conversation

Newbie w/ exim questions..

DISCUSSION B. Cook 2 participants 2 messages Nov 6, 2006

lore
Share & tools
lore

B. Cook

author
#0 lore raw

Hello all,

I've recently come across mlmmj and found some time to set it up and I'm just having a little bit of difficultly getting a few simple tests to work. I'm on FreeBSD for what it's worth. Running mlmmj from ports (mlmmj-1.2.11), and exim 4.63

I'm sure it comes from my own confusion, but here goes:

I read the README.exim4 and just do not understand how to do this:

- We assume that you have a user and group called mlmmj to use with mlmmj
- The exim user needs read access rights to mlmmj's spool directory and its subdirectories

I have made my user/group mlmmj and set the home to be /var/spool/mlmmj and set the shell to be /nonexistent. mlmmj:*:1018:1019::0:0:User &:/var/spool/mlmmj:/nonexistent

I have created the alias to be:

mlmmj-test: "|/usr/local/bin/mlmmj-recieve -L /var/spool/mlmmj/mlmmj-test/"

and this comes back correctly:
[/usr/local/etc/exim]# 144 > exim -bt [email protected] [email protected]
router = mlmmj_router, transport = mlmmj_transport

and when I send a message to [email protected] I get this back:

2006-11-06 10:16:43 1Gh6DL-0009Pp-Qo unable to set gid19 or uid18 
(euid&): local delivery to mlmmj-test 
<[email protected]> transport=mlmmj_transport
2006-11-06 10:16:43 1Gh6DL-0009Pp-Qo failed to read delivery status for 
[email protected] from delivery subprocess
2006-11-06 10:16:43 1Gh6DL-0009Pp-Qo pipe transport process returned 
non-zero status 0x0100: exit code 1
2006-11-06 10:16:43 1Gh6DL-0009Pp-Qo = [email protected] 
<[email protected]> R=mlmmj_router T=mlmmj_transport 
defer (-1)
2006-11-06 10:16:43 1Gh6DL-0009Pp-Qo Frozen

I understand that mailnull (euid 26) can't write there b/c it supposed to be happening as user mlmmj.. but I can't seem to figure out what I need to do to make that happen.

When I change the transport to be run by the mailnull:mail uid/gid I get back this:

[email protected]
local delivery failed

What am I missing?