Re: sendmail delivery to shared folder problem

From: Andrzej Adam Filip (no email)
Date: Fri May 05 2006 - 16:51:39 EDT

  • Next message: Shawn O'Connor: "Re: sendmail delivery to shared folder problem"

    "Shawn O'Connor" <> writes:

    > I am having trouble getting sendmail to properly deliver mail to a
    > shared folder that is named "consulting/ownit."
    >
    > Sending to mail to consulting/ shows:
    >
    > May 6 02:52:03 mail lmtpunix[82369]: executed
    > May 6 02:52:03 mail lmtpunix[82369]: accepted connection
    > May 6 02:52:03 mail lmtpunix[82369]: lmtp connection preauth'd as postman
    > May 6 02:52:03 mail lmtpunix[82369]:
    > verify_user(user.consulting.ownit) failed: Mailbox does not exist
    >
    > Whereas sending mail to:
    >
    > bb+consulting/ shows:
    >
    > May 6 02:58:24 mail lmtpunix[82455]: executed
    > May 6 02:58:24 mail lmtpunix[82455]: accepted connection
    > May 6 02:58:24 mail lmtpunix[82455]: lmtp connection preauth'd as postman
    > May 6 02:58:24 mail lmtpunix[82455]: verify_user(user.) failed:
    > Mailbox does not exist
    >
    > The problem, I'm thinking is that we are trying to use unix hierarchy
    > and alternate namespace. Perhaps the sendmail m4 isn't properly
    > matching it? I can deliver the message with the deliver program via:
    >
    > cat somemessage | /usr/local/cyrus/bin/deliver -m consulting/deliver
    >
    > Below is my .mc file, if anyone could help it would be greatly appreciated.
    >
    > Kind regards,
    >
    > -Shawn
    >
    > divert(-1)
    > [...]
    > FEATURE(local_lmtp)
    > [...]
    >
    > FEATURE(`preserve_local_plus_detail')
    > [...]
    > MAILER(`cyrusv2')dnl
    > MAILER(local)
    > MAILER(smtp)
    > LOCAL_RULE_0
    > Rbb + $+ < @ $=w . > $#cyrusv2 $: + $1

    What is reported by tests command given below [executed as root]:
    # show list of local email domains ($=w). Your bb hack works only for
    # $=w domains. Is somedomain.biz listed?
    echo '$=w' | sendmail -nt
    # show which mailer/host/user are se;ected by sendmail for delivery
    sendmail -bv "bb+consulting/"
    # show sendmail.cf processing (matching rules)
    echo '3,0 bb+consulting/" | sendmail -bt
    # send test message in verbose mode
    ( echo "subject: test"; echo)| sendmail -v -oi "bb+consulting/"

    -- 
    [pl2en Andrew] Andrzej Adam Filip :  : 
    http://anfi.homeunix.net/           http://www.linkedin.com/in/andfil
    ----
    Cyrus Home Page: http://asg.web.cmu.edu/cyrus
    Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Shawn O'Connor: "Re: sendmail delivery to shared folder problem"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD