lmtp read error

Sebastian Konstanty Zdrojewski s.zdrojewski at neticon.it
Thu Mar 27 03:57:58 EST 2003


Hi,

I am using similar conf like yours, however it runs on a Linux server. 
These are sthe config file sections I used on main.cf and cyrus.conf files:

fallback_transport = lmtp:unix:/var/imap/socket/lmtp
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp

and in cyrus.conf

lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1

Plus a check on the socket directory:

drwxr-xr-x    2 cyrus    mail         4096 Mar 21 12:10 socket

and inside this directory:

[root at nexus socket]# ls -l
total 0
-rw-------    1 cyrus    mail            0 Feb  5 14:32 imap.lock
srwxrwxrwx    1 root     root            0 Mar 21 12:10 lmtp
-rw-------    1 cyrus    mail            0 Feb  5 14:32 lmtpunix.lock
-rw-------    1 cyrus    mail            0 Feb  5 14:32 pop3.lock
-rw-------    1 cyrus    mail            0 Feb 21 17:41 sieve.lock

As mentioned in the readme files, the group os postfix is the same of cyrus.

This configuration works for me, I also had some problem initially but 
actually I am not experiencing problems.

Hope this can help you!

Regards,

En3pY


Mitrana Cristian wrote:

>* Morgan Sackett <msackett at suckafoo.net> [27-03-03 00:39]:
> 
>  
>
>>Henrique de Moraes Holschuh wrote
>>
>>     >  Indeed. That's my setup exactly. However, I just run lmtpd -a, 
>>bound to a   
>>     >  private network where only the LMTP servers and the SMTP 
>>servers are
>>     >  connected to. Thus, no authorization worries, and no SASL 
>>overhead.
>>
>>Here is the error that I get using sockets:
>>
>>Mar 26 18:21:08 kang postfix/lmtp[12575]: 26CD51FE9DE: 
>>to=<root at suckafoo.net>, r
>>elay=none, delay=141474, status=deferred (connect to 
>>/var/imap/socket/lmtp[/var/
>>imap/socket/lmtp]: Connection refused)
>>
>>I'll give the -a  switch a try.
>>
>>    
>>
>
> Maybe postfix cannot write to the socket (/var/imap/socket/lmtp),
>can you make sure the socket is writable by postfix user or the group
>postfix is running under ? 
> Make sure no firewall rules are in place that can prevent you from
>connecting telnet-ing to the lmtp port. If you run lmtpd over localhost
>can you connect to localhost:lmtp ? What's netstat saying about
>listening ports ?
>
>mitu
>
>  
>

-- 

Sebastian Konstanty Zdrojewski
IT Analyst

Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
----------------------------------------------
Web: http://www.neticon.it/
E-mail: s.zdrojewski at neticon.it







More information about the Info-cyrus mailing list