Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello
I have a Ubuntu SMP command line distro, release 4.15.0-132-generic and I'm having trouble setting up the webmail for it. I've done sudo apt-get update and then sudo apt-get install ssmpt and the error I receive is 'Package ssmtp is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source'. I then tried to use mutt, which installed successfully, but when I typed in mutt -s "test" myemail(at)gmail.com < /dev/null, I received the error 'Error sending message, child exited 127 (Exec error.). Could not send the message.' Ok, so maybe mutt isn't configured (and I need a new email domain?). Googling it, I got the advice to use
touch ~/.mutt/muttrc to setup mutt. Except using that, I received the error message 'No such file or directory'. In the end, all I care is that, at the end of the day, I end up with a working email from my Ubuntu SMP OS. Suggestions? Fixes? Thanks in advance.
Last edited by ArcticWind; 03-29-2021 at 01:08 PM.
Reason: clarity, syntax error after post
Thank you. Fixed most of my problems, but I'm still having issues sending anything. Tried without smpt, get exit child error 127. Configed with smpt and gmail with the recommendations on all the links, keep getting invalid SMPT URL error despite changing syntax. Made sure sendmail was installed, etc, despite creating a .config file and making sure installed, I also get a cannot open mail:25 error. Not sure if connected or not but in my research there was something about mutt using sendmail. Not sure where to go from here.
As shruggy has posted you need to configure your .muttrc file as shown in the links provided. You might need to configure your gmail account to accept connections from mutt with ouath2.
The default configuration file for mutt is ~/.muttrc
I did that already. I STARTED with configuring the muttrc file as described in the posts, then went looking on the web for additional help when I got everything to work except the smpt configuration. Even tried taking that out of the file and several syntax variations. Was wondering if anyone else had that problem in there muttrc file and how they solved it if they did.
I get mail:25 error with the command you described. When I go into mutt, then y for send, I get smtp invalid error, despite using the recommended syntax.
I'm having a similar problem as the person in this post https://unix.stackexchange.com/quest...ng-smtp-server
Except the recommended fix (using my user name of course) doesn't fix the problem. Thanks.
Last edited by ArcticWind; 03-31-2021 at 03:18 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.