--On Thursday, September 13, 2001 11:45 AM -0400 Patrick LIN 
<[EMAIL PROTECTED]> wrote:

> Please someone can help me with that
> 3 times i post about this problem and never get any answer :((
>
> i use sendmail Swict 2.1
> cyrus 2.0.16
> on Solaris 2.6
>
> my syrus mailer specification :
>
> Mcyrus,         P=/usr/local/bin/deliver, F=lsDFMnPqAh5@/:|, S=EnvFromL,
> R=EnvToL/HdrToL,                  U=cyrus:cyrus, T=DNS/RFC822/X-Unix,
>                  A=deliver -e -m $h -- $u
>
> Mcyrusbb,       P=/usr/local/bin/deliver, F=lsDFMnPu, S=EnvFromL,
> R=EnvToL/HdrToL,                  U=cyrus:cyrus, T=DNS/RFC822/X-Unix,
>                  A=deliver -e -m $u

So, basically, you are saying that your deliver's are stacking up and not
actually delivering email.  Do you see anything in your imap log?  We had
something similar as well, and it somehow seemed tied to the fact that
we were using an unix domain socket for LMTP instead of a TCP socket.  The
problem is that deliver can't handle anything other than a unix domain
socket.  So, we solved it by configuring LMTP for TCP socket use and then
dumped deliver altogether and configure sendmail to talk to LMTP via TCP
instead.  That solved our problem and we haven't had any more issues with
it since.

If you hack the sendmail.cf file directly, the following is my cyrus
configuration:

Mcyrus,  <TAB>  P=[IPC], F=lsDFMnqAw@/:|SmXzu, E=\r\n,
    <TAB>       S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
    <TAB>       U=cyrus:mail, A=TCP [localhost] lmtp

However, I would really use the MC files instead:

The bottom part of the MC file will probably look more like the following:

MAILER_DEFINITIONS
Mcyrus,  <TAB>  P=[IPC], F=lsDFMnqAw@/:|SmXz, E=\r\n,
    <TAB>       S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
    <TAB>       U=cyrus:mail, A=TCP $h lmtp

LOCAL_RULE_0
Rbb + $+ < @ $=w . >     <TAB>     $#cyrus $: + $1

Whereever <TAB> is listed above, replace it and the surrounding whitespace
with one or more tabs.  It does make a difference...

Also, you should think about upgrading your sendmail to the latest 8.12
release.  There are apparently some problems with sendmail + lmtp + tcp.
Basically, sendmail will connect to the lmtp server and shove as many mail
messages down that connection to lmtp as it can.  However, if any one of
those failed, all the messages following it would also fail... This was
fixed in 8.12.

Finally, the cyrus.conf file has these 2 following lines:

  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp"
  lmtp          cmd="lmtpd -a" listen="localhost:lmtp"

You should still keep the lmtpunix socket around in case you need to use
deliver for anything.  Sendmail will no longer need it, but you might need
it for shell scripts or something.  The tcp socket is configured with the
"localhost:" prepended on it so that you can limit access to the server.

Anyways, give it a try and let us know what happens.

Scott
--
 +-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
      Scott W. Adkins                http://www.cns.ohiou.edu/~sadkins/
   UNIX Systems Engineer                  mailto:[EMAIL PROTECTED]
        ICQ 7626282                 Work (740)593-9478 Fax (740)593-1944
 +-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-+
     CNS, HDL Center, Suite 301, Ohio University, Athens, OH 45701-2979

Reply via email to