Sendmail problem [SOLVED]

Patrick Nelson pnelson at neatech.com
Tue May 13 13:24:38 EDT 2003


On Mon, 2003-05-12 at 23:50, Andrzej Filip wrote:
> Patrick Nelson wrote:
> > RH9 w/ cyrus-imap 2.1.13 and cyrus-sasl-2.1.13 using sasl to connect to
> > a ldap server.
> > 
> > I used cyradm to setup a user and connected to the server with
> > evolution.  However, when I try to send a test email by telnet to the
> > smtp port.  I get sendmail errors like:
> > 
> > May 12 22:24:22 co sendmail[17389]: h4BB2fYm013251: to=<root at cyrus1>,
> > delay=1+18:21:41, xdelay=00:00:00, mailer=cyrusv2, pri=4080285,
> > relay=localhost, dsn=4.3.5, stat=Deferred: No such file or directory
> > May 12 22:24:22 co sendmail[17389]: h4BBTWYm016855: to=<root at cyrus1>,
> > delay=1+17:54:49, xdelay=00:00:00, mailer=cyrusv2, pri=4080466,
> > relay=localhost, dsn=4.3.5, stat=Deferred: No such file or directory
> 
> The most likely reason is that you sendmail looks for LMTP unix socket in 
> wrong place. The default location of the socket configured in 
> MAILER(`cyrusv2') provided by sendmail.org is /var/imap/socket/lmtp
> 
> If you want your sendmail use the socket localted in another location then in 
> *.mc file you use to generate sendmail.cf add
> define(`CYRUSV2_MAILER_ARGS',`FILE _lmtp_socket_path_')dnl
> 
> If "sendmail" -bh reports "Deferred:" for localhost then you may delete 
> localhost file in sendmail hoststatus directory [sendmail keeps info about 
> result of last delivery attempt to avoid wasting resources for connecting down 
> hosts].

OK a simple:

 define(`CYRUSV2_MAILER_ARGS',`FILE var/lib/imap/socket/lmtp')dnl

did in fact do it for users with mailboxes.

Have another problem now but will start a new thread...  






More information about the Info-cyrus mailing list