[CentOS] How to configure sendmail
In reading my Linux Admin books and looking at the help files I am confused about what entries to enter into sendmail.mc. To date I have not had to configure sendmail since I use a class in PHP that is straight, however I am learning how to use Concrete5 for my local Rotary club and it apparently needs sendmail. My smtp provider is smtp.sonic.net and it requires user name and password. Is there a simple example that could guide me on setting the parameters in sendmail.mc? I believe doing the "make" after is straight forward. Todd -- Ariste Software Bend, OR 97702 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
2012/12/2 Todd Cary : > In reading my Linux Admin books and looking at the help files I > am confused about what entries to enter into sendmail.mc. To > date I have not had to configure sendmail since I use a class in > PHP that is straight, however I am learning how to use Concrete5 > for my local Rotary club and it apparently needs sendmail. > > My smtp provider is smtp.sonic.net and it requires user name and > password. Is there a simple example that could guide me on > setting the parameters in sendmail.mc? I believe doing the > "make" after is straight forward. install postfix and read the docs. thanks. -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On 12/02/2012 08:09 PM, Eero Volotinen wrote: > 2012/12/2 Todd Cary : >> In reading my Linux Admin books and looking at the help files I >> am confused about what entries to enter into sendmail.mc. To >> date I have not had to configure sendmail since I use a class in >> PHP that is straight, however I am learning how to use Concrete5 >> for my local Rotary club and it apparently needs sendmail. >> >> My smtp provider is smtp.sonic.net and it requires user name and >> password. Is there a simple example that could guide me on >> setting the parameters in sendmail.mc? I believe doing the >> "make" after is straight forward. > > install postfix and read the docs. thanks. Big +1 on that one... Cheers, Phil... -- currently (ab)using CentOS 5.8 & 6.3, Debian Squeeze & Wheezy, Fedora Beefy & Spherical, OS X Snow Leopard & Ubuntu Precise & Quantal signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
Am 02.12.2012 20:53, schrieb Todd Cary: > In reading my Linux Admin books and looking at the help files I > am confused about what entries to enter into sendmail.mc. To > date I have not had to configure sendmail since I use a class in > PHP that is straight, however I am learning how to use Concrete5 > for my local Rotary club and it apparently needs sendmail. > > My smtp provider is smtp.sonic.net and it requires user name and > password. Is there a simple example that could guide me on > setting the parameters in sendmail.mc? I believe doing the > "make" after is straight forward. > > Todd See http://www.sendmail.org/~ca/email/auth.html "Using sendmail as a client with AUTH" Alexander ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.3 - KDE login screen configuration problems
Sorry, I was definitely wrong. Was away from my computer when I responded :) As root, simply create /etc/sysconfig/desktop. You will want this in that file: DISPLAYMANAGER=KDE It's as simple as executing this as root: echo "DISPLAYMANAGER=KDE" > /etc/sysconfig/desktop I think you may need to reboot once the file is complete - but init 5 may also do the trick... On Sat, 1 Dec 2012, Scot P. Floess wrote: > Just create the file /etc/sysconfig/desktop and put in it: > > DESKTOP=KDM > > I believe it's DESKTOP - you can dbl check /etc/X11/prefdm > > > Sent from my phoneMike Watson wrote:The last reply to this > subject said to modify /etc/sysconfig/desktop to > change GDM to KDM. This would then enable the KDE login screen instead > of the default Gnome. > > However, when I checked my CentOS 6.3 system, there was no such file, no > /etc/sysconfig/desktop. I've not been able to find any method to enable > KDE login in 6.3. The method mentioned in the earlier reply was for > CentOS 5, not 6. > > Any further suggestions? > > mw > > -- > -- > > "Lose not thy airspeed, lest the ground rises up and smites thee." > -- William Kershner > http://crucis-court.com > http://www.crucis.net/1632search > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos Scot P. Floess RHCT (Certificate Number 605010084735240) Chief Architect FlossWare http://sourceforge.net/projects/flossware http://flossware.sourceforge.net https://github.com/organizations/FlossWare ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
Am 02.12.2012 21:09, schrieb Eero Volotinen: > 2012/12/2 Todd Cary : >> In reading my Linux Admin books and looking at the help files I >> am confused about what entries to enter into sendmail.mc. To >> date I have not had to configure sendmail since I use a class in >> PHP that is straight, however I am learning how to use Concrete5 >> for my local Rotary club and it apparently needs sendmail. >> >> My smtp provider is smtp.sonic.net and it requires user name and >> password. Is there a simple example that could guide me on >> setting the parameters in sendmail.mc? I believe doing the >> "make" after is straight forward. > > install postfix and read the docs. thanks. Not a good advice for someone who already has some experience with Sendmail but none with Postfix. He'll have to read docs either way, but staying with Sendmail spares him the effort of reinstallation (including probable breakage of his running installation), and reading the docs of a familiar product (Sendmail) is much easier than reading the docs of an unfamiliar one (Postfix). Note that I am saying nothing about the relative merits of Postfix and Sendmail. But indiscriminately recommending to someone who has a specific and easily solved problem with product A to drop product A completely and use product B instead is rarely good advice. Ym2c, Tilman signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On 12/2/2012 2:46 PM, Tilman Schmidt wrote: > Not a good advice for someone who already has some experience > with Sendmail but none with Postfix. He'll have to read docs > either way, but staying with Sendmail spares him the effort > of reinstallation (including probable breakage of his running > installation), and reading the docs of a familiar product > (Sendmail) is much easier than reading the docs of an > unfamiliar one (Postfix). except he doesn't have a working configuration with sendmail and is apparently a novice, so the postfix recommendation is, IMHO, a good one. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On 12/2/2012 6:08 PM, John R Pierce wrote: > On 12/2/2012 2:46 PM, Tilman Schmidt wrote: >> Not a good advice for someone who already has some experience >> with Sendmail but none with Postfix. He'll have to read docs >> either way, but staying with Sendmail spares him the effort >> of reinstallation (including probable breakage of his running >> installation), and reading the docs of a familiar product >> (Sendmail) is much easier than reading the docs of an >> unfamiliar one (Postfix). > except he doesn't have a working configuration with sendmail and is > apparently a novice, so the postfix recommendation is, IMHO, a good one. Why? Once upon a time, many years ago, I tried postfix. I ended up removing it and installing sendmail. I've been using sendmail since the early 1980's, when we were running the Eric Allman code from UCB on a VAX 780 under BCD Unix. And, yes, I recognize this as a religious topic and I'm not trying to start a flame war. Why, in your opinion, is postfix superior to sendmail. Harold (who's first linux system was slackware 1.0) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On Sun, Dec 2, 2012 at 6:52 PM, Harold Pritchett wrote: > On 12/2/2012 6:08 PM, John R Pierce wrote: >> On 12/2/2012 2:46 PM, Tilman Schmidt wrote: >>> Not a good advice for someone who already has some experience >>> with Sendmail but none with Postfix. He'll have to read docs >>> either way, but staying with Sendmail spares him the effort >>> of reinstallation (including probable breakage of his running >>> installation), and reading the docs of a familiar product >>> (Sendmail) is much easier than reading the docs of an >>> unfamiliar one (Postfix). >> except he doesn't have a working configuration with sendmail and is >> apparently a novice, so the postfix recommendation is, IMHO, a good one. > > Why? Once upon a time, many years ago, I tried postfix. I ended up removing > it and installing sendmail. I've been using sendmail since the early 1980's, > when we were running the Eric Allman code from UCB on a VAX 780 under BCD > Unix. And, yes, I recognize this as a religious topic and I'm not trying to > start a flame war. Why, in your opinion, is postfix superior to sendmail. > > > Harold > (who's first linux system was slackware 1.0) You were probably more comfortable running sendmail because you had a long history of using it. I once tried to give emacs a fair shake, but since I had already used vi for a long time, I didn't like it. I'm honest enough to say that it was mostly because I was comfortable with vi, and not that there's anything wrong with emacs [1]. Conceptually, the fact that sendmail requires a makefile and a bunch of macros just to generate the configuration pretty clearly points to *something* being wrong, or at least anachronistic, with the design. Objectively, it performs all of its tasks within the same process, adding significantly to potential security issues. Postfix uses simple name=value syntax but can still get as complex as you need, if you do. It also segregates functions into different processes, isolating areas that might pose higher security risks. ❧ Brian Mathis [1] This is just an anecdote. Please for the love of Linus do not reply to the vi vs emacs statement. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On 12/02/2012 08:53 PM, Todd Cary wrote: > PHP that is straight, however I am learning how to use Concrete5 > for my local Rotary club and it apparently needs sendmail. Are you sure it requires the Sendmail MTA, or just the sendmail (compatible) binary (which is actually what PHP requires by default to send out mail)? If the latter, consider using ssmtp or similar if you already have an MTA in your network (especially if it is already configured with DKIM, SPF, etc...), just keep in mind to configure it securely (ie. using TLS especially if using authentication). Otherwise default installation of Postfix works out of the box, you might just want to adjust the `myhostname` setting. -- .oO V Oo. Work Hard, Increase Production, Prevent Accidents, and Be Happy! ;) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On 12/2/2012 3:52 PM, Harold Pritchett wrote: > Why? Once upon a time, many years ago, I tried postfix. I ended up removing > it and installing sendmail. I've been using sendmail since the early 1980's, > when we were running the Eric Allman code from UCB on a VAX 780 under BCD > Unix. And, yes, I recognize this as a religious topic and I'm not trying to > start a flame war. Why, in your opinion, is postfix superior to sendmail. you are a sendmail expert. I too have been using sendmail for umpteen years (since the early 90s with UUCP, anyways), and feel comfortable in it, and haven't to date been willing to put in the effort to switch.. The OP, on the other hand, appears to be a novice ("To date I have not had to configure sendmail since I use a class in PHP that is straight, however I am learning how to use Concrete5 for my local Rotary club and it apparently needs sendmail"). I'd suggest postfix because its configuration interface is cleaner and simpler (the whole .mc -> .cf thing in sendmail is truly arcane). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On Sun, Dec 2, 2012 at 6:25 PM, Brian Mathis wrote: > > Conceptually, the fact that sendmail requires a makefile and a bunch > of macros just to generate the configuration pretty clearly points to > *something* being wrong, or at least anachronistic, with the design. If you don't like things that use traditional unix tools for the purposes they were designed, why are you interested in using linux at all? From a user perspective making a few changes to sendmail.mc and restarting the sendmail service is quite easy. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On 12/2/2012 5:47 PM, Les Mikesell wrote: > If you don't like things that use traditional unix tools for the > purposes they were designed, why are you interested in using linux at > all? From a user perspective making a few changes to sendmail.mc and > restarting the sendmail service is quite easy. I once knew my way around the 'rules' in the .cf file. thats truly some evil arcane magic in there. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On 12/03/2012 01:54 AM, John R Pierce wrote: > On 12/2/2012 5:47 PM, Les Mikesell wrote: >> If you don't like things that use traditional unix tools for the >> purposes they were designed, why are you interested in using linux at >> all? From a user perspective making a few changes to sendmail.mc and >> restarting the sendmail service is quite easy. > > I once knew my way around the 'rules' in the .cf file. thats truly > some evil arcane magic in there. Whilst bowing in due deference to people who've been using *nix/Linux since it required a piece of string, two tin cans & coven in order to achieve results, I was under the impression that nowadays, unless you actually need some functionality that sendmail has & nothing else possesses, the received wisdom for novices when setting up all things mail was using postfix in its place. All documentation I've ever read regarding postfix starts with declaration that postfix is a replacement for sendmail, it's widely recommended as a replacement & having used postfix after attempting to use sendmail, I can see why (I too have Eric Allman's big book & also have read anecdotes written by Brian Kernighan on its origins & very interesting & enlightening they are too). But surely, the effort required to be competent enough to use it properly far outweighs the benefits just for the casual user. Cheers, Phil... -- currently (ab)using CentOS 5.8 & 6.3, Debian Squeeze & Wheezy, Fedora Beefy & Spherical, OS X Snow Leopard & Ubuntu Precise & Quantal signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On Sun, Dec 2, 2012 at 8:22 PM, Phil Dobbin wrote: > >>> If you don't like things that use traditional unix tools for the >>> purposes they were designed, why are you interested in using linux at >>> all? From a user perspective making a few changes to sendmail.mc and >>> restarting the sendmail service is quite easy. >> >> I once knew my way around the 'rules' in the .cf file. thats truly >> some evil arcane magic in there. > > Whilst bowing in due deference to people who've been using *nix/Linux > since it required a piece of string, two tin cans & coven in order to > achieve results, I was under the impression that nowadays, unless you > actually need some functionality that sendmail has & nothing else > possesses, the received wisdom for novices when setting up all things > mail was using postfix in its place. Well, there was a time when a lot of stuff was broken or badly designed in sendmail, and starting from scratch might have made sense, but meanwhile sendmail has been fixed and is now probably one of the most carefully audited piece of code around.And while you _can_ write original sendmail .cf code to make it do things that no one ever thought of before, almost no one needs to do that anymore. Instead, you start with the nearly-working sendmail.mc that RH/CentOS includes and change the few parts you need for your local setup. These changes are just to invoke already written macros that are already in place for pretty much everything you might want a mailer to do. Or you use the milter interface to add new program steps like spam filtering (postfix has that too, now). > All documentation I've ever read regarding postfix starts with > declaration that postfix is a replacement for sendmail, it's widely > recommended as a replacement & having used postfix after attempting to > use sendmail, I can see why (I too have Eric Allman's big book & also > have read anecdotes written by Brian Kernighan on its origins & very > interesting & enlightening they are too). But surely, the effort > required to be competent enough to use it properly far outweighs the > benefits just for the casual user. Correct - unless you have very unusual needs, you shouldn't tackle direct changes to sendmail.cf. But a casual user is going to just cut and paste a few lines from a reference, tutorial, or email answer into their sendmail.mc or postfix configs without understanding the full scope of their capabilities anyway. And at that level there isn't a big difference in what it takes to make them work - especially given that the distro comes with pretty close to working configs already. And once they work, in most cases you don't need to which is running. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On Mon, 2012-12-03 at 02:22 +, Phil Dobbin wrote: > On 12/03/2012 01:54 AM, John R Pierce wrote: > > > On 12/2/2012 5:47 PM, Les Mikesell wrote: > >> If you don't like things that use traditional unix tools for the > >> purposes they were designed, why are you interested in using linux at > >> all? From a user perspective making a few changes to sendmail.mc and > >> restarting the sendmail service is quite easy. > > > > I once knew my way around the 'rules' in the .cf file. thats truly > > some evil arcane magic in there. > > Whilst bowing in due deference to people who've been using *nix/Linux > since it required a piece of string, two tin cans & coven in order to > achieve results, I was under the impression that nowadays, unless you > actually need some functionality that sendmail has & nothing else > possesses, the received wisdom for novices when setting up all things > mail was using postfix in its place. > > All documentation I've ever read regarding postfix starts with > declaration that postfix is a replacement for sendmail, it's widely > recommended as a replacement & having used postfix after attempting to > use sendmail, I can see why (I too have Eric Allman's big book & also > have read anecdotes written by Brian Kernighan on its origins & very > interesting & enlightening they are too). But surely, the effort > required to be competent enough to use it properly far outweighs the > benefits just for the casual user. > +1 - and really a lot more. Having lived in the Unix/Linux environment for > 20 years I will definitely state that for someone new to the mail server environment the learning curve for Postfix is a lot less than it is for Sendmail. When I needed to set up a mail filter/server I was pointed to Postfix by another Unix guy and that was probably the best thing that happened to me for that area. I had what I needed in less than a day, and refinements and tuning done a couple of days later. If you're just starting in the mail server area, it's tough to beat Postfix for ease of configuration. > Cheers, > > Phil... > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos -- Ron Loftin relof...@twcny.rr.com "God, root, what is difference ?" Piter from UserFriendly ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to configure sendmail
On Sun, Dec 02, 2012 at 05:54:06PM -0800, John R Pierce wrote: > I once knew my way around the 'rules' in the .cf file. thats truly > some evil arcane magic in there. My old SA interviews used to include a line of sendmail.cf to see if the applicant recognised it. At the time (SunOS 4, Solaris 5) we didn't have mc files, just the cf :-) -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos