LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Closed Thread
 
Thread Tools
Old 07-21-2008, 09:59 AM   #1
Red Pantyhose
LQ Newbie
 
Registered: Apr 2007
Posts: 5
Thanked: 0
BACULA: encrypt messages with gnupg and send them to bsmtp


[Log in to get rid of this advertisement]
Dear Readers

We like to pipe the bacula bsmtp-Messages through gpg because our backup-script run by the RunBeforeJob Option produces very sensitive information.

Is there a possibility to do this ?

# this works
echo 'streng geheim' | gpg --encrypt --always-trust -a -r wgsupport@myhost.ch - | /usr/sbin/bsmtp -h mail.myhost.ch -f test@myhost.ch -s "test" dummy@myhost.ch

# but inside bacula-dir.conf this fails :
mailcommand = "gpg --encrypt --always-trust -a -r wgsupport@myhost.ch - | /usr/sbin/bsmtp -h mail.myhost.ch -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"

# and this one fails too
mailcommand = " | gpg --encrypt --always-trust -a -r wgsupport@myhost.ch - | /usr/sbin/bsmtp -h mail.myhost.ch -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r"

Thanks

Denis

Last edited by Red Pantyhose; 07-21-2008 at 10:15 AM..
Red Pantyhose is offline  
Tag This Post , , , ,
Old 07-21-2008, 10:04 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Kubuntu Karmic Koala
Posts: 17,463
Blog Entries: 4
Thanked: 87
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue here: http://www.linuxquestions.org/questi...-bsmtp-657173/
XavierP is offline    

Closed Thread

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
encrypt and decrypt using encrypt(char block[64], int edflag) rockwell_001 Linux - Security 3 08-30-2009 10:16 AM
Is it possible to send and receive "Net Send" messages in Linux? Avatar Linux - Networking 15 02-26-2009 10:02 PM
BACULA: encrypt messages with gnupg and send them to bsmtp Red Pantyhose Linux - Software 3 07-22-2008 08:03 AM
BACULA: encrypt messages with gnupg and send them to bsmtp Red Pantyhose Linux - Server 1 07-21-2008 10:04 AM
LXer: Encrypt and sign Gmail messages with FireGPG LXer Syndicated Linux News 0 06-04-2007 08:31 PM


All times are GMT -5. The time now is 10:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration