On 04/17/2007 08:34 AM somebody named Adam Tauno Williams wrote:
I need to email from the command line a previously created file.
If you want to e-mail a file vs. just a message look at the "nail" command, very handy.
Yeah. I was already there. See the paragraph below (from my original post).
(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. One complicating factor s that I don't want to set up a local mail
There is no reason not to setup the local MTA to use the central relay; it will save you allot of grief.
I've set up sendmail a few times, so I know what's involved. As I said in my original post, it isn't necessary and (for several reasons too detailed to go into here) I don't want to do it.
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. This is wrong, the command line Tools all depend on Postfix/Sendmail to provide the command line binary /usr/sbin/sendmail to put the mail into the local Mailserver queue. If you don't want that you should use mini_sendmail. That is a command line tool to send an email directly to a remote smtp server.
Yast will setup postfix to do basic delivery to a central mail repository; just run through the setup. There is no reason not to have the local MTA configured. You do not need to accept connections.
Yeah, I know.
....
-- "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