Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I made me a nice little SquirrelMail to acess my mail from web. I set-up an imap to catch my mail. So i get mail sent to me just fine. And i set up sendmail to send my mail, actualy sendmail was configured already bevore to send mail from a KMail 1.9.1 in my KDE desktop. Now when i try to send mail from SquirrelMail i get this error which i dont know how to fix:
Server replied: 127 Can't execute command '/usr/sbin/sendmail -i -t -ftomaz@likegod.org'
I have no ideer to even start to debug this. sendmail is executable for all users on my box, so dunno why he cant execute that. And in SquirrelMail conf.pl sendmail is configured to run from /usr/sbin/sendmail so path is ok too.
So a ? on that
And one more. If i open up KMail 1.9.1 now when i have my webmail thingy also working the mails dissaper the moment KMail fetches them. Probably it uses diffrent mail structure or something. So how to fix this to use with both (see same thing on boath KMail and SquirrelMail).
The last part of your message about disappearing email. It reads as if you have kmail setup to work with your local mail files, if it were me I'd set it up to work with my IMAP server instead. Also, check that it's not moving the messages from the server (even though it's on the same box, it may move them to a local directory it uses to store your mail).
The first part:
Run the problem:
/usr/sbin/sendmail -i -t whatever@whoever.com
And see if you get any feedback from the terminal on what's actually going on. My (quick) guess is that /usr/sbin might not be letting a non-root user execute files in that directory; it may have created a symlink in /usr/bin for system users to use sendmail. Use a:
whereis sendmail
To get a list of all the sendmail executables in your $PATH variable.
/usr/sbin/sendmail -i -t whatever@whoever.com
And see if you get any feedback from the terminal on what's actually going on.
just hangs producing no output...
Quote:
My (quick) guess is that /usr/sbin might not be letting a non-root user execute files in that directory; it may have created a symlink in /usr/bin for system users to use sendmail. Use a:
whereis sendmail
To get a list of all the sendmail executables in your $PATH variable.
yes, executables are in /usr/sbin but all of my files (related to sendmail) are executable by users... here's the output for:
Well i actualy have fixed that. But only when i switched to opensuse 10.2 so i reinstalled the system, then done the same thing i have done before setting squirel up, any now it works without any problems out of the box
I had the same problem and fixed it by telling squirrelmail to use SMTP instead of sendmail (pointing to localhost for the SMTP server). I am running selinux in enforcing mode and PHP in safe mode, and it works. I would have to have a really good reason before I turned off selinux (no other software options, no configuration alternatives that work, must have this software, preferably have disconnected from network, etc...). Selinux provides such excellent protection.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.