Just wondering what people tend to use for nullmailers on their centos boxes (i.e. a minimal outgoing-only MTA)? I guess the obvious solution is a minimal postfix config, but that seems reasonably heavyweight and easy to misconfigure - is there anything lighter floating around the centos universe? Cheers, Gavin -- Gavin Carr Open Fusion - Open Source Business Solutions [ Linux - Perl - Apache ] http://www.openfusion.com.au - Fashion is a variable, but style is a constant - Programming Perl
centos-bounces at centos.org <> scribbled on Thursday, July 20, 2006 7:42 PM:> Just wondering what people tend to use for nullmailers on > their centos boxes (i.e. a minimal outgoing-only MTA)? I > guess the obvious solution is a minimal postfix config, but > that seems reasonably heavyweight and easy to misconfigure - > is there anything lighter floating around the centos universe? > > Cheers, > GavinThe default install of sendmail listens on 127.0.0.1 only and should serve your needs if I understand them correctly. Mike
Gavin Carr wrote:> Just wondering what people tend to use for nullmailers on their > centos boxes (i.e. a minimal outgoing-only MTA)? I guess the obvious > solution is a minimal postfix config, but that seems reasonably > heavyweight and easy to misconfigure - is there anything lighter > floating around the centos universe? > > Cheers, > GavinGavin, How complex are your emails?? I need to do the same thing, and can't get sendmail to email within my domain. I can send emails outside my company, but not to an internal SMTP server. I'm working on a small perl script that will do what I need - inject email into my internal SMTP server, with attachments. I need simple email notification when cronjobs finish... If you're interested, I can post this script to the list, hopefully later today. HTH Mark
William L. Maltby wrote:> _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centosWell, I tried you suggestion to my previous email, and they didn't work. Now, I'm sure it's because I'm not experienced in sendmail. Mark
William L. Maltby wrote:> > Well, I tried you suggestion to my previous email, and they didn't work. > Now, I'm sure it's because I'm not experienced in sendmail.Me too! But I did some reading, looked at things,... and do have an extensive *general* background. So there's probably some other piece of the puzzle that's not right or is different. There's lots of experienced folks here though. I bet if you posted in the form of some background, a starting description of the pertinent components in your setup, snippets of logs, etc. they would jump in and help. At least, that's been my observation. Fridays may be the exception though. I'll also try and help, within my limits. Bill, Thanks for the offer of help! Time is short. It's going to take me about an hour to write up a SMTP email injection script - barring any crazy interruptions. Trying to tackle sendmail will take much longer, time I just don't have right now. Once the script is done, I'll gladly post it to the list for others to use... I find it hard to believe though that no one else has created a script like this. Using Krugle didn't turn up much... Mark
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Jul 21, 2006 at 10:42:12AM +1000, Gavin Carr wrote:> Just wondering what people tend to use for nullmailers on their > centos boxes (i.e. a minimal outgoing-only MTA)? I guess the obvious > solution is a minimal postfix config, but that seems reasonably > heavyweight and easy to misconfigure - is there anything lighter > floating around the centos universe?I actually have exim running on everything around here. Once you learn the ins and outs of configuring it, you can do anything but the most complex configurations in about 2 or 3 minutes tops. []s - -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEwPzdpdyWzQ5b5ckRAiZAAKDCTp/gGi7fuHnqOfYIrfAtdtS9ggCfYCqP WJJLCK3cy306y9NPkLmCHao=Al80 -----END PGP SIGNATURE-----
Les Mikesell wrote:> On Fri, 2006-07-21 at 09:02 -0700, Mark Schoonover wrote: > >> Thanks for the offer of help! Time is short. It's going to take me >> about an hour to write up a SMTP email injection script - barring >> any crazy interruptions. Trying to tackle sendmail will take much >> longer, time I just don't have right now. Once the script is done, >> I'll gladly post it to the list for others to use... I find it hard >> to believe though that no one else has created a script like this. >> Using Krugle didn't turn up much... > > The reason no one else has written that script is that the stock > sendmail 'just works' as shipped for sending mail. And if you have > something odd locally, it is usually a one-line edit in sendmail.mc to > accommodate it.Well, it may just work for some, but not for others - I'm sure I'm not alone in sendmail not 'just working'. Using sendmail/postfix/qmail to send simple email from cronjobs is like using a jackhammer to drive finishing nails. Why go through all that hassle of sendmail and it's near daily security problems for such a simple task? My network has mixed CentOS and Gentoo systems, with the Gentoo systems not having sendmail installed. Installing sendmail on those systems would take far more time then coming up with a simple script to do what I need. Take into account running another binary, it's just another service taking up resources that doesn't have to be used. Mark
Gavin Carr wrote:> Just wondering what people tend to use for nullmailers on their > centos boxes (i.e. a minimal outgoing-only MTA)? I guess the obvious > solution is a minimal postfix config, but that seems reasonably > heavyweight and easy to misconfigure - is there anything lighter > floating around the centos universe?I've always been a fan of msmtp: http://msmtp.sourceforge.net/ It's simple, easy and effective - installs with minimal fuss and provides a nice clean outgoing-only MTA. You can grab a SRPM from here: http://www.haleph.com/projects/fedora-rpms/ ...and simply rpm --rebuild it on any CentOS box to get the flavor you need. I've really only used it on Fedora, but CentOS isn't that far off... -te -- Troy Engel | Systems Engineer Fluid, Inc | http://www.fluid.com
Apparently Analagous Threads
- Actionmailer sending many emails in same SMTP connection?
- AW: 2.3.2.1 - relay to lmtps from other lan host
- Not receiving voicemail message in mailbox
- 2.3.2.1 - relay to lmtps from other lan host
- BUG: _presence_ of valid openssl.cnf Option = 'ServerPreference' causes Dovecot submission relay FAIL: "failed: Failed to initialize SSL: ..."