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
[EMAIL PROTECTED]


.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

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


winmail.dat

Reply via email to