1 message in net.sourceforge.lists.courier-users[courier-users] authuserdb -> authpam
FromSent OnAttachments
Lucio CruscaJun 22, 2006 2:42 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] authuserdb -> authpamActions...
From:Lucio Crusca (luc@pixel.it)
Date:Jun 22, 2006 2:42:50 am
List:net.sourceforge.lists.courier-users

Hello everybody

I'm new here with a newbie problem, cause google didn't help. I have a courier mail server (esmtp + pop + imap) in production since two years ago: authdaemon has always been using authuserdb, but now I want to switch to authpam. I've created a test pam account (cip@domain.tld), with its homedir positioned just beside the other userdb accounts homedirs, same permissions, same owner, etc... I've created the account with the command

# useradd -m -d /home/maildirs/domain.tld/cippo cip@domain.tld # maildirmake etc....

However when courier tries to deliver a message to this test account, it says:

Jun 22 11:24:31 linsite courierd: started,id=0003B4F8.44991754.0000628B,from=<luc@domain.tld>,module=local,host=cip@domain.tld!!1037!100!/home/maildirs/domain.tld/cippo!!,addr=<cip@domain.tld> Jun 22 11:24:31 linsite courierlocal: id=0003B4F8.44991754.0000628B,from=<luc@domain.tld>,addr=<cip@domain.tld>:
/home/maildirs/domain.tld/cippo: Permission denied Jun 22 11:24:31 linsite courierlocal: id=0003B4F8.44991754.0000628B,from=<luc@domain.tld>,addr=<cip@domain.tld>,status: deferred Jun 22 11:29:31 linsite courierd: started,id=0003B4F8.44991754.0000628B,from=<luc@domain.tld>,module=local,host=cip@domain.tld!!1037!100!/home/maildirs/domain.tld/cippo!!,addr=<cip@domain.tld> Jun 22 11:29:31 linsite courierlocal: id=0003B4F8.44991754.0000628B,from=<luc@domain.tld>,addr=<cip@domain.tld>:
/home/maildirs/domain.tld/cippo: Permission denied Jun 22 11:29:31 linsite courierlocal: id=0003B4F8.44991754.0000628B,from=<luc@domain.tld>,addr=<cip@domain.tld>,status: deferred

I've already tried a "chmod -R a+rwx /home/maildirs/domain.tld/cippo" but it didn't help. Any clue?