[opensuse] mailing from CLI




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.

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.

I created a ~/.mailrc which contains this:

account street \
from="gebser@xxxxxxxxxxxxx (ken) \
password-user@host=pass-word-w-dashes \
imap-auth=login


alias dest: recip@xxxxxxxx


The command I use-- well, one of them I've tried:

echo '.' | nail -A street -q mailfile.in -s "test using nail" \
-r gebser@xxxxxxxxxxxxx dest


The only error messages this and its variations yeild is:

send-mail: warning: inet_protocols: IPv6 support is disabled: Address
family not supported by protocol
send-mail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address
family not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only


Help enough to get this working would be much appreciated.



--
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: dcdiag - advertising errors on newley promoted domain controller
    ... Then change the secondary DNS to the other site DNS server. ... Skipping site UK-CCM, this site is outside the scope provided ... command line arguments provided. ...
    (microsoft.public.windows.server.active_directory)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Both forward and reverse zones and server records have the correct IP ... Once you have found the error then on both servers, from a command ... Skipping site UK-CCM, this site is outside the scope provided ...
    (microsoft.public.windows.server.active_directory)