Comments (3)
Odd. It works for me, and here's an extract from man mail
on Ubuntu 16.10, which is the only platform my setup script is intended for:
-a, --append=HEADER: VALUE
append given header to the message being sent
-A, --attach=FILE
attach FILE
from ikev2-setup.
~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety
when I do man mail
I get this:
Options
-A account Executes an account command (see below) for account after the startup files have
been read.
-a file Attach the given file to the message. The same filename conventions as described
in the section COMMANDS apply: shell word expansion is restricted to the tilde '~'
and variables. Shall file not be accessible but contain a '=' character, then any-
thing after the '=' is assumed to specify the input character set and anything
before '=' the filename: this is the only option to specify the input character set
(and don't perform any character set conversion) for text attachments from the com-
mand line, not using the ~@ tilde escape command.
from ikev2-setup.
Are you running this on a clean installation? I suspect your mail
command is not mapping to the mailutils
package, as it should if you have run setup.sh
on a clean installation.
You can tell what mail
is mapped to on your system by doing something like this:
george@vps347350:~$ which mail
/usr/bin/mail
george@vps347350:~$ file /usr/bin/mail
/usr/bin/mail: symbolic link to /etc/alternatives/mail
george@vps347350:~$ file /etc/alternatives/mail
/etc/alternatives/mail: symbolic link to /usr/bin/mail.mailutils
george@vps347350:~$ file /usr/bin/mail.mailutils
/usr/bin/mail.mailutils: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=350142cf94bacd9fe5d7f5bd8fb76f62b238aef5, stripped
george@vps347350:~$
from ikev2-setup.
Related Issues (20)
- generating INFORMATIONAL request 2 [ N(AUTH_FAILED) ] HOT 2
- Neither new message via email nor new file in home folder HOT 1
- Possible kernel problem in charon? HOT 1
- some problems HOT 1
- Speed limit HOT 1
- entered username and password is correct but 'user authentication failed' error is received HOT 6
- Received disconnect from x.x.x.x port 22:2: Too many authentication failures
- let's encrypt chain HOT 2
- Certificate is Not Signed (iOS) HOT 2
- no session limit for account HOT 1
- Windows 11 - Policy match error HOT 5
- Not connecting on older macOS HOT 1
- apache2 only VPN
- RouterOS as client HOT 1
- Python error when installing HOT 3
- Unable to register an account with ACME server HOT 1
- DNS leak Windows 11 HOT 2
- "The specified port is already open" error? HOT 3
- Strongswan: no private key found. Windows 10: error 13801 HOT 8
- certbot: error: unrecognized arguments: --key-type rsa HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ikev2-setup.