Suspended email account is not suspended on pointer domain

jonathanc

Verified User
Joined
Aug 18, 2007
Messages
46
I was a little surprised to find that a suspended email address was still able to send and receive mail via the server because a pointer domain was set up. Specifically, [email protected] (a suspended email address) was able to send/receive using [email protected], which was not automatically suspended. mydomain.com is a pointer to mydomain.co.uk. Deleting the account [email protected] automatically deletes [email protected]. But suspending an account does not, it seems, automatically suspend accounts on pointer domains.
 
Hello,

A normal domain.com and pointer.com will look like this:
Code:
/etc/virtual/[B]domain.com[/B]
/etc/virtual/[B]pointer.com[/B] -> [B]domain.com[/B]
when the domain is suspended, things should look like this:
Code:
/etc/virtual/[B]domain.com_off[/B]
/etc/virtual/[B]pointer.com[/B] -> [COLOR=#ff0000][B]domain.com[/B][/COLOR][B][COLOR=#000000][/COLOR][/B][COLOR=#000000]
where the symbolic link becomes broken because it's not touched during suspension.

Check the /etc/virtual directory to see what it's showing.

John[/COLOR]
 
Hmm.. the domain pointer shares the exact same passwd file.. so if the email account in the passwd file is suspended, this really should apply to both the main domain and pointer.

Check:
Code:
cd /etc/virtual
grep jonathan [B]domain.com[/B]/passwd
grep jonathan [B]pointer.com[/B]​/passwd
and check to see if the password crypt has a ! character in front of it for both cases.
This is how accounts are suspended.. it just prevents future logins.

If you're using imap, it might only take effect until a new connection is made.. so existing idle connections might still be able to use it...

John
 
Back
Top