delivery fails to shared folders via formail (permission denied, Postfix)

Alexander Dalloz ad+lists at uni-x.org
Tue Feb 14 20:31:57 EST 2006


Am Do, den 09.02.2006 schrieb Denny Schierz um 18:58:

> i have to public folders:
> 
> public.SPAM
> puplic.NOTSPAM
> 
> i try to deliver mails for users with no imap account, via the alias
> maps:
> 
> public.notspam:             "|/usr/bin/formail -f -I \"From \"
> |/usr/lib/cyrus/deliver -e -a cyrus -m public.NOTPSPAM"
> 
> public.spam:                "|/usr/bin/formail -f -I \"From \"
> |/usr/lib/cyrus/deliver -e -a cyrus -m public.SPAM"
> 
> time ago (less than 1 year), it was working, but now i don't get it
> working again.
> 
> Postfix tells me:
> 
> syslog:
> 
> mx deliver[25902]: connect(/var/imap/socket/lmtp) failed: Permission
> denied
> 
> mailq:
> 
> (temporary failure. Command output: couldn't connect to lmtpd:
> Permission denied_ 421 4.3.0 deliver: couldn't connect to lmtpd_)
>                                          public.spam at cstmail.de
> 
> All other things are working.
> 
> ls -al /var/imap/socket/ srwxrwxrwx   1 cyrus mail    0 Feb  9 17:39
> lmtp
> 
> it was root:root, but i changed it to cyrus:mail, in hope, that could be
> the trick.
> 
> Postfix is version 2.2.5
> Cyrus is version 2.2.12
> 
> System are Gentoo

> cu denny

`deliver' binary is set suid?

Simon Matter's RPM of Cyrus-IMAPd ships with a small wrapper for this
purpose.

$ ls -al /usr/lib/cyrus-imapd/deliver*
-rwxr-xr-x  1 root  root 879464 17. Dez 19:52
/usr/lib/cyrus-imapd/deliver
-rwxr-sr-x  1 cyrus mail   8000 17. Dez 19:52
/usr/lib/cyrus-imapd/deliver-wrapper

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 02:29:36 up 4 days, 11:20, load average: 0.01, 0.08, 0.14 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20060215/bc2d609d/attachment.bin


More information about the Info-cyrus mailing list