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_IMAP 0x08 #define BOUNCE_MAIL 0x10 #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 0x10000 #define SA_EXPERT 0x20000