Task #1073

warnpassexpire script: conform to user state machine

Added by Davide Principi over 9 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:12/04/2012
Priority:NormalDue date:12/05/2012
Assignee:-% Done:

100%

Category:nethserver-directoryEstimated time:4.00 hours
Target version:NSA1

Description

  • Set /sbin/e-smith/warnpassexpire script to observe User account states
  • Add postfix package to send the mail message
  • Implement also IMAP NOTIFY

Related issues

Blocked by NethServer 6 - Task #469: Basic mail common package CLOSED 06/04/2012 06/11/2012

Associated revisions

Revision bb2893cf
Added by Davide Principi over 8 years ago

warnpassexpire: added to cron.daily/ now triggers "password-expired" event. Refs #1073

Revision 676f50c8
Added by Davide Principi over 8 years ago

password-expired event: signaled by warnpassexpire daily cronjob, send an email to any recipient resulting from /etc/e-smith/templates/password-expired/recipients/ template expansion. Refs #1073

Revision bca60d39
Added by Davide Principi over 8 years ago

Add first pseudonym as recipient of password expiration warnings. Refs #1073

Revision 4229929e
Added by Davide Principi over 8 years ago

password-expired/recipients template (20vmail_delivery): use getAccountMailAddresses() method to obtain a full email address. Refs #1073, #1844

Revision 21aabe19
Added by Davide Principi almost 8 years ago

Removed duplicated warnpassexpire script invocation. Refs #1073

History

#1 Updated by Davide Principi over 9 years ago

  • Start date deleted (04/23/2012)

#2 Updated by Davide Principi almost 9 years ago

  • Target version changed from DEV104 to DEV133

#3 Updated by Davide Principi almost 9 years ago

  • Priority changed from Normal to Low

#4 Updated by Davide Principi almost 9 years ago

  • Target version changed from DEV133 to NSA1

#5 Updated by Davide Principi over 8 years ago

  • Estimated time set to 4.00

#6 Updated by Davide Principi over 8 years ago

  • Description updated (diff)

#7 Updated by Davide Principi over 8 years ago

  • Due date set to 12/05/2012
  • Status changed from NEW to ON_DEV
  • Assignee set to Davide Principi
  • Start date set to 12/04/2012
  • % Done changed from 0 to 10

#8 Updated by Davide Principi over 8 years ago

  • Project changed from 47 to 1
  • Priority changed from Low to Normal

#9 Updated by Davide Principi over 8 years ago

  • Project changed from 1 to 47

#10 Updated by Davide Principi over 8 years ago

  • Status changed from ON_DEV to CLOSED
  • % Done changed from 10 to 100

Status:

  • no IMAP notify feature found: not implemented
  • mail is sent to addresses obtained by expanding password-expired/recipients template.
    • nethserver-directory searches EmailAddress props of user records.
    • nethserver-mail-server returns the first pseudonym record associated with user's account.

#11 Updated by Davide Principi over 8 years ago

  • Project changed from 47 to NethServer 6

Also available in: Atom PDF