Lorenz Hopfmüller | 2 Jan 2006 11:30
Picon

connect(/var/imap/socket/lmtp) failed: Permission denied

Hi,
I read tons of mailing lists, tried tons of different configurations,
but I don't get this working...

This happens, if i send a short mail to myself: (/var/log/messages)

Jan  2 11:19:38 lolo1992 postfix/smtpd[2824]: connect from localhost[127.0.0.1]
Jan  2 11:19:38 lolo1992 postfix/smtpd[2824]: E1C0BF0208:
client=localhost[127.0.0.1], sasl_method=PLAIN, sasl_username=lolo
Jan  2 11:19:39 lolo1992 postfix/cleanup[2827]: E1C0BF0208:
message-id=<20060102111938.f4e28a7b.lolo1992 <at> gmail.com>
Jan  2 11:19:39 lolo1992 postfix/qmgr[2522]: E1C0BF0208:
from=<lolo1992 <at> gmail.com>, size=562, nrcpt=1 (queue active)
Jan  2 11:19:39 lolo1992 postfix/smtpd[2824]: disconnect from
localhost[127.0.0.1]
Jan  2 11:19:39 lolo1992 postfix/local[2829]: E1C0BF0208:
to=<lolo <at> lolo1992.dyndns.org>, relay=local, delay=1, status=sent
(delivered to command: /usr/bin/procmail -t -a $EXTENSION)
Jan  2 11:19:39 lolo1992 postfix/qmgr[2522]: E1C0BF0208: removed
Jan  2 11:19:39 lolo1992 deliver[2833]: connect(/var/imap/socket/lmtp)
failed: Permission denied

can anyone help me with that? I have to use gmail-webinterface,
because I don't get mail on my mailserver :(

thanks,
Lorenz
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
(Continue reading)

Re: connect(/var/imap/socket/lmtp) failed: Permission denied

procmail does not have the permission to connect to lmtp.. you can change
the path of lmtp in cyrus.conf to a directory where procmail has
permissions o connect

did you use postfix? Make a postconf -n and show the output here

Stefan

> Hi,
> I read tons of mailing lists, tried tons of different configurations,
but I don't get this working...
>
> This happens, if i send a short mail to myself: (/var/log/messages)
>
> Jan  2 11:19:38 lolo1992 postfix/smtpd[2824]: connect from
> localhost[127.0.0.1]
> Jan  2 11:19:38 lolo1992 postfix/smtpd[2824]: E1C0BF0208:
> client=localhost[127.0.0.1], sasl_method=PLAIN, sasl_username=lolo Jan 
2 11:19:39 lolo1992 postfix/cleanup[2827]: E1C0BF0208:
> message-id=<20060102111938.f4e28a7b.lolo1992 <at> gmail.com>
> Jan  2 11:19:39 lolo1992 postfix/qmgr[2522]: E1C0BF0208:
> from=<lolo1992 <at> gmail.com>, size=562, nrcpt=1 (queue active)
> Jan  2 11:19:39 lolo1992 postfix/smtpd[2824]: disconnect from
> localhost[127.0.0.1]
> Jan  2 11:19:39 lolo1992 postfix/local[2829]: E1C0BF0208:
> to=<lolo <at> lolo1992.dyndns.org>, relay=local, delay=1, status=sent
(delivered to command: /usr/bin/procmail -t -a $EXTENSION)
> Jan  2 11:19:39 lolo1992 postfix/qmgr[2522]: E1C0BF0208: removed Jan  2
11:19:39 lolo1992 deliver[2833]: connect(/var/imap/socket/lmtp) failed:
Permission denied
(Continue reading)

former03 | Baltasar Cevc | 2 Jan 2006 15:39
Picon

Fwd: connect(/var/imap/socket/lmtp) failed: Permission denied

Begin forwarded message:

> From: Baltasar Cevc <baltasar <at> cevc-topp.de>
> Date: 2. Januar 2006 12:09:16 MEZ
> Subject: Re: connect(/var/imap/socket/lmtp) failed: Permission denied

> It's probably an error in the postfix configuration. Make sure that 
> the "deliver" command runs as the cyrus user - use something like this 
> (which is the line I use for my mailing list manager):
> ecartis   unix  -       n       n       -       2       pipe flags=FRu 
> user=ecartis argv=/usr/lib/ecartis/ecartis.pl ${recipient}
>
> Alternatively, you could also use the Postfix internal LMTP support to 
> deliver your messaages - e.g. if you use the virtual mailbox scheme:
> virtual_transport = lmtp:<hostname>:<port>
> (use local_transport if your domains are in mydestination).
>
> Hope that helps,
> Baltasar

----
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

Holm Kapschitzki | 2 Jan 2006 16:33

cyrus and realm

Hi,

i would like to know which version of cyrus supports the parameter 
"realm". I have heard Version 2.1.18 cant do that and version 2.1.19 
ignores that parameter. The problem is, i look for a debian package, but 
the only official one i found from "testing" is the 2.1.19

greetings

----
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

Andreas Winkelmann | 2 Jan 2006 16:59
Picon

Re: connect(/var/imap/socket/lmtp) failed: Permission denied

Am Monday 02 January 2006 11:30 schrieb Lorenz Hopfmüller:

> I read tons of mailing lists, tried tons of different configurations,
> but I don't get this working...
>
> This happens, if i send a short mail to myself: (/var/log/messages)

> Jan  2 11:19:39 lolo1992 deliver[2833]: connect(/var/imap/socket/lmtp)
> failed: Permission denied

