Re: [toaster] suspending and account
On Jan 15, 2007, at 9:10 PM, Jeff Koch wrote: Is there an easy way to disable an entire domain? As a hack, I've manually edited the vpasswd file and added a character to the start of both the clear and encrypted passwords. A bit of a pain, but allows mail to be delivered but prevents logins 100%. You could even make a backup of the vpasswd file so it's quick and easy to restore when they finally pay you. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/
Re: [toaster] suspending and account
Hi Tom: I found the vmoduser command can operate on an entire domain to turn off pop3 access. vmoduser -p domain_name --- turns of pop3 access for all users vmoduser -x domain_name --- clears the blocking flag for all users At 07:33 PM 1/16/2007, you wrote: On Jan 15, 2007, at 9:10 PM, Jeff Koch wrote: Is there an easy way to disable an entire domain? As a hack, I've manually edited the vpasswd file and added a character to the start of both the clear and encrypted passwords. A bit of a pain, but allows mail to be delivered but prevents logins 100%. You could even make a backup of the vpasswd file so it's quick and easy to restore when they finally pay you. -- Tom Collins - [EMAIL PROTECTED] Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/ QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/ Best Regards, Jeff Koch, Intersessions
Re: [toaster] suspending and account
I found the vmoduser command can operate on an entire domain to turn off pop3 access. vmoduser -p domain_name --- turns of pop3 access for all users vmoduser -x domain_name --- clears the blocking flag for all users What happened if they use webmail?
Re: [toaster] suspending and account
Jeff Koch wrote: Hi Tom: I found the vmoduser command can operate on an entire domain to turn off pop3 access. vmoduser -p domain_name --- turns of pop3 access for all users vmoduser -x domain_name --- clears the blocking flag for all users Note to self: Find out how these work. Do they set a domain level flag, or the flag for all users. If it affects the flag on all users doing this will turn off blocking on any users that had it before. Rick
[toaster] suspending and account
Hi: What are the recommendation's on the best way of suspending a customer's email service without them losing email. Perhaps a method that will block pop logins but still allow mail to be received. TIA Best Regards, Jeff Koch
Re: [toaster] suspending and account
Jeff Koch wrote: Hi: What are the recommendation's on the best way of suspending a customer's email service without them losing email. Perhaps a method that will block pop logins but still allow mail to be received. TIA Best Regards, Jeff Koch vmoduser has several switches for disabling account features: -p ( disable POP access ) -s ( disable SMTP AUTH access ) -w ( disable webmail [IMAP from localhost*] access ) -i ( disable non-webmail IMAP access ) -b ( bounce all mail ) -o ( user is not subject to domain limits ) -r ( disable roaming user/pop-before-smtp )
Re: [toaster] suspending and account
On Mon, 2007-01-15 at 22:25 -0500, Jason Smith wrote: Jeff Koch wrote: Hi: What are the recommendation's on the best way of suspending a customer's email service without them losing email. Perhaps a method that will block pop logins but still allow mail to be received. TIA Best Regards, Jeff Koch vmoduser has several switches for disabling account features: -p ( disable POP access ) -s ( disable SMTP AUTH access ) -w ( disable webmail [IMAP from localhost*] access ) -i ( disable non-webmail IMAP access ) -b ( bounce all mail ) -o ( user is not subject to domain limits ) -r ( disable roaming user/pop-before-smtp ) Or if you use a mysql backend you can use these to work out the value and put it into the gid field of the user you want to deny access to. /* gid flags */ #define NO_PASSWD_CHNG 0x01 #define NO_POP 0x02 #define NO_WEBMAIL 0x04 #define NO_IMAP0x08 #define BOUNCE_MAIL0x10 #define NO_RELAY 0x20 #define NO_DIALUP 0x40 #define V_USER0 0x080 #define V_USER1 0x100 #define V_USER2 0x200 #define V_USER3 0x400 #define NO_SMTP 0x800 #define QA_ADMIN 0x1000 #define V_OVERRIDE 0x2000 #define NO_SPAMASSASSIN 0x4000 #define DELETE_SPAM 0x8000 #define SA_ADMIN 0x1 #define SA_EXPERT0x2
Re: [toaster] suspending and account
Is there an easy way to disable an entire domain? At 10:28 PM 1/15/2007, you wrote: On Mon, 2007-01-15 at 22:25 -0500, Jason Smith wrote: Jeff Koch wrote: Hi: What are the recommendation's on the best way of suspending a customer's email service without them losing email. Perhaps a method that will block pop logins but still allow mail to be received. TIA Best Regards, Jeff Koch vmoduser has several switches for disabling account features: -p ( disable POP access ) -s ( disable SMTP AUTH access ) -w ( disable webmail [IMAP from localhost*] access ) -i ( disable non-webmail IMAP access ) -b ( bounce all mail ) -o ( user is not subject to domain limits ) -r ( disable roaming user/pop-before-smtp ) Or if you use a mysql backend you can use these to work out the value and put it into the gid field of the user you want to deny access to. /* gid flags */ #define NO_PASSWD_CHNG 0x01 #define NO_POP 0x02 #define NO_WEBMAIL 0x04 #define NO_IMAP0x08 #define BOUNCE_MAIL0x10 #define NO_RELAY 0x20 #define NO_DIALUP 0x40 #define V_USER0 0x080 #define V_USER1 0x100 #define V_USER2 0x200 #define V_USER3 0x400 #define NO_SMTP 0x800 #define QA_ADMIN 0x1000 #define V_OVERRIDE 0x2000 #define NO_SPAMASSASSIN 0x4000 #define DELETE_SPAM 0x8000 #define SA_ADMIN 0x1 #define SA_EXPERT0x2 Best Regards, Jeff Koch, Intersessions