KunterBuntesSeminar-WS12/KSP/caff: Unterschied zwischen den Versionen

Aus Fachschaft_Informatik
Zur Navigation springen Zur Suche springen
(fuck perl)
Zeile 23: Zeile 23:
Wenn du msmtp benutzen moechtest, so musst du es konfigurieren und caff beibringen es zu nutzen:
Wenn du msmtp benutzen moechtest, so musst du es konfigurieren und caff beibringen es zu nutzen:


  % echo "\$CONFIG{'mailer-send'} =  [ 'msmtp' ];" >> ~/.caffrc
  % echo "\$CONFIG{'mailer-send'} =  [ 'sendmail', '--account=fbi' ];" >> ~/.caffrc
  % cat > ~/.msmtprc <<< '
  % cat > ~/.msmtprc <<< '
  # Set default values for all following accounts.
  # Set default values for all following accounts.
Zeile 43: Zeile 43:
  % echo 'machine mailhost.informatik.uni-hamburg.de login 4winter password YOURPASSWD' >> ~/.netrc
  % echo 'machine mailhost.informatik.uni-hamburg.de login 4winter password YOURPASSWD' >> ~/.netrc
  % chmod 600 ~/.netrc
  % chmod 600 ~/.netrc
% export PERL_MAILERS="sendmail:/usr/bin/msmtp"


Testen!
Testen!


  % msmtp 4winter@informatik.uni-hamburg.de <<< 'this is a test'
  % msmtp 4winter@informatik.uni-hamburg.de <<< 'this is a test'

Version vom 29. November 2012, 20:53 Uhr

caff - CA fire and forget

caff ist ein tolles Tool fuer Keysigningparties.

Installation

# aptitude install signing-party

Wer keinen lokalen Mailserver installiert und konfiguriert hat, kann msmtp benutzen und Mails ueber den Ikumsmailserver verschicken.

# aptitude install msmtp

caff konfigurieren

% cat > ~/.caffrc <<< "
\$CONFIG{'owner'} = 'Justus Winter';
\$CONFIG{'email'} = '4winter+caff@informatik.uni-hamburg.de';
\$CONFIG{'keyid'} = [ qw{D31E8882CADE3658} ];
"

msmtp konfigurieren

Wenn du msmtp benutzen moechtest, so musst du es konfigurieren und caff beibringen es zu nutzen:

% echo "\$CONFIG{'mailer-send'} =  [ 'sendmail', '--account=fbi' ];" >> ~/.caffrc
% cat > ~/.msmtprc <<< '
# Set default values for all following accounts.
defaults
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log

# mailhost.informatik.uni-hamburg.de
account fbi
host mailhost.informatik.uni-hamburg.de
from 4winter@mailhost.informatik.uni-hamburg.de
auth on
user 4winter

account default : fbi
'
% chmod 600 ~/.msmtprc
% echo 'machine mailhost.informatik.uni-hamburg.de login 4winter password YOURPASSWD' >> ~/.netrc
% chmod 600 ~/.netrc
% export PERL_MAILERS="sendmail:/usr/bin/msmtp"

Testen!

% msmtp 4winter@informatik.uni-hamburg.de <<< 'this is a test'