Re: [mlmmj] new mlmmj install on 64bit CentOS 7 server running Exim

webmaster <[email protected]>
Newsgroups org.mlmmj.mlmmj
Message-ID <[email protected]>
Thanks Zhang for your response.

A copied from my /etc/exim/exim.conf file:

...

begin transports

         mlmmj_transport:
                 driver = pipe
                 return_path_add
                 user = mlmmj
                 group = mlmmj
                 home_directory = MLMMJ_HOME
                 current_directory = MLMMJ_HOME
                 command = /usr/local/bin/mlmmj-receive -F -L 
MLMMJ_HOME/${lc:$local_part}

         remote_smtp:
                 driver = smtp

...

I did notice the reference to:

Have to invoke either as root or as the user owning listdir Invoked with uid = [1000]: Success

I checked the mlmmj user id:

# id mlmmj
uid=1000(mlmmj) gid=1001(mlmmj) groups=1001(mlmmj),48(apache)

and it matches the # specified in the log entry.

I assumed "...[1000]: Success" meant this was just a warning, but the 
requirement was successfully met - am I interpreting this incorrectly?

Philip



On 6/10/2018 7:56 AM, Zhang Huangbin wrote:
>> On Jun 10, 2018, at 4:46 PM, [email protected] wrote:
>>
>> Jun 10 14:14:43 new /usr/local/bin/mlmmj-receive[18390]: mlmmj-receive.c:112: Have to invoke either as root or as the user owning listdir Invoked with uid = [1000]: Success
> This message is clear enough.
>
> According to mlmmj document (http://mlmmj.org/docs/readme-exim4/ ), did you setup exim to run mlmmj as mlmmj daemon user?
>
> ---------------------
> mlmmj_transport:
>    …
>    user = mlmmj
>    group = mlmmj
>    …
> -----------------------------
>
> ----
> Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
> Time zone: GMT+2 (Slovenia/Ljubljana).
> Available on Telegram: https://t.me/iredmail
>
>
>
>
>

Thanks Zhang for your
response.

A copied from my
/etc/exim/exim.conf file:

...

begin transports

mlmmj_transport:

driver = pipe

return_path_add

user = mlmmj

group = mlmmj

home_directory = MLMMJ_HOME

current_directory = MLMMJ_HOME

command = /usr/local/bin/mlmmj-receive -F
-L MLMMJ_HOME/${lc:$local_part}

remote_smtp:

driver = smtp

...

I did notice the
reference to:

Have to invoke either as root or as the user owning listdir Invoked with uid = [1000]: Success

I checked the mlmmj
user id:

# id mlmmj

uid=1000(mlmmj) gid=1001(mlmmj) groups=1001(mlmmj),48(apache)

and it matches the #
specified in the log entry.

I assumed "...[1000]:
Success" meant
this was just a warning, but the requirement was successfully met
- am I interpreting this incorrectly?

Philip

On 6/10/2018 7:56 AM, Zhang Huangbin
wrote:

On Jun 10, 2018, at 4:46 PM, [email protected] wrote:

Jun 10 14:14:43 new /usr/local/bin/mlmmj-receive[18390]: mlmmj-receive.c:112: Have to invoke either as root or as the user owning listdir Invoked with uid = [1000]: Success

This message is clear enough.

According to mlmmj document ( http://mlmmj.org/docs/readme-exim4/ ), did you setup exim to run mlmmj as mlmmj daemon user?

---------------------
mlmmj_transport:
…
user = mlmmj
group = mlmmj
…
-----------------------------

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+2 (Slovenia/Ljubljana).
Available on Telegram: https://t.me/iredmail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.