Re: [opensuse] mailing from CLI



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: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • [UNIX] GNU Mailutils Multiple Vulnerabilities (Buffer Overflows, Format String, DoS)
    ... execute arbitrary code from remote using the GNU Mailutils programs. ... Remote exploitation of a format string vulnerability in the imap4d server ... The vulnerability specifically exists in the handling of the command tag ...
    (Securiteam)
  • Re: Cannot telnet some ports
    ... Some with remote administration feature I believe. ... >> From a Windows 2003 Server SP2 ... >> fromn the 2k3 serrver but can telnet into any other port. ... kerberos 750/udp kdc # Kerberos udp ...
    (microsoft.public.windows.server.general)
  • RE: Remote Web Workplace not completely working.
    ... In order to allow a remote desktop connection to a client computer through ... TS requests through a firewall on TCP port 4125, ... To open the port 4125 on ISA, we can re-run CEICW to confirm it. ... server certificate) and then click Next. ...
    (microsoft.public.windows.server.sbs)
  • Re: ISA Rule for Remote Desktop?
    ... My server has a private IP address on the WAN NIC. ... I've just had an opportunity to try testing Remote Desktop through RWW from ... attempts being made from the logging interface in ISA to port 4125 when I ... There are three connection ...
    (microsoft.public.windows.server.sbs)
  • Re: Unable to Connect to Server/Client Desktop using RWW
    ... Please post the results of an ipconfig /all for the sbs server. ... I did another test after turning off the firewall on the remote. ... If port 4125 was not forwarded on the sbs machine, ...
    (microsoft.public.backoffice.smallbiz)