[opensuse] Re: mailing from CLI
Theo v. Werkhoven wrote:
Fri, 20 Apr 2007, by jschrod@acm.org:
Theo v. Werkhoven wrote:
Joachim Schrod wrote:
Configuring a local mail systems means to configure and start a local service that can send email (and deliver email from the local to the local system, which is needed for other system services like cron). Most service implementations (postfix, sendmail) involve a running daemon process or at least a cron job to clean up the mail queue.
Btw: the Postfix sendmail drop-in still uses a queue, even without a running daemon, the user just has to flush this by hand (or by script) if the connection doesn't succeed immediately. I'm pretty sure the original Sendmail does this too.
Eh? That's almost exactly what I wrote above (intermedieate text removed to make it clearer). Only that I would not flush a queue by hand, but would use cron for that. And yes, sendmail does this as well, and -- like Postfix -- has the possibility to flush queues either by a daemon process or by explicit command call.
And please note, even if we repeat us again and again: Alone for messages from cron, postfix or sendmail must be configured. Otherwise you'll miss error messages. A Unix system without a configured MTA is plain and simply misconfigured. To add a smart host to this basic configuration is trivial in 99.99% of all cases. (And Carlos' multi-ISP setup is the remaining 0.01%. :-) :-)
There's not much to configure is there? A /etc/nsswitch.conf file, a /etc/hosts file and a /etc/aliases file afaik.
Sorry, but I don't understand what you want to say here. I think, we agree that one should configure the MTA on a Unix host, don't we? We seem to differ in our opinion if queue flushing should be done automatically by a daemon process/cron job or by hand. I think automatic flush is the sensible way to do it, and you seem to think that manual queue flushing is preferable. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Sat, 21 Apr 2007, by jschrod@acm.org:
Theo v. Werkhoven wrote:
Fri, 20 Apr 2007, by jschrod@acm.org:
Theo v. Werkhoven wrote:
Joachim Schrod wrote:
Configuring a local mail systems means to configure and start a local service that can send email (and deliver email from the local to the local system, which is needed for other system services like cron). Most service implementations (postfix, sendmail) involve a running daemon process or at least a cron job to clean up the mail queue.
Btw: the Postfix sendmail drop-in still uses a queue, even without a running daemon, the user just has to flush this by hand (or by script) if the connection doesn't succeed immediately. I'm pretty sure the original Sendmail does this too.
Eh? That's almost exactly what I wrote above (intermedieate text removed to make it clearer). Only that I would not flush a queue by hand, but would use cron for that.
I didn't read that carefully enough.
Otherwise you'll miss error messages. A Unix system without a configured MTA is plain and simply misconfigured. To add a smart host to this basic configuration is trivial in 99.99% of all cases. (And Carlos' multi-ISP setup is the remaining 0.01%. :-) :-)
There's not much to configure is there? A /etc/nsswitch.conf file, a /etc/hosts file and a /etc/aliases file afaik.
Sorry, but I don't understand what you want to say here.
What I'm trying to say is that there's no magic in sendmail.mc or main.cf to be configured in order to get a working SMTP client program. Answering the basic questions (with sensible data) while you setup a Linux system are enough.
I think, we agree that one should configure the MTA on a Unix host, don't we?
Depends, like I said, for embedded systems I do not see the point. For (normal) desktop and server setups I agree.
We seem to differ in our opinion if queue flushing should be done automatically by a daemon process/cron job or by hand. I think automatic flush is the sensible way to do it, and you seem to think that manual queue flushing is preferable.
No, what I say is that mail works with or without an automatic flush system. A daemon process is not absolutely neccessary to get mail out the system. Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.18 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2007-04-22 at 00:34 +0200, Theo v. Werkhoven wrote:
I think, we agree that one should configure the MTA on a Unix host, don't we?
Depends, like I said, for embedded systems I do not see the point. For (normal) desktop and server setups I agree.
Depends again. If the embedded system is based in linux, you must be aware that many of its services trust that they can send internal mail for reporting; the best known of these daemons is cron, but there are more. You have to make sure there are none of these or that they don't try to use email.
No, what I say is that mail works with or without an automatic flush system. A daemon process is not absolutely neccessary to get mail out the system.
Probably right. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGKqIrtTMYHG2NR9URArSdAJ94ifN4cFwfJfhidm4ep24M2e4HCwCfQDWj jKSK0Ec1ozrM1MdEr/dbL04= =b56P -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Carlos E. R.
-
Joachim Schrod
-
Theo v. Werkhoven