Permissions on newly delivered mail
total 3
   1 drwx------   2 user      user          1024 Jul 28 12:42 .
   1 drwx------   5 user      user          1024 Jul 27 12:06 ..
   1 -rw-------   1 user      user           950 Jul 28 12:42
933180168.8431.blank.cimx.com


My guess is that pop doesn't have access to that file how are you starting
qmail-pop3d?

Here is how I do for reference (called from init.d on startup) :
    echo -n "Starting qmail:  qmail-pop3d"
    supervise /var/supervise/qmail/pop3d \
    tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup blank.cimx.com \
        /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 |
\
        setuser qmaill cyclog /var/log/qmail/pop3d &


-----Original Message-----
From: Henrik Johansen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 28, 1999 12:41 PM
To: [EMAIL PROTECTED]
Subject: Unable to open message (POP3 retr)


Hi all

When a mail is succesfully delivered, and I want to read it from pop3 the
following happens:
>   telnet mail.domain.com 110
    Trying w.x.y.z
    Connected to domain.com.
    Escape is...
    +OK ...
>   user johndoe
    +OK
>   pass pop3password
    +OK
>   list
    1 265
    .
>   retr 1
    -ERR unable to open that message
>   quit

the messages in domain-com/johndoe/Maildir/new/ is created with these
permissions
    -rw------- 1 popuser popuser 265 jul 27 12:00 xxxxxx.domain.com

popuser is a user with shell=/bin/false

It seems that mails are created with wrong permission? OR??
If I manually change permission to -rw-rw---- I can "retr" the mail though.

Anyone knows how to setup the correct permissions?
And what ARE the default permission-settings on a newly arrived mail?

Henrik Johansen
[EMAIL PROTECTED]

Reply via email to