Here is some information about my problem When I send mail with root, all work fine, but when I try to send mail with www-data user (for example), I've got these error in mail.log file.
postfix/postdrop[22755]: warning: mail_queue_enter: create file maildrop/390620.22755: Permission denied I try to find the problem with $> postfix check but I've no error /var/spool/postfix# ls -la total 80 drwxr-xr-x 20 root root 4096 Mar 18 16:06 . drwxr-xr-x 4 1006 1006 4096 Mar 18 15:59 .. drwx------ 2 postfix root 4096 Mar 18 15:59 active drwx------ 2 postfix root 4096 Mar 18 15:59 bounce drwx------ 2 postfix root 4096 Mar 18 15:59 corrupt drwx------ 2 postfix root 4096 Mar 18 15:59 defer drwx------ 2 postfix root 4096 Mar 18 15:59 deferred drwxr-xr-x 2 root root 4096 Mar 18 16:06 dev drwxr-xr-x 2 root root 4096 Mar 18 16:06 etc drwx------ 2 postfix root 4096 Mar 18 15:59 flush drwx------ 2 postfix root 4096 Mar 18 16:06 hold drwx------ 2 postfix root 4096 Mar 18 15:59 incoming drwxr-xr-x 2 root root 4096 Mar 18 16:06 lib drwx-wx--T 2 postfix postdrop 4096 Mar 18 15:59 maildrop drwxr-xr-x 2 postfix root 4096 Mar 18 16:05 pid drwx------ 2 postfix root 4096 Mar 18 16:05 private drwx--s--- 2 postfix postdrop 4096 Mar 18 16:05 public drwx------ 2 postfix root 4096 Mar 18 15:59 saved drwx------ 2 postfix root 4096 Mar 18 16:06 trace drwxr-xr-x 3 root root 4096 Mar 18 15:59 usr The (ugly) solution I found is to chmod 777 maildrop directory Regards, 2010/3/18 LaMont Jones <[email protected]> > tag 574490 + moreinfo > -- > What exactly are you reporting, and what were you doing to get there? > > On Thu, Mar 18, 2010 at 03:57:56PM +0100, julien wrote: > > Package: postfix > > Version: 2.5.5-1.1 > > Severity: important > > > > > > > > -- System Information: > > Debian Release: 5.0.4 > > APT prefers stable > > APT policy: (500, 'stable') > > Architecture: i386 (i686) > > > > Kernel: Linux 2.6.26-2-xen-686 (SMP w/1 CPU core) > > Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) > > Shell: /bin/sh linked to /bin/bash > > > > Versions of packages postfix depends on: > > ii adduser 3.110 add and remove users and > groups > > ii debconf [debconf- 1.5.24 Debian configuration > management sy > > ii dpkg 1.14.28 Debian package management > system > > ii libc6 2.7-18lenny2 GNU C Library: Shared > libraries > > ii libdb4.6 4.6.21-11 Berkeley v4.6 Database > Libraries [ > > ii libsasl2-2 2.1.22.dfsg1-23+lenny1 Cyrus SASL - authentication > abstra > > ii libssl0.9.8 0.9.8g-15+lenny6 SSL shared libraries > > ii lsb-base 3.2-20 Linux Standard Base 3.2 init > scrip > > ii netbase 4.34 Basic TCP/IP networking > system > > ii ssl-cert 1.0.23 simple debconf wrapper for > OpenSSL > > > > postfix recommends no packages. > > > > Versions of packages postfix suggests: > > ii bsd-mailx [mail-re 8.1.2-0.20071201cvs-3 A simple mail user agent > > ii emacs21-nox [mail- 21.4a+1-5.6 The GNU Emacs editor > (without X su > > pn libsasl2-modules <none> (no description available) > > pn postfix-cdb <none> (no description available) > > pn postfix-ldap <none> (no description available) > > pn postfix-mysql <none> (no description available) > > pn postfix-pcre <none> (no description available) > > pn postfix-pgsql <none> (no description available) > > pn procmail <none> (no description available) > > pn resolvconf <none> (no description available) > > pn sasl2-bin <none> (no description available) > > pn ufw <none> (no description available) > > > > -- debconf information: > > postfix/root_address: > > postfix/rfc1035_violation: false > > postfix/retry_upgrade_warning: > > postfix/kernel_version_warning: > > postfix/mydomain_warning: > > postfix/mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 > > postfix/not_configured: > > postfix/relayhost: > > postfix/mailbox_limit: 0 > > postfix/procmail: false > > postfix/bad_recipient_delimiter: > > postfix/protocols: > > postfix/mailname: kwk01vm3 > > postfix/tlsmgr_upgrade_warning: > > postfix/recipient_delim: + > > postfix/main_mailer_type: Internet Site > > postfix/destinations: kwk01vm3, localhost, localhost.localdomain, > localhost > > postfix/chattr: false > > > -- Julien COLLAS

