Github messages for mblaze
 help / color / mirror / Atom feed
* [ISSUE] Permission denied message in Debian 11
@ 2021-10-25 13:36 Amooti73
  2021-10-25 13:42 ` leahneukirchen
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Amooti73 @ 2021-10-25 13:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]

New issue by Amooti73 on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/216

Description:
This is not really an mblaze issue, I would say.  A search for "sendmail permission denied" brings quite a few results, none of which are specific to mblaze nor to Debian, except that it does not seem to happen with Ubuntu. However, I thought I would just report this challenge.  I also then switched to dma to see if that might work, but the permission denied message persisted.

I was unable to find a solution within my "technical capacity".  I just made a rather crude work around that would allow me to use mcom and mrep as a root user.

When one is root, then $HOME=/root, so, sorry, but I hacked the mcom script to replace $HOME with /home/user (/home/john in my case) and also placed an export statement in /root/.bashrc to so that $MBLAZE points to  /home/user/.mblaze

Things worked in Debian 10, but...

I'm sure there are more "elegant" ways to handle this!

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Permission denied message in Debian 11
  2021-10-25 13:36 [ISSUE] Permission denied message in Debian 11 Amooti73
@ 2021-10-25 13:42 ` leahneukirchen
  2021-10-25 15:08 ` Amooti73
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: leahneukirchen @ 2021-10-25 13:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

New comment by leahneukirchen on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/216#issuecomment-950942984

Comment:
It's not clear to me what you are doing nor what fails exactly.

Can you run sendmail directly as root?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Permission denied message in Debian 11
  2021-10-25 13:36 [ISSUE] Permission denied message in Debian 11 Amooti73
  2021-10-25 13:42 ` leahneukirchen
@ 2021-10-25 15:08 ` Amooti73
  2021-10-25 15:18 ` Amooti73
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Amooti73 @ 2021-10-25 15:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

New comment by Amooti73 on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/216#issuecomment-951024748

Comment:
What fails is sending!  That is after composing the email in vim and saving it, the mail program gives and error message when one tries to actually send the message.

![img-2021-10-25-175757](https://user-images.githubusercontent.com/28224877/138720138-5b557dab-492e-40e4-a30d-3f8c05ee10a4.png)

I have attached a screenshot from my terminal.  I hope it is readable!

I am able to send a message with mcom as root, but mrep needs to access the sequence and that required me to export the MBLAZE variable in /root/.bashrc

I don't know if I have clarified things at all!

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Permission denied message in Debian 11
  2021-10-25 13:36 [ISSUE] Permission denied message in Debian 11 Amooti73
  2021-10-25 13:42 ` leahneukirchen
  2021-10-25 15:08 ` Amooti73
@ 2021-10-25 15:18 ` Amooti73
  2021-10-25 15:21 ` Amooti73
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Amooti73 @ 2021-10-25 15:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

New comment by Amooti73 on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/216#issuecomment-951024748

Comment:
What fails is sending!  That is after composing the email in vim and saving it, the mail program gives and error message when one tries to actually send the message.

![img-2021-10-25-175757](https://user-images.githubusercontent.com/28224877/138723349-239ec95c-d562-453f-81ad-d2e022b2ad49.png)

I have attached a screenshot from my terminal.  I hope it is readable!

I am able to send a message with mcom as root, but mrep needs to access the sequence and that required me to export the MBLAZE variable in /root/.bashrc

I don't know if I have clarified things at all!

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Permission denied message in Debian 11
  2021-10-25 13:36 [ISSUE] Permission denied message in Debian 11 Amooti73
                   ` (2 preceding siblings ...)
  2021-10-25 15:18 ` Amooti73
@ 2021-10-25 15:21 ` Amooti73
  2021-10-28  2:52 ` Amooti73
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Amooti73 @ 2021-10-25 15:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 303 bytes --]

New comment by Amooti73 on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/216#issuecomment-951038052

Comment:
Just a small addition is that after configuring either sendmail or dma, I am able to send mail from the command line using "mail" and without root access.  No error there!

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Permission denied message in Debian 11
  2021-10-25 13:36 [ISSUE] Permission denied message in Debian 11 Amooti73
                   ` (3 preceding siblings ...)
  2021-10-25 15:21 ` Amooti73
@ 2021-10-28  2:52 ` Amooti73
  2021-11-06 11:13 ` Amooti73
  2021-12-12 16:33 ` [ISSUE] [CLOSED] " leahneukirchen
  6 siblings, 0 replies; 8+ messages in thread
From: Amooti73 @ 2021-10-28  2:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

New comment by Amooti73 on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/216#issuecomment-953457675

Comment:
Just a quick note that when I set Sendmail in .mblaze/profile equal to mail, the problem disappears.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Permission denied message in Debian 11
  2021-10-25 13:36 [ISSUE] Permission denied message in Debian 11 Amooti73
                   ` (4 preceding siblings ...)
  2021-10-28  2:52 ` Amooti73
@ 2021-11-06 11:13 ` Amooti73
  2021-12-12 16:33 ` [ISSUE] [CLOSED] " leahneukirchen
  6 siblings, 0 replies; 8+ messages in thread
From: Amooti73 @ 2021-11-06 11:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

New comment by Amooti73 on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/216#issuecomment-962435848

Comment:
All was going well as mentioned in my post from last week until I tried sending an email to a large number of recipients and I was confronted by [this error](https://github.com/corecode/dma/issues/18) with dma. So, today I returned to sendmail which does not have the limitation that dma has.  I left my .mblaze/profile alone with the "Sendmail: mail" setting and that's OK.  I could send an email to about 100 recipients without any error.

Thanks!

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ISSUE] [CLOSED] Permission denied message in Debian 11
  2021-10-25 13:36 [ISSUE] Permission denied message in Debian 11 Amooti73
                   ` (5 preceding siblings ...)
  2021-11-06 11:13 ` Amooti73
@ 2021-12-12 16:33 ` leahneukirchen
  6 siblings, 0 replies; 8+ messages in thread
From: leahneukirchen @ 2021-12-12 16:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

Closed issue by Amooti73 on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/216

Description:
This is not really an mblaze issue, I would say.  A search for "sendmail permission denied" brings quite a few results, none of which are specific to mblaze nor to Debian, except that it does not seem to happen with Ubuntu. However, I thought I would just report this challenge.  I also then switched to dma to see if that might work, but the permission denied message persisted.

I was unable to find a solution within my "technical capacity".  I just made a rather crude work around that would allow me to use mcom and mrep as a root user.

When one is root, then $HOME=/root, so, sorry, but I hacked the mcom script to replace $HOME with /home/user (/home/john in my case) and also placed an export statement in /root/.bashrc to so that $MBLAZE points to  /home/user/.mblaze

Things worked in Debian 10, but...

I'm sure there are more "elegant" ways to handle this!

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-12-12 16:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25 13:36 [ISSUE] Permission denied message in Debian 11 Amooti73
2021-10-25 13:42 ` leahneukirchen
2021-10-25 15:08 ` Amooti73
2021-10-25 15:18 ` Amooti73
2021-10-25 15:21 ` Amooti73
2021-10-28  2:52 ` Amooti73
2021-11-06 11:13 ` Amooti73
2021-12-12 16:33 ` [ISSUE] [CLOSED] " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).