From: Alexander Dalloz (ad+)
Date: Tue Feb 14 2006 - 20:31:57 EST
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_)
>
>
> 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
---- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
|
|
|