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="[EMAIL PROTECTED] (ken) \
[EMAIL PROTECTED] \
imap-auth=login
alias dest: [EMAIL PROTECTED]
The command I use-- well, one of them I've tried:
echo '.' | nail -A street -q mailfile.in -s "test using nail" \
-r [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]