Give deliver the s-Bit (setuid). But I would prefer using lmtp from Postfix 
and if you want to filter your Mails, use sieve. The way over procmail has 
some disadvantages.

--

-- 
	Andreas
----
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

Andreas Winkelmann | 2 Jan 2006 17:01
Picon

Re: SASL issues - can login once then not at all

Am Thursday 29 December 2005 00:06 schrieb JB Hewitt:

> Sure thing - imapd.conf
> configdirectory: /var/lib/cyrus
> defaultpartition: default
> partition-default: /var/spool/cyrus/mail
> partition-news: /var/spool/cyrus/news
> newsspool: /var/spool/news
> altnamespace: yes
> unixhierarchysep: no
> lmtp_downcase_rcpt: yes
> admins: cyrus jb
> sieve_admins: cyrus jb
> allowanonymouslogin: no
> popminpoll: 1
> autocreatequota: 0
> umask: 077
> sieveusehomedir: false
> sievedir: /var/spool/sieve
> hashimapspool: true
> allowplaintext: yes
> sasl_mech_list: PLAIN
> sasl_minimum_layer: 0
> sasl_pwcheck_method: saslauthd
> sasl_auto_transition: no
> tls_ca_path: /etc/ssl/certs
> tls_session_timeout: 1440
> tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW: <at> STRENGTH
> lmtpsocket: /var/run/cyrus/socket/lmtp
> idlesocket: /var/run/cyrus/socket/idle
(Continue reading)

Andreas Winkelmann | 2 Jan 2006 17:05
Picon

Re: cyrus and realm

Am Monday 02 January 2006 16:33 schrieb Holm Kapschitzki:

> i would like to know which version of cyrus supports the parameter
> "realm". I have heard Version 2.1.18 cant do that and version 2.1.19
> ignores that parameter. The problem is, i look for a debian package, but
> the only official one i found from "testing" is the 2.1.19

"-r" was implemented with 2.1.19. Usernames with  <at> domain-Part do not work with 
2.1.17 and 2.1.18.

(Why do you ask this question in multiple Mailinglists? Is this a contest?)

--

-- 
	Andreas
----
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

Sven Mueller | 2 Jan 2006 17:19
Picon
Favicon

Re: cyrus and realm

Holm Kapschitzki wrote on 02/01/2006 16:33:
> i would like to know which version of cyrus supports the parameter 
> "realm". I have heard Version 2.1.18 cant do that and version 2.1.19 
> ignores that parameter. The problem is, i look for a debian package, but 
> the only official one i found from "testing" is the 2.1.19

Well, cyrus-imapd-2.2 is available for Debian either from
Debian/experimental (though you might need to compile it on your own for
sarge/etch). Unofficial packages made by the cyrus-imapd packaging team
(i.e. the predecessors of the upcoming packages in debian/testing and
debian/unstable) are available (for example) from:

deb http://mail.incase.de/cyrus22 sarge main
deb-src http://mail.incase.de/cyrus22 sarge main

Binaries are only available for i386 and amd64 from that source. Upload
to debian/unstable is planned to be happening soon, but it was delayed
several times already (for various reasons, mostly because the upgrade
path from the old 2.1 packages isn't exactly working without a flaw) and
that might happen again before we finally upload to debian/unstable.
However, once the upgrade (or new install) has been completed, the
package has been working in production environments for several months
now on a bunch of different (in size and configuration) servers without
any major problems.

Experimental Debian cyrus-imapd-2.3 packages should follow soon I think,
but we are not yet sure when we will tackle that task.

regards,
Sven
(Continue reading)

Alexander Dalloz | 2 Jan 2006 17:36

Re: cyrus and realm

Am Mo, den 02.01.2006 schrieb Holm Kapschitzki um 16:33:

> i would like to know which version of cyrus supports the parameter 

With "cyrus" I assume you are speaking about Cyrus SASL, not Cyrus
IMAPd. Both are different software.

> "realm". I have heard Version 2.1.18 cant do that and version 2.1.19 
> ignores that parameter. The problem is, i look for a debian package, but 
> the only official one i found from "testing" is the 2.1.19

Further I guess you are speaking about saslauthd and its parameter "-r"

man 8 saslauthd

"-r      Combine the realm with the login (with an ’ <at> ’ sign in
between).  e.g.  login: "foo" realm: "bar" will
             get passed as login: "foo <at> bar".  Note that the realm will
still be passed, which may lead to unex-
             pected behavior."

If you grep through the changelog you will find that with release 2.1.19
of Cyrus SASL this capability was added.

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 
(Continue reading)

Holm Kapschitzki | 2 Jan 2006 18:12

Re: cyrus and realm

Andreas Winkelmann schrieb:

>Am Monday 02 January 2006 16:33 schrieb Holm Kapschitzki:
>
>  
>
>>i would like to know which version of cyrus supports the parameter
>>"realm". I have heard Version 2.1.18 cant do that and version 2.1.19
>>ignores that parameter. The problem is, i look for a debian package, but
>>the only official one i found from "testing" is the 2.1.19
>>    
>>
>
>"-r" was implemented with 2.1.19. Usernames with  <at> domain-Part do not work with 
>2.1.17 and 2.1.18.
>  
>

Thanks.

>(Why do you ask this question in multiple Mailinglists? Is this a contest?)
>
>  
>

I thought for the debian package the debian mailinglist is a good idea, 
too. But the all asked were answered at this list..

Alexander Dalloz schrieb:

(Continue reading)


Gmane