Hi,

Lately I have been facing a problem which is still not solved.
I am not able to inject mail to a local account on my new
installation of qmail-ldap. I am able to qmail-ldaplookup.
I suspect that there are some file permission issues.

log entry for delivery failure.
---------------8<-----------------
2005-05-12 11:03:24.551987500 status: local 1/10 remote 0/20
2005-05-12 11:03:25.328357500 delivery 81: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
--------------->8-----------------


file permissions for mail directory.
---------------8<-----------------

quark:/home/sam# ls /var/vmail -lR
/var/vmail:
total 4
drwx------  5 vmail vmail 4096 2005-05-11 17:02 admin
/var/vmail/admin:
total 12
drwx------  2 vmail vmail 4096 2005-05-11 17:02 cur
drwx------  2 vmail vmail 4096 2005-05-11 17:02 new
drwx------  2 vmail vmail 4096 2005-05-11 17:02 tmp

--------------->8-----------------

One notable thing here is the directory structure for mailmessagestore
is owned by vmail as we an see. But my qmail runs as qmaill and
smtpd runs as qmaild
Here is the output of ps -Al --forest
---------------8<-----------------
4 S 1007 4283 4282 0 78 0 - 339 pipe_w ? 00:00:00 | | \_ multilog
4 S 0 17975 2000 0 76 0 - 337 - ? 00:00:00 | \_ supervise
4 S 1011 18392 17975 0 75 0 - 381 - ? 00:00:00 | | \_ qmail-send
4 S 0 18394 18392 0 75 0 - 794 - ? 00:00:00 | | \_ qmail-lspawn
4 S 1010 18395 18392 0 76 0 - 375 - ? 00:00:00 | | \_ qmail-rspawn
4 S 1009 18396 18392 0 76 0 - 371 pipe_w ? 00:00:00 | | \_ qmail-clean
4 S 1011 18397 18392 0 76 0 - 377 - ? 00:00:00 | | \_ qmail-todo
4 S 1009 18398 18392 0 76 0 - 371 pipe_w ? 00:00:00 | | \_ qmail-clean
4 S 0 17981 2000 0 76 0 - 337 - ? 00:00:00 | \_ supervise
4 S 1007 17982 17981 0 75 0 - 339 pipe_w ? 00:00:00 | | \_ multilog
--------------->8-----------------


What could be the problem?

--
Sameer N. I.
/****************************************************************/
/ The early bird gets the coffee left over from the night before./
/****************************************************************/



Reply via email to