[BlueOnyx:01452] Re: Can't create output

Michael Stauber mstauber at blueonyx.it
Fri Jun 19 13:25:22 -05 2009


Hi Steve,

> Some mail does spool and is delivered. Others get this maillog error.
>
> Jun 19 09:21:17 raq1 sendmail[24108]: n5JELHgw024107:
> to=<sandra at infoonnet.com>, delay=00:00:00, xdelay=00:00:00, mailer=local,
> pri=44208, dsn=5.0.0, stat=Can't create output Jun 19 09:21:17 raq1
> sendmail[24108]: n5JELHgw024107: n5JELHgw024108: DSN: Can't create output
>
> Also had this error
>
> Jun 19 09:16:46 raq1 sendmail[23699]: NOQUEUE: SYSERR(admin): can not
> chdir(/var/spool/mqueue/): Permission denied
>
> Permission on the folder were 700
> I changed the permissions to 770
>
> Any recommends?

[root at cbq web]# ls -la /var/spool/|grep mqueue
drwxrwx---  2 smmsp  smmsp  4096 Jun 19 19:30 clientmqueue
drwx------  2 root   mail   4096 Jun 19 20:19 mqueue

Permissions should not be the issue.

Check the following:

1.) With "df -h" check that you have enough free diskspace for /var.

2.) Check if your /etc/procmailrc has the following two lines in it:

ORGMAIL=$HOME/mbox
DEFAULT=$ORGMAIL

3.) Check if the recipient of the email has the correct UID, GID and 
permissions on both his home directory AND the file mbox - which is located in 
his home directory.

Typically the "can't create output" message is generated if the mbox has the 
wrong UID, GID or is not writeable.

However, the message "can not chdir(/var/spool/mqueue/): Permission denied" 
seems to indicate that this source of the problem is one level up and prior to 
the local delivery to the actual mailbox.

-- 
With best regards

Michael Stauber




More information about the Blueonyx mailing list