Sendmail - Cyrus IMAP Server - Port 25?

From: OCNS Consulting (no email)
Date: Thu Jul 19 2001 - 13:45:25 EDT


My Cyrus IMAP Server is up and running. Meaning:

        1. User Mailboxes are Setup
        2. Local message delivery works via -> sendmail -v (user) <
/dev/null
        3. IMAP client connects/authenticates (LDAP PAM) to IMAP Server;
retrieves message

Now to sendmail, I created the sendmail.cf file from the below .mc file. I
need to receive messages
at a mailhub and deliver to the backend IMAP Server. However, the mailhub is
unable to connect to
the IMAP server on Port 25. Obviously, when sendmail is started on the IMAP
Server, it doesn't listen
on Port 25. Why? What am I missing here? Is there a define
method/configuration to support this
environment?

R B

.mc File
=====================================================================
        
        # divert(-1)
        #
        # (C) Copyright 2000 by Carnegie Mellon University
        #
        # This sample mc file is for a site that uses the Cyrus IMAP
server
        # exclusively for local mail. This requires Sendmail 8.10 or
later.
        #
        # $Id: cyrusv2.mc,v 1.3 2000/09/09 04:02:11 leg Exp $

        divert(0)dnl
        VERSIONID(`cyrus v2 sample configuartion')

        OSTYPE(linux)
        DOMAIN(generic)dnl
        define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')
        define(`confTO_IDENT',`0')

        dnl setting cyrus as the trusted user will make it easier to pass
        dnl Sendmail's safefile checks. however, it means that someone with
the
        dnl "cyrus" password could easily become root.
        dnl define(`confTRUSTED_USER', `cyrus')

        define(`confLOCAL_MAILER', `cyrus')

        FEATURE(`nocanonify')
        FEATURE(`always_add_domain')
        FEATURE(`rbl')
        MAILER(`local')
        MAILER(`smtp')
        MAILER(`cyrus')

        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
        R$=N $: $#local $: $1
        R$=N < @ $=w . > $: $#local $: $1
        Rbb + $+ < @ $=w . > $#cyrusbb $: + $1

        LOCAL_CONFIG
        # List of Users that shouldn't have mail delivered to the
        # IMAP Server.
        FN /etc/mail/sendmail.cN

=====================================================================

SECURITY NOTICE
The mail system has removed a Microsoft attachment for security reasons.
The sender should disable sending Rich Text format in Outlook and
disable sending TNEF to the Internet from their Microsoft Exchange gateway.

See http://support.microsoft.com/support/kb/articles/Q241/5/38.ASP
and http://www.microsoft.com/TechNet/exchange/2505ch10.asp for more information.








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD