GARGIULO Eduardo INGDESI <[EMAIL PROTECTED]> wrote:
> I'have installed qmail on my system, but I don't know if
> is necesary to create a .qmail-default file, because I
> don't clearly understand the meaning of this file.
> 
> Should I create it? and what should I write there?

.qmail-default handles any message where the destination address doesn't match
anything more specific.  However, they can be applied to a particular local
user, or to the system as a whole.

As an example, let's assume your default delivery instruction is "./Maildir/"
(argument to qmail-start).  Your domain is "example.net", and this is in
locals.  If a message arrives for <[EMAIL PROTECTED]>, qmail will
look up user "joe" and find his home directory.  It then looks for the
following files in order:
    ~joe/.qmail-foo-bar-baz
    ~joe/.qmail-foo-bar-default
    ~joe/.qmail-foo-default
    ~joe/.qmail-default

If none of those exist, it will check for a matching file in ~alias.

You only need ~alias/.qmail-default if you want to catch all mail for any
address on localhost.  Individual users may want $HOME/.qmail-default to catch
all extension addresses.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------

Reply via email to