Giter Club home page Giter Club logo

Comments (3)

jawj avatar jawj commented on May 13, 2024

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.

arosl avatar arosl commented on May 13, 2024
~# 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.

jawj avatar jawj commented on May 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.