I'm trying to enable antivirus and SpamAssassin through the event manager right after a new mail account is created, but it is simply not working. My settings:
Event: Mail account created
Priority: highest(100)
User: root
Command: /usr/local/psa/bin/mail --update $NEW_MAILNAME -antivirus inout
Parallels Plesk Panel's Version is 11.0.9 Update #32.
Additional tests:
- Tried the same settings with an existing user instead of $NEW_MAILNAME -> working.
- Tried the same settings with the future mailadress -> NOT working.
- Tried ${NEW_MAILNAME} instead of $NEW_MAILNAME -> no change.
Can anybody help me?
Best regards
Robin
Event: Mail account created
Priority: highest(100)
User: root
Command: /usr/local/psa/bin/mail --update $NEW_MAILNAME -antivirus inout
Parallels Plesk Panel's Version is 11.0.9 Update #32.
Additional tests:
- Tried the same settings with an existing user instead of $NEW_MAILNAME -> working.
- Tried the same settings with the future mailadress -> NOT working.
- Tried ${NEW_MAILNAME} instead of $NEW_MAILNAME -> no change.
Can anybody help me?
Best regards
Robin