OK here is the link to the nail documentation:
http://nail.sourceforge.net/man/nail.1.html

Here is how I did it:
 /usr/contrib/bin/gzip /users/$f_name
  env MAILRC=/dev/null smime-encrypt-$user_email=/users/$pem_file.pem  \
     nail -s $subject -a /users/$f_name.gz $user_email </dev/null

The environment is the key to making this work.  I checked and there is an
smime-sign option.  Hope this helps.



> On Thu, 12 Jan 2006, [EMAIL PROTECTED] wrote:
>
>> I can tell you how, but you have to have nail.  If you can get that I
>> will
>> tell you how I did.  Also I don't know about signed, I encrypted mine.
>
>       That will do.
> Thnx
>
> --
> ============================================================================
>
> Dimitris Zilaskos
>
> Department of Physics @ Aristotle University of Thessaloniki , Greece
> PGP key : http://tassadar.physics.auth.gr/~dzila/pgp_public_key.asc
>         http://egnatia.ee.auth.gr/~dzila/pgp_public_key.asc
> MD5sum  : de2bd8f73d545f0e4caf3096894ad83f  pgp_public_key.asc
> ============================================================================
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]
>


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to