I'm observing similar problems - Cyrus 2.0.12, NetBSD-1.5
I think the problem may be related to have several processes open the unix
socket at once - I observed it happened when my system generated messages
from cron - possibly at the same time.

It seems that /etc/cyrus.conf has support for either lmtp socket and
lmtpunix which is a unix socket but deliver only has support for unix
sockets.

I would try using regular sockets (and would want to if I had a mail hub
on a different machine) but do not know how to configure sendmail to use
lmtp to send to a different machine via lmtp.

johnh...
On Mon, 26 Feb 2001, Mike Hammer wrote:

> Date: Mon, 26 Feb 2001 15:12:59 +0100
> From: Mike Hammer <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: lmtp: Connection refused by localhost
> 
> 
> Hi all!
> 
> Maybe someone can help me:
> After running ok for a while, the mailserver stops working and I have
> the following in my syslog:
> 
> Feb 25 15:07:21 mail sendmail[18937]: [ID 801593 mail.crit]
> f1P6MJs18884: SYSERR(root): Could not connect to socket
> /var/imap/socket/lmtp: Connection refused by localhost
> 
> Restarting the master-% solves it, but... any ideas where to search?
> 
> Greetings from Switzerland!
> !Mike
> 
> -----------------------------------------------------------------------
> Configuration:
>  -SunOS 5.8 Generic_108529-04 i86pc i386 i86pc
>  -cyrus-imapd-2.0.11
>  -Berkeley-db-3.2.9           
>  -cyrus-sasl-1.5.24
>  -sendmail-8.11.2
> 
> -----------------------------------------------------------------------
> sendmail`s config.mc:
> -----------------------------------------------------------------------
> OSTYPE(solaris2)dnl
> DOMAIN(`mail')dnl
> 
> define(`confAUTH_MECHANISMS', `CRAM-MD5')
> define(`confDONT_BLAME_SENDMAIL',`groupreadablesaslfile')
> define(`confLOCAL_MAILER', `cyrus')
> define(`confTRUSTED_USER', `cyrus')
> define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')
> define(`confTO_IDENT',`0')
> 
> FEATURE(`nocanonify')dnl
> FEATURE(`use_cw_file')dnl
> FEATURE(`accept_unresolvable_domains')dnl
> FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl
> FEATURE(`access_db', `hash /etc/mail/access')dnl
> 
> MAILER(`local')dnl
> MAILER(`smtp')dnl
> MAILER(`cyrus')dnl
> 
> MAILER_DEFINITIONS
> Mcyrus,         P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
>                 S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, 
>                 A=FILE /var/imap/socket/lmtp
> 
> LOCAL_RULE_0
> Rbb + $+ < @ $=w . >    $#cyrus $: + $1
> -----------------------------------------------------------------------
> 

Reply via email to