On 04/17/2007 10:59 AM somebody named Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Tuesday 2007-04-17 at 06:53 -0400, ken wrote:
I need to email from the command line a previously created file. (The finished working command will go into cron and so should be completely programmatic.) Using Linux, There are a few open source apps that should work: mail, mailx, and nail. Weirdness is that they all share the same manpage. So maybe they all work exactly the same (???).
Or maybe I should say they all fail to work in the same way, because I can't get anything to work at all or to give a helpful error message.
They are all the same physical program, using symlinks from older names.
Okay, good to know.
One complicating factor is that I don't want to set up a local mail server and according to the mail/mailx/nail manpage, I shouldn't have to. (That much I can understand of the manpage.) I have a remote mail (IMAPS/SSL) server which works perfectly fine with thunderbird.
I don't think that's a good/wise idea. There are many applications needing it, starting with cron.
Don't know what you mean here. The only reason I mention tbird at all is to show that I have a working mail connection, i.e., can send mail just fine already. Tbird is a GUI, not for CLI noninteractive use, not what I'd use for the task at issue.
The only error messages this and its variations yeild is:
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol postdrop: warning: inet_protocols: configuring for IPv4 support only
I think you are indeed using the local mail server - postdrop is part of it :-P
Postdrop may be part of it, but I don't have a local mail server running. According to the postdrop manpage, postdrop is a "Postfix mail posting utility". If nail calls a utility provided by postfix, I don't mind. But it isn't the same thing as running a mail server and doesn't mean that I need to run a mail server or that I am already running a mail server. Let me add that I don't need to run a mail server to do what I want to do right now and that I don't want to run a mail server for this particular purpose. So, anyone know how to use nail or other CLI MUA to send an email?
- -- Cheers, Carlos E. R.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76
iD8DBQFGJODRtTMYHG2NR9URAnE/AJ4sPZJBD97YYuGbV/kGwIs6CTp2hwCdEJrT 7YdWb3JKvLLkY97Dw8m2464= =eRFk -----END PGP SIGNATURE-----
-- "Genius might be described as a supreme capacity for getting its possessors into trouble of all kinds." -- Samuel Butler -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org