[Dovecot] Second user problems
I have dovecot (0.99.14 under FC4) set up and working beautifully for my mail, handing on to procmail, and handling many subfolders. Today I needed to set up a second user. I added his account in kmail and created a sub-folder, but no sent-mail, trash etc. were created. I have sent test messages and /var/log/maillog says they have been processed, but they are not arriving in his inbox. /var/log/mail.info shows that he has logged in to dovecot. He has a simple .procmailrc to handle the one subdirectory.
I'm sure that it must be something I've missed in dovecot.conf, but I can't see anything there that shouldn't work just as well for him as it does for me. Any pointers?
Anne
On Thursday 16 February 2006 23:31, Dominic Marks wrote:
My suspicion was that it's not. This is as much info as I have gathered so far -
Feb 17 09:20:16 packbell postfix/smtp[3137]: 87B7BAE0A3: to=<davidwilson@lydgate.org.uk>, relay=smtp.mailbox.co.uk[212.85.249.130], delay=1, status=sent (250 OK id=1FA1sn-0002L6-Q3) Feb 17 09:20:16 packbell postfix/qmgr[1852]: 87B7BAE0A3: removed .... 57982AE0A3: message-id=<200602170923.25143.cannewilson@tiscali.co.uk> Feb 17 09:21:19 packbell postfix/qmgr[1852]: 57982AE0A3: from=<cannewilson@tiscali.co.uk>, size=1816, nrcpt=1 (queue active) Feb 17 09:21:19 packbell procmail[3149]: Suspicious rcfile "/home/david/.procmailrc" Feb 17 09:21:19 packbell postfix/local[3131]: 57982AE0A3: to=<david@localhost.lydgate.net>, orig_to=<david@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail) Feb 17 09:21:19 packbell postfix/qmgr[1852]: 57982AE0A3: removed
Suspicious procmailrc - I added new/ to the path today, as someone suggested elsewhere. Maybe that's what is being questioned. Here is the .procmailrc
SHELL=/bin/sh PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
#Set user variable
USER=david
#Set user Inbox directory MAILDIR=/home/david/Maildir/ DEFAULT=$MAILDIR
#Set logfile LOGFILE=/home/david/pm.log MAILDIR=$HOME/Maildir/
VERBOSE=YES LOGABSTRACT=YES
LOG=" "
###For maildir, ensure that all recipe commands end with '/'###
:0
- ^To: .*\@lydgate.org.uk ${MAILDIR}.INBOX.Mailbox/new/ .......
/home/david/pm.log is empty.
Anything else I can trace that may help? Thanks for replying
Anne
Somebody more knowledgeable than me will probably correct this, but...
I believe that the .procmailrc must be owned by the correct user's account. I recall reading something once about delivery errors for procmail if the rc file is not owned and/or permissioned correctly.
Anne Wilson wrote:
You're right, it has to be owned by the person who its for... It also can't be world writable either...either one of these settings being incorrect will cause procmail to stop. It's a security issue... Will L G
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of dovecot@dovecot.org Sent: Saturday, February 18, 2006 9:09 AM Cc: dovecot@dovecot.org Subject: Re: [Dovecot] Second user problems
Somebody more knowledgeable than me will probably correct this, but...
I believe that the .procmailrc must be owned by the correct user's account. I recall reading something once about delivery errors for procmail if the rc file is not owned and/or permissioned correctly.
Anne Wilson wrote:
On 2006-02-18 05:00:11 -0500 Anne Wilson <cannewilson@tiscali.co.uk> wrote:
Err. No.
Bingo. David's .procmailrc is "suspicious" because Anne owns it. procmail executing as David has permission to read, though.
Amy!
Amelia A. Lewis amyzing {at} talsever.com So what is love then? Is it dictated or chosen? Does it sing like the hymns of a thousand years or is it just pop emotion? And if it ever was here and it left does it mean it was never true? -- Emily Saliers
participants (6)
-
Amelia A Lewis
-
Anne Wilson
-
DiskMan
-
Dominic Marks
-
dovecot@dovecot.org
-
Stroller