Koozali.org: home of the SME Server

qmail problems

Offline ramasule

  • *
  • 78
  • +0/-0
qmail problems
« on: September 08, 2009, 09:25:59 AM »
Hello,
First off I made a mistake, I moved /home to another disk used fstab made a back up, checked it, deleted the original, found out when I copied I forgot the "P" option in cp so I screwed up the ownership on all the files/folders in home.

Made another installation of sme (vmware) went through it what I can see and put the ownerships back the way they were supposed to be.

However the only thing not working is my qmail, I get this error which I googled but cannot really understand where to edit / how this ties into SME so I thought I would come here and ask first before screwing up the system even more.

The error is "deferral: Temporary_error_on_maildir_delivery._(#4.3.0)/"

I even made a new user and tried him out and I still get the same error.   Ive checked the permissions out in each of the users /home/esmith/files/users/Maildir and it looks fine.
Any suggestions or questions?

Thanks,
Derek L

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: qmail problems
« Reply #1 on: September 08, 2009, 09:48:05 AM »
did you change/restore the permissions/ownership on hidden files/dirs too (name starting with period as .qmail)?

Stefano

Offline ramasule

  • *
  • 78
  • +0/-0
Re: qmail problems
« Reply #2 on: September 08, 2009, 03:16:31 PM »
I did a locate .qmail and found the 3 files under each user.
They look like they copied with there permissions.  However the .qmail-default had a group owner of root
(root root) I changed that to (root admin) but still nothing.

Thanks for that suggestion though.

Derek L

Offline ramasule

  • *
  • 78
  • +0/-0
Re: qmail problems
« Reply #3 on: September 08, 2009, 07:59:43 PM »
I also get
Message sent successfully, but not saved to sent-mail
when I try to send a message from horde.
Googling suggested changing the saved folder, this did not work either so it has to be some directory / file permission somewhere,
man this is so frustrating :(

Thanks,

DL

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: qmail problems
« Reply #4 on: September 08, 2009, 08:13:04 PM »
did you change recursively permission/ownership on ALL files/dirs?

can you please post the error message in qmail log?

thank you
Stefano

Offline ramasule

  • *
  • 78
  • +0/-0
Re: qmail problems
« Reply #5 on: September 08, 2009, 08:36:09 PM »
Some directories I recursed while most I didnt as they had different permissions.

Code: [Select]
2009-09-08 06:23:42.094070500 status: local 0/10 remote 0/20
2009-09-08 06:34:18.003622500 starting delivery 260: msg 475166 to local test@mainserver.apttest.kicks-ass.net
2009-09-08 06:34:18.003629500 status: local 1/10 remote 0/20
2009-09-08 06:34:18.032044500 delivery 260: deferral: Temporary_error_on_maildir_delivery._(#4.3.0)/

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: qmail problems
« Reply #6 on: September 08, 2009, 11:11:06 PM »
I went through the steps of a manual restore in this thread.

THIS IS NOT A RECOMMENDED PROCEDURE

http://forums.contribs.org/index.php/topic,42280.0.html

I don't know if reading through this will give you a clue or not.

Good luck

Offline ramasule

  • *
  • 78
  • +0/-0
Re: qmail problems
« Reply #7 on: September 09, 2009, 02:08:35 AM »
Thanks,
I had gone through most of the permissions they are all the same as before.
Like I said when I did the cp -r it copied the hidden files but kept there ownership and permission which is weird because it changed the ownership and permission of the visible files.

Offline ramasule

  • *
  • 78
  • +0/-0
Re: qmail problems
« Reply #8 on: September 19, 2009, 07:26:00 PM »
I made two new users and tried to send mail from one new user to the other and that didnt work.
Could it be how I mounted my home drive?
fstab snip
/mnt/hgfs/Server/SMEServer/current/home /home none rw,bind 0 0

is that somehow preventing qmail from setting up properly?

Here is the error again


Code: [Select]
2009-09-19 11:21:43.420723500 new msg 185384
2009-09-19 11:21:43.420727500 info msg 185384: bytes 940 from <test1@###.net> qp 24622 uid 400
2009-09-19 11:21:43.428355500 starting delivery 1588: msg 185384 to local test1@###.net
2009-09-19 11:21:43.428359500 status: local 2/10 remote 0/20
2009-09-19 11:21:43.428362500 delivery 1587: success: forward:_qp_24622/did_0+0+1/
2009-09-19 11:21:43.428365500 status: local 1/10 remote 0/20
2009-09-19 11:21:43.428368500 end msg 185387
2009-09-19 11:21:43.457398500 delivery 1588: deferral: Temporary_error_on_maildir_delivery._(#4.3.0)/
2009-09-19 11:21:43.457433500 status: local 0/10 remote 0/20

Thanks Derek L
« Last Edit: September 20, 2009, 03:25:31 PM by ramasule »