Re: [opensuse] mailing from CLI



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.

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.

--
Sandy

List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Can you do the following on uksccmads01 ... The problem may actually have nothing to do with the new server but the ... From a command prompt try and see if you get any additional info ... Skipping site UK-CCM, this site is outside the scope ...
    (microsoft.public.windows.server.active_directory)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Can you do the following on uksccmads01 ... The problem may actually have nothing to do with the new server but the ... Active Directory Forest Replication GUIDs Found: ... From a command prompt try and see if you get any additional info ...
    (microsoft.public.windows.server.active_directory)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Default Server: uksccmads01.jw-uk.jameswalker.co.uk ... Output from dnslint on uksccmads01: No erros found, ... Active Directory Forest Replication GUIDs Found: ... From a command prompt try and see if you get any additional info ...
    (microsoft.public.windows.server.active_directory)
  • Re: RWW Issue From the Internet (Port 4125)
    ... At a command prompt, if the following does not return a result, it should ... Port 4125 has to be open in your routers, ... then try to RWW into the SBS server. ... This will take the router ...
    (microsoft.public.windows.server.sbs)
  • Re: RWW Issue From the Internet (Port 4125)
    ... At a command prompt, if the following does not return a result, it should ... Port 4125 has to be open in your routers, ... then try to RWW into the SBS server. ... This will take the router ...
    (microsoft.public.windows.server.sbs)