Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Drew on March 31, 2003, 01:36:48 PM
-
Hello all,
I deleted a user acccount on my SME v 5.1.2 server which is running Darrell's excellent contrib 'dmc-mitel-smtpdcheckrules-0.0.1-5'. BUT, the 'smtpd_check_rules' file doesn't get updated, so mail to this deleted user is still getting into my server creating bounce messages, etc.
Is there a way to get this file to update automatically? Or do I have to go in an manually change the file?
Thanks,
Drew
-
okay...so I answered my own question after digging around on Darrell's site.
I ran the following two commands (below) which updated the 'smtpd_check_rules' file in /var/spool/smtpd/etc.
/sbin/e-smith/expand-template /var/spool/smtpd/etc/smtpd_check_rules
/sbin/e-smith/signal-event email-update
is there a way to have this done automatically when a user account is removed from the SME server?
-
Drew wrote:
> /sbin/e-smith/expand-template
> /var/spool/smtpd/etc/smtpd_check_rules
> /sbin/e-smith/signal-event email-update
>
> is there a way to have this done automatically when a user
> account is removed from the SME server?
Yes, Darrell could do that by fixing his contrib to add a symlink to the appropriate action in the user-delete event directory.
If you can find the script which expands the smtpd_check_rules template, just drop a symlink to it in the /etc/e-smith/events/user-delete directory.
Charlie