Trapping system auto-mails to /var/mail without an MTA?
Basically, I'm setting up a Linux From Scratch machine. Everything works great so far, except crap like this:
AT command Quote:
I've spent more than a day looking at this and it's a fairly common issue that most seem to just give up and install sendmail or postfix in default configuration to solve. (See my next post.) I might have a go at solving it once I get the system set up. I've got enough source from other apps at this point to see how to wash all that out into only the necessary parts for a workstation or server that is not acting as a proper mail server. |
Quote:
Steve |
Quote:
Now that I've read enough to understand the issue. What is needed for non-mail servers and desktops, as a mail handler, is a pseudo-MTA wrapper, i.e. "sendmail -i" impersonator/pipe-processor, in a very simple MTA. This MTA would speak to actual MTA Servers through client protocols AND to a local light MDA. The local MDA would only accept mail from the local MTA (users and processes), and need not provide spam/malware filters as it's only purpose is to accept job to User-Y or event to local root mail, etc. In other words, a single-seat, client-centric MTA that handles only local mail. |
Quote:
Steve |
I'm building a Linux From Scratch, the issue is packages that require... sendmail, that are not "mail applications." Sendmail is a bag of frustration for people whom do not need or want a mail server, yet some applications insist on it's presence to deliver automated messages.
Hence the need for a lightweight MTA & MDA that impersonates sendmail and only does: local-to-local and local-to-outbound via client protocols. This doesn't appear to exist currently, in spite of it being ideal for desktops and servers that aren't mail-servers. A minimal and uncomplicated configuration file. I think this will most likely be my first free software project, it or a frame-buffer configuration utility. |
Quote:
One reason I put put webmin on, alows for easier config of programs like sendmail. http://www.linuxquestions.org/questi...ed-4175501416/ BLFS has other MTA's. Not sure whats the easiest to config as I've never used them P.S. I installed Exim and dovcot, managed to get it working locally after some goggling the errors I got in the mail log after the install. Steve |
Well, if you're wondering how this worked out for me, if you're someone whom came looking for a system services to root only setup; I've now found that this is fairly easy to do with a script.
Quote:
If you do setup mailx (some of the daemons use it), locking down execution to a daemon group might be something to do if you're vulnerability paranoid. That way, only daemons can send mail. |
All times are GMT -5. The time now is 12:13 PM. |