Bug#299452: exim4-daemon-light: permission denied while sending local email with Maildir

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 299452@bugs.debian.org
Mon, 14 Mar 2005 10:38:41 +0100


tags #299452 moreinfo
thanks

On Mon, Mar 14, 2005 at 09:35:39AM +0100, Giuseppe Sacco wrote:
> I had a perfectly working system and then decided to try Maildir instead of the standard
> mbox file format.
> I followed the instructions in README.Maildir and exim restarted working very well.

The exim4 packages do not include a README.Maildir. Which instructions
did you follow?

> Every email received via SMTP is correctly accepted and delivered but
> local emails are giving a permission denied error. Here an example
> when I send an email to myself:
> 
> giuseppe@casa:~/debian$ strace -o /tmp/mail.log -f -s128 mail -e giuseppe@eppesuigoccas.homedns.org -s test
> line one
> line two
> .
> Cc: 
> 2005-03-14 09:15:38 1DAkji-0007JF-AE Failed to create spool file /var/spool/exim4/input//1DAkji-0007JF-AE-D: Permission denied
> 2005-03-14 09:15:38 1DAkji-0007JF-AE Failed to create spool file /var/spool/exim4/input//1DAkji-0007JF-AE-D: Permission denied
> 2005-03-14 09:15:38 1DAkji-0007JF-AE Failed to create spool file /var/spool/exim4/input//1DAkji-0007JF-AE-D: Permission denied
> Can't send mail: sendmail process failed with error code 1
> giuseppe@casa:~/debian$

Please retry the same with exim -d:

strace -o /tmp/mail.log -f -s128 /usr/sbin/exim4 -d giuseppe@eppesuigoccas.homedns.org

> Permissions are like this:
> giuseppe@eppesuig3:~$ ls -ld /var/spool/exim4/input/ /var/spool/exim4/ /usr/sbin/exim4 /usr/sbin/sendmail
> Password: 
> drwxr-x---  5 Debian-exim Debian-exim 1024 2005-03-14 06:37 /var/spool/exim4/
> drwxr-x---  2 Debian-exim Debian-exim 3072 2005-03-14 09:28 /var/spool/exim4/input/
> -rwsr-xr-x  1 root root 665528 2005-01-27 13:57 /usr/sbin/exim4
> lrwxrwxrwx  1 root root      5 2005-02-27 15:37 /usr/sbin/sendmail -> exim4
> giuseppe@eppesuig3:~$

These look ok.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835