mail is not deliverd to Maildir

Discussion in 'General' started by blocker, Sep 11, 2008.

  1. blocker

    blocker Member

    Hello,

    mail sent to a user on the server does not get delivered to its Maildir.
    mail.log:

    Code:
    Sep 11 10:41:37 server123 postfix/qmgr[22837]: DBC45A8ECFF: from=<[email protected]>, size=1788, nrcpt=1 (queue acti
    ve)
    Sep 11 10:41:37 server123 procmail[4066]: Suspicious rcfile "/var/www/web423/.procmailrc"
    Sep 11 10:41:37 server123 postfix/smtpd[28783]: disconnect from mail.domain.com[10.10.10.10]
    Sep 11 10:41:37 server123 postfix/local[23160]: DBC45A8ECFF: to=<[email protected]>, o
    rig_to=<[email protected]>, relay=local, delay=0.22, delays=0.19/0/0/0.02, dsn=2.0.0, status=sent (delivered to comman
    d: /usr/bin/procmail -f-)
    
    ...and after that nothing appears in the Maildir...

    when i setup a forward, the mail gets delivered to the forwarder but still not local...

    Any ideas?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please double check that the maildir checbox under management > server > settings is enabled.

    If that really the case, try to disable the mailscan option in the settings of this email account.
     
  3. blocker

    blocker Member

    Hi,

    thanks for the reply!

    YES - the maildir is enabled! I have switched off mailscan - but no effect! :eek:

    note that other users on the server does not have this problem...
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /var/www/web423/
    ? I guess the permissions/ownership of /var/www/web423/.procmailrc is not ok.
     
  5. blocker

    blocker Member

    Hi Falko

    permissions of .procmailrc are:

    Code:
    -rw-r--r--   1 root          root     492 2008-09-12 11:19 .procmailrc
     
  6. falko

    falko Super Moderator ISPConfig Developer

    I need the full output - directory permissions are important as well.
     
  7. blocker

    blocker Member

    there it is....

    Code:
    drwxrwxrwx   8 username  10590  4096 2008-09-12 11:19 .
    drwxr-xr-x 566 www-data       10590 36864 2008-09-09 15:47 ..
    drwxrwxrwx   2 username  10590  4096 2008-02-14 15:26 cgi-bin
    -rw-------   1 username web423    24 2008-09-12 11:19 .forward
    -rw-rw-r--   1 www-data      web423    28 2008-09-13 04:07 .htpasswd
    drwxrwxrwx   3 username web423  4096 2008-09-02 00:30 log
    lrwxrwxrwx   1 root          root      42 2008-09-12 11:19 Maildir -> /var/www/web423/user/username/Maildir
    drwxrwxrwx   2 username web423  4096 2008-02-14 15:26 phptmp
    -rw-r--r--   1 root          root     492 2008-09-12 11:19 .procmailrc
    lrwxrwxrwx   1 root          root      49 2008-09-12 11:19 .spamassassin -> /var/www/web423/user/username/.spamassassin/
    drwxrwxrwx   2 username  10590  4096 2008-02-14 15:26 ssl
    drwxrwxrwx   3 username  10590  4096 2008-02-14 15:27 user
    lrwxrwxrwx   1 root          root      50 2008-09-12 11:19 .vacation.cache -> /var/www/web423/user/username/.vacation.cache
    drwxrwxrwx   5 username  10590  4096 2008-03-05 13:58 web
    
     
    Last edited: Sep 13, 2008
  8. falko

    falko Super Moderator ISPConfig Developer

    Run
    Code:
    chmod 755 /var/www/web423/
     
  9. blocker

    blocker Member

    YES it worked!!!

    Thanks!
     

Share This Page