Show
Ignore:
Timestamp:
12/01/03 14:34:59 (20 years ago)
Author:
jalet
Message:

Lengthier explanation on the WinPopup? example.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/conf/pykota.conf.sample

    r1232 r1233  
    229229#       mailto: external(/usr/bin/callpager %(username)s "Quota problem on %(printername)s" >/dev/null) 
    230230# 
    231 #   To automatically send a WinPopup message : 
     231#   To automatically send a WinPopup message (this may only work with a PDC,  
     232#   here the same machine does Samba as PDC + CUPS) : 
    232233# 
    233234#       mailto: external(echo "%(message)s"  | /usr/bin/iconv --to-code utf-8 --from-code iso-8859-15 | /usr/bin/smbclient -M "%(username)s" 2>&1 >/dev/null) 
    234235# 
    235 #   NB : Don't forget to redirect your command's standard output somewhere  
    236 #        (e.g. >/dev/null) so that there's no perturbation to the underlying 
    237 #        layer (filter or backend) 
     236#   NB : I use ISO-8859-15, but Windows expects UTF-8, so we pipe the message 
     237#        into iconv before sending it to the Windows user. 
     238# 
     239#   NB : in ANY case, don't forget to redirect your command's standard output 
     240#        somewhere (e.g. >/dev/null) so that there's no perturbation to the  
     241#        underlying layer (filter or backend) 
    238242# 
    239243mailto: both