Line 16: |
Line 16: |
| If you install [[:UserManager]] and delegate the user-vacation panel to users they can prepare and enable their vacation message themselves. | | If you install [[:UserManager]] and delegate the user-vacation panel to users they can prepare and enable their vacation message themselves. |
| | | |
| + | ====Only for SME9==== |
| + | |
| + | If you install [[:UserManager]] and delegate to users the 'uservacations', they can manage by default the vacation message of all users. However it is needed sometime to restrict a user to certain groups, or just one group. |
| + | |
| + | * The user 'helene' will be able to manage only users belong to the group 'parents' |
| + | db accounts setprop helene delegatedVacations 'parents' |
| + | |
| + | * The user 'helene' will be able to manage only users belong to the groups 'famille' and 'enfants' |
| + | db accounts setprop helene delegatedVacations 'enfants,famille' |
| + | |
| + | * Remove all group based restriction |
| + | db accounts setprop helene delegatedVacations '' |
| + | or |
| + | db accounts delprop helene delegatedVacations |
| | | |
| ===Automatic enabling and disabling of vacation messages=== | | ===Automatic enabling and disabling of vacation messages=== |
Line 55: |
Line 69: |
| ===User Shell Access=== | | ===User Shell Access=== |
| | | |
− | If a user has shell access they can use advanced vacation functions, man vacation | + | If a user has shell access they can use advanced vacation functions : |
| + | man vacation |
| | | |
| ====Vacation responses==== | | ====Vacation responses==== |
Line 79: |
Line 94: |
| if the sender matches any of the mail addresses listed in the | | if the sender matches any of the mail addresses listed in the |
| optional files ~/.vacation.aliases or ~/.vacation.noreply. | | optional files ~/.vacation.aliases or ~/.vacation.noreply. |
− |
| |
− |
| |
| | | |
| ===Troubleshooting=== | | ===Troubleshooting=== |
Line 88: |
Line 101: |
| It is possible to specify a custom sender domain in the "From:"-header of a user's vacation message. If this custom sender Domain is not registered as a valid primary or secondary domain in SME server-manager, chances are that remote SMTP servers will reject the vacation message (550 envelope sender not allowed). | | It is possible to specify a custom sender domain in the "From:"-header of a user's vacation message. If this custom sender Domain is not registered as a valid primary or secondary domain in SME server-manager, chances are that remote SMTP servers will reject the vacation message (550 envelope sender not allowed). |
| | | |
− | Some remote SMTP servers will forward the vacation message nonetheless in that case, if an additional "Return-Path:"-header is set in the vacation message, eg. before the first blank line separating the body of the mail, one can write: | + | Some remote SMTP servers will forward the vacation message nonetheless in that case, if an additional "Return-Path:"-header (using the same sender address) is set in the vacation message, eg. before the first blank line separating the body of the mail, one can write: |
| | | |
| From: user@customdoma.in | | From: user@customdoma.in |
| Return-Path: user@customdoma.in | | Return-Path: user@customdoma.in |
| Subject: Away from my mail - $SUBJECT | | Subject: Away from my mail - $SUBJECT |
− |
| |
| | | |
| ====Disable cron status mail==== | | ====Disable cron status mail==== |