[vchkpw] temporarily disable delivery retrieval for a domain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am trying to do a migration to some new hardware over NFS, however the details aren't that important. Basically I need to know if there is a way to temporarily disable delivery and retrieval for a domain for a short amount of time. I read someplace that for normal users, you can set the sticky bit on the home directory to disable delivery. And I know that qmailadmin and vpopmail provide for a way to turn off POP3 and/or IMAP access on a per-domain basis. Does anyone know: 1) if there is a comparable way to defer delivery for a virtual domain, similar to setting the sticky bit on a home directory 2) if there is a certain file that I can place in a domain to disable retrieval (i.e. what does qmailadmin do to turn this on?) Thanks for any and all info. - -- [!] Justin R. Miller [EMAIL PROTECTED] Encrypted email preferred (key 0xC9C40C31) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9uFgY94d6K8nEDDERAh3qAJ9xFSIh+rmBwd9/PCHzH3NfaSfe5wCglkpN u1z4pJ4fIY58fM0yKwJKSro= =kQNp -END PGP SIGNATURE-
Re: [vchkpw] temporarily disable delivery retrieval for a domain
Hi, On Thursday 24 October 2002 22:29, you wrote: [snip] 1) if there is a comparable way to defer delivery for a virtual domain, similar to setting the sticky bit on a home directory How about a .qmail-default like this?: |exit 111 - That would make the mail-delivery fail temporarily (afaik), and qmail would try again later. /Anders
Re: [vchkpw] temporarily disable delivery retrieval for a domain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Said Anders Brander on Fri, Oct 25, 2002 at 12:38:21AM +0200: How about a .qmail-default like this?: |exit 111 - That would make the mail-delivery fail temporarily (afaik), and qmail would try again later. Thanks for the tip, but I think that would only work on mail to the default, or catch-all, and not all other users. Regardless, I found that if you set the sticky bit on a domain directory (i.e. chmod +t), then qmail will properly queue mail for that domain and try back later. Works just like regularly, non-vpopmail qmail. As for the retrieval, I see that if you limit POP3 and/or IMAP access via vqadmin, it places a .qmailadmin-limits file with the lines disable_pop and/or disable_imap lines in it. However, this doesn't seem to actually limit POP3 or IMAP logins. Any tips there? - -- [!] Justin R. Miller [EMAIL PROTECTED] Encrypted email preferred (key 0xC9C40C31) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9uH7P94d6K8nEDDERAgznAJ9ABs1fpqyO511IsdxEM3H+4BzEJACgj2Tp T+Kz3yN6WOMSvGXQwmhfuj0= =M2+S -END PGP SIGNATURE-
Re: [vchkpw] temporarily disable delivery retrieval for a domain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Said Justin R. Miller on Thu, Oct 24, 2002 at 07:14:23PM -0400: As for the retrieval, I see that if you limit POP3 and/or IMAP access via vqadmin, it places a .qmailadmin-limits file with the lines disable_pop and/or disable_imap lines in it. However, this doesn't seem to actually limit POP3 or IMAP logins. Any tips there? Figured this one out too. vmoduser is used on a user or a domain to disable POP3 or IMAP access. It seems to change the second numerical field in a user's vpasswd file entry. It adds a 2 to disable POP3 and an 8 to disable IMAP. So you can put a 10 there to disable both. Presumably there are other values for disabling qmailadmin access, etc. Pretty cool! - -- [!] Justin R. Miller [EMAIL PROTECTED] Encrypted email preferred (key 0xC9C40C31) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9uIZY94d6K8nEDDERAu6JAJ9gcgopDzjIpuoQ1Zned7t/JyRn2ACeIHCz hTG/DRxB+LLyfqxsVttwfRE= =b7MH -END PGP SIGNATURE-
Re: [vchkpw] temporarily disable delivery retrieval for a domain
Hi, On Friday 25 October 2002 01:14, you wrote: Said Anders Brander on Fri, Oct 25, 2002 at 12:38:21AM +0200: How about a .qmail-default like this?: |exit 111 - That would make the mail-delivery fail temporarily (afaik), and qmail would try again later. Thanks for the tip, but I think that would only work on mail to the default, or catch-all, and not all other users. The sticky-bit idea is better, but this would work. Try it :) /Anders