Thanks Russell,

We have a hacked version of getpw which gets the home
based on a hash function.  All maildirs are owned
by mailq.  So it seems that an exit of 111 will tell
qmail-lspawn/local to queue it up for later, right?

Russell Nelson wrote:
> 
> Michael Boyiazis writes:
>  > I was wondering what I might do to queue up mail coming in
>  > for users with id's beginning w/ say   b or q  while
>  > maintenance (planned or unplanned) was done on the
>  > storage that holds their email.
> 
> The answer depends very highly on how you associate their email
> address with their storage.  If it's done through the standard
> qmail-getpw, which checks /etc/passwd, that code checks to see if the
> user owns their own homedir.  If the homedir is inaccessible, you're
> hosed; the mail bounces.  If it's done through a replacement
> qmail-getpw, then you could simply have the replacement code exit with
> 111 if their storage was being worked on.
> 
>  > 2) Broken Microsoft SMTP servers which begin to chatter when
>  >     given a 451 (for stray line feeds).
> 
> Don't worry about that, because the mail has already been accepted,
> and is sitting in the queue.
> 
> --
> -russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
> Crynwr sells support for free software  | PGPok | "Ask not what your country
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.
> 
> -
> Posted automagically by a mail2news gateway at muc.de e.V.
> Please direct questions, flames, donations, etc. to [EMAIL PROTECTED]

-- 
mike b. ---------------------------------------------------------------
[EMAIL PROTECTED]  http://home.sprynet.com/~boyiazis/mikehome.htm

"I propose we leave math to the machines and go play outside."  Calvin
-----------------------------------------------------------------------
__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html

Reply via email to