papaschtroumpf Posted August 11, 2004 Report Share Posted August 11, 2004 mdk 10 has been driving me nuts lately. It all started with my wanting to use a script called logwatch, that distills logs into an email summary for the purpose of alerting the administrator of potential security issues.. logwatch uses the "mail" command to send email. When I try to the the mandrake control panel's "server configuration" wizrd for postfix, it asks me a couple of questions then simply tells me to that the install fails, without any details, and tells me to try with different parameters. how do I send mail from the command line using the "mail" command in mandrake 10? [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
Guest anon Posted August 11, 2004 Report Share Posted August 11, 2004 I have not used postfix, but if you install the sendmail program even the basic setup wiil send e-mail using logwatch to the roots mail folder. /var/spool/mail..... For info on sending mail using a consol, simply type man mail Personally, i wouldn't use the mandrake control centre wizards. Here's an idea for you, open a consol as root (su) then type urpmi webmin Then urpmi sendmail Then service webmin start Then in your browser, type https://127.0.0.1:10000 Or, https://localhost:10000 When webmin opens, click on servers, and then sendmail. At the bottom of the sendmail config, Start sendmail. Have fun. Quote Link to comment Share on other sites More sharing options...
coverup Posted August 12, 2004 Report Share Posted August 12, 2004 Make sure that myhostname and mynetworks are defined in the postfix configuration file main.cf. Quote Link to comment Share on other sites More sharing options...
papaschtroumpf Posted August 13, 2004 Author Report Share Posted August 13, 2004 I went the sendmail route. I'm really not interested in receiving email or using it for "regular" emails on this machine, so is there "minimal" and "secure" configuration that I want to run it under? Quote Link to comment Share on other sites More sharing options...
papaschtroumpf Posted August 18, 2004 Author Report Share Posted August 18, 2004 Problem solved. For whatever reason sendmail wasn't working either (messges would never leave the queue), so I removed it (urpme), made sure postfix was removed too. I then re-installed postfix (urpmi postfix) and made sure not to use the wizard. When I would try to use mail, I would still get some weird error message, but after a bit of research of the internet it turns out I forgot to start the service, so after doing a "postcript start" everything started working just fine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.