Rozdiely pre scripts/shell/sysadmin/qmail-manage.sh medzi verziami 1.4 a 1.5
| verzia 1.4, 2003/06/19 09:05:38 |
verzia 1.5, 2003/06/19 09:11:48 |
|
|
| # - local aliases support implemented |
# - local aliases support implemented |
| # |
# |
| |
|
| # $Platon: scripts/shell/sysadmin/qmail-manage.sh,v 1.3 2003/06/18 12:18:59 nepto Exp $ |
# $Platon: scripts/shell/sysadmin/qmail-manage.sh,v 1.4 2003/06/19 09:05:38 nepto Exp $ |
| |
|
| # |
# |
| # SYSTEM COMMANDS CONFIGURATION |
# SYSTEM COMMANDS CONFIGURATION |
|
|
| exit 2; |
exit 2; |
| } |
} |
| |
|
| |
warning() |
| |
{ |
| |
$ECHO "$PRG: WARNING: $1"; |
| |
} |
| |
|
| notice() |
notice() |
| { |
{ |
| $ECHO "$PRG: NOTICE: $1"; |
$ECHO "$PRG: NOTICE: $1"; |
| Riadok 231 if [ $alias_f ]; then |
|
| Riadok 236 if [ $alias_f ]; then |
|
| notice "extracting real mailbox path for alias"; |
notice "extracting real mailbox path for alias"; |
| mailbox="` $GREP "^$alias_qmail_key:" "$DIR_DOMAINS/$domain" \ |
mailbox="` $GREP "^$alias_qmail_key:" "$DIR_DOMAINS/$domain" \ |
| | sed 's/^[^:]*:[^:]*:[^:]*:[^:]*:\(.[^:]*\):.*$/\1/g' `"; |
| sed 's/^[^:]*:[^:]*:[^:]*:[^:]*:\(.[^:]*\):.*$/\1/g' `"; |
| |
if [ "X$mailbox" = "X" ]; then |
| |
warning "aliased mailbox not found, however alias was created"; |
| |
fi |
| |
|
| fi |
fi |
| |
|
| # domain and password file lines |
# domain and password file lines |
Platon Group <platon@platon.sk> http://platon.sk/
|
|