View previous topic :: View next topic |
Author |
Message |
Tranquility n00b
Joined: 30 Nov 2003 Posts: 44
|
Posted: Mon Nov 29, 2004 2:02 pm Post subject: Postfix : courier-imap cant read in /.maildir/cur [SOLVED] |
|
|
Hi everybody,
Ive got a serious Problem an still cant get it solve even after days of using google.
I installed a mailserver (postfix,courier-imap,mysql,cyrus,sasl).
Everything is working fine, exept of this :
Every mail that is local delivered by postfix hast the status Read+Write only for the Owner of the /home-accout. So Courier-Imap is not able to read the mail.
So when i use in example Thunderbird to check my mail for a local account, Thunderbir wont show the new mails cause imap cant read them.
The only way i can make them readable by now is to manually Code: | chmod 777 /home/user/.maildir/cur/The_Email_I_Cant_Read |
I was looking for some kind of umask in Postfix (main.cf) so that mails get deliverd with ohter rights , but didnt found anything.
Im searching google / docu / forums since days and didnt even found someone with the same Problem.
Please, if annybody got a clue whats gonig wrong here, then tell me
Thx
Last edited by Tranquility on Thu Dec 02, 2004 1:34 pm; edited 1 time in total |
|
Back to top |
|
|
Buzzz n00b
Joined: 17 Apr 2002 Posts: 63 Location: Enschede, The Netherlands
|
Posted: Mon Nov 29, 2004 2:21 pm Post subject: |
|
|
I think there is something wrong with your courier-imap setup. Normally courier-imap runs as root and when you login, it spawns a process as the user that just logged in. So it should be possible to read the mail.
The solution should not be changing the access rights to the files, but a change in the courier-imap configuration. _________________ There are no stupid questions, but there are a lot of inquisitive idiots |
|
Back to top |
|
|
Tranquility n00b
Joined: 30 Nov 2003 Posts: 44
|
Posted: Mon Nov 29, 2004 2:37 pm Post subject: |
|
|
Thast my imapd config. I cant see whats wrong in here. Its mostly the default config.
I'll read config+docu again and see if i can find something which could be the solution of the problem.
Code: |
ADDRESS=0
PORT=143
MAXDAEMONS=40
MAXPERIP=10
PIDFILE=/var/run/imapd.pid
TCPDOPTS="-nodnslookup -noidentlookup"
AUTHMODULES="authdaemon"
AUTHMODULES_ORIG="authdaemon"
DEBUG_LOGIN=2
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE"
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
IMAP_KEYWORDS=1
IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE"
IMAP_IDLE_TIMEOUT=60
IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN"
IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN"
IMAP_DISABLETHREADSORT=0
IMAP_CHECK_ALL_FOLDERS=1
IMAP_OBSOLETE_CLIENT=0
IMAP_USELOCKS=1
IMAP_SHAREDINDEXFILE=/etc/courier-imap/shared/index
IMAP_ENHANCEDIDLE=0
IMAP_TRASHFOLDERNAME=Trash
IMAP_EMPTYTRASH=Trash:7
IMAP_MOVE_EXPUNGE_TO_TRASH=0
SENDMAIL=/usr/sbin/sendmail
HEADERFROM=X-IMAP-Sender
IMAPDSTART=NO
MAILDIRPATH=Maildir
MAILDIR=.maildir
MAILDIRPATH=.maildir
PRERUN=
|
|
|
Back to top |
|
|
Tranquility n00b
Joined: 30 Nov 2003 Posts: 44
|
Posted: Mon Nov 29, 2004 4:44 pm Post subject: |
|
|
Nobody any Idea? Im really dying here. I dont find anything on google / courier-docu / mailinglists...etc |
|
Back to top |
|
|
Tranquility n00b
Joined: 30 Nov 2003 Posts: 44
|
Posted: Tue Nov 30, 2004 6:00 pm Post subject: |
|
|
I found the error: I just put the wrong UID in the mysqltable "users" so mail was delivered with the wrong rights for the user. Shame on me |
|
Back to top |
|
|
|