Changeset 411


Ignore:
Timestamp:
09/02/09 13:43:29 (15 years ago)
Author:
nanardon
Message:
  • complete sample config file
Location:
LATMOS-Accounts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts/lib/LATMOS/Accounts/Maintenance.pm

    r410 r411  
    5050        my %mail = ( 
    5151            From => ($self->val('_default_', 'mailFrom') || 
    52                 'nomail@latmos.ipsl.fr'), 
     52                'nomail@localhost'), 
    5353            Subject => 'LATMOS Expire in ' . $user->{delay}, 
    5454            smtp => $self->val('_default_', 'smtp'), 
     
    6363        # if user have no mail, mail only to manager, avoiding empty To 
    6464        # NB: at time, for testing purpose, mail is not really sent 
    65         my ($to, @cc) = grep { $_ } ($mail, $managermail); 
     65        my ($to, @cc) = grep { $_ } ($mail, $managermail, $self->val('_default_', 
     66            'allwayscc')); 
    6667        $mail{to} = 'nanardon@nanardon.zarb.org'; 
    6768 
  • LATMOS-Accounts/sample/latmos-account.ini

    r175 r411  
    77# Default synchro to apply 
    88sync = name 
     9# smtp: the server used to send mail 
     10smtp = localhost 
     11# the From mail header for mail 
     12mailFrom = svp@localhost 
     13# An address always receiving mails as cc 
     14allwayscc =  
     15# The base templates directory 
     16templatespath = /usr/share/latmos-accounts/templates 
     17 
    918 
    1019[_defattr_] 
Note: See TracChangeset for help on using the changeset viewer.