-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission denied message in Debian 11 #216
Comments
It's not clear to me what you are doing nor what fails exactly. Can you run sendmail directly as root? |
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. 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! |
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! |
Just a quick note that when I set Sendmail in .mblaze/profile equal to mail, the problem disappears. |
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 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! |
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!
The text was updated successfully, but these errors were encountered: