On 04/17/2007 08:03 AM somebody named Sandy Drobic wrote:
> 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.
>>
>> 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.
> 
> 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.

"Wrong" is way too strong a word... actually inappropriate (unless
"Tools" has some highly obscure, highly qualitative meaning).

(1) One essential characteristic of client-server technology is that the
physical locations of the client and server are irrelevant as long as
they can connect via a network.

(2) Tbird (a client) doesn't require a local MTA to send email to a
remote server.  Nor does mew, an emacs library for email.

(3) The nail (a command line MUA) manpage has an "smtp-use-starttls"
setting, which indicates to me that it is intended to be used to connect
to a remote mail server.  See (1).


> 
> 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.
> 
> 
>> One simplifying factor is that I need only to send an email-- don't have
>> to read any.
>>
>> The remote server I'm using listens on port 993, uses SSL.
> 
> Not good. 993 is the ImapS port, not an smtp port. Use a SMTP server to
> send the mail to.

I mentioned port 993 only because a login to a server is sometimes
required in order for a client to send email; 993 indicates the use of
SSL.  So, yes, it is an IMAPS port, but knowing about the use of SSL may
be relevant to sending mail.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to