Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2004 14:48:05 +0200 (CEST)
From:      Konrad Heuer <kheuer2@gwdg.de>
To:        =?gb2312?q?joshua?= <cigant@yahoo.com.cn>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: question about /var/spool/clientmqueue
Message-ID:  <20040902144231.P27214@gwdu60.gwdg.de>
In-Reply-To: <20040902070921.62549.qmail@web15704.mail.cnb.yahoo.com>
References:  <20040902070921.62549.qmail@web15704.mail.cnb.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 2 Sep 2004, [gb2312] joshua wrote:

> Hi, all
>   I found there is a directory named /var/spool/clientmqueue and many
> many file below this directory, what's use of this directory and the
> files under it?
>   thanks.

When submitting mail by using sendmail as a mail submission program,
sendmail copies all messages to /var/spool/clientmqueue first. sendmail is
a setgid smmsp program and thus gives the any user the permission to do so
(/var/spool/clientmqueue belongs to user and group smmsp).

Later, another sendmail process, the sendmail localhost-only (FreeBSD
default config) mail transfer agent (MTA) copies the messages from
/var/spool/clientmqueue to /var/spool/mqueue and sends them to their
destination.

When files accumulate in /var/spool/clientmqueue, you probably don't run
the sendmail localhost MTA, and thus the mails don't get send.

Regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040902144231.P27214>