Mailinglist Archive: opensuse (3518 mails)
| < Previous | Next > |
[opensuse] mailing from CLI
- From: ken <gebser@xxxxxxxxxxxxx>
- Date: Tue, 17 Apr 2007 06:53:48 -0400
- Message-id: <4624A73C.1080501@xxxxxxxxxxxxx>
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
| < Previous | Next > |