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

webmaster <[email protected]>
Newsgroups org.mlmmj.mlmmj
Message-ID <[email protected]>
On 6/10/2018 1:13 PM, webmaster wrote:
> On 6/10/2018 12:57 PM, Zhang Huangbin wrote:
>>> On Jun 10, 2018, at 4:46 PM,[email protected]  wrote:
>>>
>>> I'm using a /var/spool/mlmmj/check-test/subscribers.d/test.txt file with 3 emails in it, that I've used for test purposes previously, and all other list parameters are defaults.
>> Does renaming file “test.txt” to “t” fix the issue?
>>
>> btw, i use Postfix instead of Exim, i hope i didn’t lead you to wrong direction due to we use different MTAs.
>>
>> ----
>> Zhang Huangbin, founder of iRedMail project:http://www.iredmail.org/
>> Time zone: GMT+2 (Slovenia/Ljubljana).
>> Available on Telegram:https://t.me/iredmail
>>
>>
>>
>>
>>
>
> Thanks Geert, for the heads-up on reading the discussion in order!
>
> No worries Zhang - all feedback is welcome.
>
>
> I re-checked the ownership of the new server /var/spool/mlmmj - I have 
> it set the same as on the old server:
>
> mail:mlmmj
>
> I changed this to: mlmmj:mlmmj on the new server ...and now I receive 
> a different bounce message when sending email:
>
> The message from<[email protected]>  with subject "Re: team racing event" was unable to be delivered to the list because you are not a list subscriber.
>
> progress././.
>
> I know the subscribers.d file contains my email, so I checked the 
> maillog and found this:
> /usr/local/bin/mlmmj-process[29043]: subscriberfuncs.c:135: Could not open /var/spool/mlmmj/vlsc-test/subscribers.d/test.txt: Permission denied
>
> So it is a linux permissions issue; not really a non-subscriber issue.
>
> I renamed the subscriber file to 't' but still getting a post denial 
> bounce.
>
> Philip
>
>
>
>
>
>

SUCCESS!

I chmod'd the /var/spool/mlmmj with -R to 755, and then the email list 
began working.


So it looks like it was 2 problems:

The ownership of /var/spool/mlmmj was set to:

mail:mlmmj

which worked on my old server (running sendmail and an older CentOS), 
but on my new server it needs to be:

mlmmj:mlmmj

(could be a difference of group memberships perhaps? not sure on the 
exact issue here).

It was also the permissions issue, as it finally worked as soon as I 
reset all to 755 (although I thought I'd already done this once before).

Its working now.  There might be other combinations of ownership, 
membership, and permissions that could work as well, but I can stick 
with what works!

Thanks so much for all the feedback! I was stuck, and it definitely 
helped me get mlmmj working...

Joyful now!!!

Philip

On 6/10/2018 1:13 PM, webmaster wrote:

On 6/10/2018 12:57 PM, Zhang Huangbin wrote:

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

I'm using a /var/spool/mlmmj/check-test/subscribers.d/test.txt file with 3 emails in it, that I've used for test purposes previously, and all other list parameters are defaults.

Does renaming file “test.txt” to “t” fix the issue?

btw, i use Postfix instead of Exim, i hope i didn’t lead you to wrong direction due to we use different MTAs.

----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+2 (Slovenia/Ljubljana).
Available on Telegram: https://t.me/iredmail

Thanks Geert, for the
heads-up on reading the discussion in order!

No worries Zhang - all feedback is welcome.

I re-checked the ownership of the new server /var/spool/mlmmj -
I have it set the same as on the old server:

mail:mlmmj

I changed this to: mlmmj:mlmmj on the new server ...and now I
receive a different bounce message when sending email:

The message from <[email protected]> with subject "Re: team racing event" was unable to be delivered to the list because you are not a list subscriber.

progress...

I know the subscribers.d file contains my email, so I checked
the maillog and found this:

/usr/local/bin/mlmmj-process[29043]: subscriberfuncs.c:135: Could not open /var/spool/mlmmj/vlsc-test/subscribers.d/test.txt: Permission denied

So it is a linux
permissions issue; not really a non-subscriber issue.

I renamed the subscriber file to 't' but still getting a post
denial bounce.

Philip

SUCCESS!

I chmod'd the /var/spool/mlmmj with -R to 755, and then the email
list began working.

So it looks like it was 2 problems:

The ownership of /var/spool/mlmmj was set to:

mail:mlmmj

which worked on my old server (running sendmail and an older
CentOS), but on my new server it needs to be:

mlmmj:mlmmj

(could be a difference of group memberships perhaps? not sure on
the exact issue here).

It was also the permissions issue, as it finally worked as soon as
I reset all to 755 (although I thought I'd already done this once
before).

Its working now. There might be other combinations of ownership,
membership, and permissions that could work as well, but I can
stick with what works!

Thanks so much for all the feedback! I was stuck, and it
definitely helped me get mlmmj working...

Joyful now!!!

Philip
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.