[vchkpw] limit domain
Hi I would like to know how limit one domain (domain.com) so that the accounts of that domain can´t send email between them. For instance: [EMAIL PROTECTED] and [EMAIL PROTECTED] can´t send email between them I have qmail1.03, vpopmail 5.2.1, qmail-scanner-1.22. Thanks
Re: [vchkpw] Fields' use?
X-Istence wrote: On Nov 18, 2004, at 3:44 PM, Matthew Walker wrote: What are the pw_uid and pw_gid fields in the user info actually used for? I did a quick read through the docs, and couldn't find any information about what they do other than the fact that they're the user id and group id. Matthew They are named to confuse people. :P Actually i have no clue, but there should be some documentation on them, and they should possible be renamed to something more suiting for the task they are doing or being used for. The GID field is used for setting user flags, such things like NO_PASSWD_CHNG NO_POP NO_SMTP NO_WEBMAIL NO_IMAP BOUNCE_MAIL NO_RELAY NO_DIALUP Don't know how the work, never used them. Look in the src, vmoduser.c for info. DAve -- Systems Administrator http://www.tls.net Get rid of Unwanted Emails...get TLS Spam Blocker!
RE: [vchkpw] Fields' use?
um.. the uid and gid are used on a unix file systems to identify permission levels of access to files and directories. they allow an administrator to compartementalize access on a *nix box. they are closely tied with the applications chmod chown and chgrp. pw_uid is == uid from the /etc/passwd file same with pw_gid they were probably not identified in documentation because they are pretty evident if you came from an *nix file system admin background they do have the added benefit of being used as a reference for the functionality that dave pointed out. kenneth gf brown X-Istence wrote: On Nov 18, 2004, at 3:44 PM, Matthew Walker wrote: What are the pw_uid and pw_gid fields in the user info actually used for? I did a quick read through the docs, and couldn't find any information about what they do other than the fact that they're the user id and group id. Matthew They are named to confuse people. :P Actually i have no clue, but there should be some documentation on them, and they should possible be renamed to something more suiting for the task they are doing or being used for. The GID field is used for setting user flags, such things like NO_PASSWD_CHNG NO_POP NO_SMTP NO_WEBMAIL NO_IMAP BOUNCE_MAIL NO_RELAY NO_DIALUP Don't know how the work, never used them. Look in the src, vmoduser.c for info. DAve
Re: [vchkpw] Fields' use?
On Nov 19, 2004, at 6:33 PM, shadowplay.net wrote: um.. the uid and gid are used on a unix file systems to identify permission levels of access to files and directories. they allow an administrator to compartementalize access on a *nix box. they are closely tied with the applications chmod chown and chgrp. Perhaps you should have read the rest of this thread before posting. In the case of vpopmail, the fields are called pw_uid and pw_gid but they are used for other purposes. We had considered renaming pw_gid to pw_flags, but as Ken pointed out previously, there's too much code that refers to the field by its old name, pw_gid. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/