[vox-tech] mail problem
Alan H. Lake
vox-tech@lists.lugod.org
14 Oct 2002 11:43:37 -0700
I'm using RH 7.3. My file directory structure and permissions are the
same as Samuel's, except that I don't have the "T" option set. Before I
set it, though, I'd like to confirm that this is the "sticky bit". In
my book, Linux in a Nutshell, the sticky bit is represented by a "t".
Also, my var/spool/postfix directory is owned by root/root. Its
permissions are drwxr_xr_x. I wonder whether the owner is OK.
I made some other changes and the nature of the problem has changed.
I'm now sending mail, but not as I want to. For testing purposes, I
want to send the email to myself. When I sent mail to
alan.lake@lakeinfoworks.com, I got a "user unknown" error. When I sent
mail to alan@lakeinfoworks.com, the attempt was technically successful.
However, my intent was to send via the internet to my web host and
receive the mail with my Evolution client. Instead, I was only able to
get the email by opening a terminal window and typing "mail" at the
command line while logged in as user "alan".
In /etc/postfix/main.cf, I've got a good relayhost...
On Mon, 2002-10-14 at 00:19, Samuel Merritt wrote:
> On Sat, Oct 12, 2002 at 05:17:56PM -0700, Alan H. Lake wrote:
> > I'm trying to send mail from PHP and am getting the message (in
> > /var/log/maillog)
> >
> > Oct 12 17:15:35 ontario postfix/postdrop[3588]: warning:
> > mail_queue_enter: create file maildrop/262682.3588: Permission denied
> >
> > Do you have any idea what to do about that?
>
> It sounds to me like the permissions or the ownership on
> /var/spool/postfix/maildrop (or wherever it is on your distribution) are
> wrong.
>
> On my mail server (Debian 3.0), we have:
>
> drwx-wx--T 2 postfix postdrop 35 Oct 13 06:47 /var/spool/postfix/maildrop
>
> The directory has to be writable by group postdrop, since the postdrop
> process runs as gid postdrop (or the user chosen at compile time).
>
> --
> Samuel Merritt
> OpenPGP key is at http://meat.andcheese.org/~spam/spam_at_andcheese_dot_org.asc
> Information about PGP can be found at http://www.mindspring.com/~aegreene/pgp/