RE: postfix+cyrus errors

From: Jeremy Ford (no email)
Date: Sun Apr 02 2006 - 01:06:09 EST

  • Next message: Marc G. Fournier: "Re: Web based administration interfaces ..."

    I found this in the wiki, question is what is the proper way to escape the
    @??

    <--snip-->

    Given that you have a username , unless you escape the '@' as
    explained below, cyrus deliver will claim that the mailbox does not exist.
    instead of
    • deliver
    you should be using
    • deliver john\\\@domain.tld
    and
    instead of
    • deliver -a -m user/
    you should be using
    • deliver -a john\@domain.tld -m user/john\\\@domain.tld

    Thanks

    ________________________________________
    From:
    [mailto:] On Behalf Of Jeremy Ford
    Sent: Sunday, April 02, 2006 12:34 AM
    To:
    Subject: postfix+cyrus errors

    I’m trying to setup postfix+cyrus+mysql+web-cyradm+cyrus-sasl. I changed
    web-cyradm so when it creates mailbox for domain the account looks like
     and not user.domain.com. I have that working correctly. I
    can also login to the server (pop, imap) using and pass just
    fine…However, whenever I try to send a mail to that user I get the following
    error

    <>: data format error. Command output: user: Mailbox does
        not exist

    2BF632530085: to=<>, relay=cyrus, delay=0, status=bounced
    (data format error. Command output: user: Mailbox does not exist )

    I can login using cyradm and verify there is a mailbox , I
    also tried creating but to no avail. Any help would be
    GREATLY appreciated.

    Thanks
    J

    Imapd.conf

    postmaster:             postmaster
    servername:             default.domain.com

    configdirectory:        /var/imap
    partition-default:      /var/spool/imap
    sievedir:               /var/imap/sieve

    # Don't use an everyday user as admin.
    admins:                 cyrus

    hashimapspool:          yes
    allowanonymouslogin:    no
    allowplaintext:         yes

    virtdomains: userid
    defaultdomain: domain.com

    autocreatequota: 25000
    reject8bit: no
    quotawarn: 90
    timeout: 30
    poptimeout: 10
    dracinterval: 0
    drachost: localhost

    sasl_pwcheck_method: saslauthd
    sasl_auxprop_plugin: sql

    ## possible values for sasl_auxprop_plugin 'mysql', 'pgsql', 'sqlite'.
    sasl_sql_engine: mysql
    sasl_mech_list: PLAIN

    ## change below to suit your setup.
    sasl_sql_user: mail
    sasl_sql_passwd: pass
    sasl_sql_database: mail
    sasl_sql_hostnames: localhost
    sasl_sql_select: SELECT password FROM accountuser WHERE username='%u@%r'

    sendmail: /usr/sbin/sendmail
    sieve_maxscriptsize: 32
    sieve_maxscripts: 5
    unixhierarchysep: yes

    tls_ca_file: /var/imap/server.pem
    tls_cert_file: /var/imap/server.pem
    tls_key_file: /var/imap/server.pem

    ----
    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: Marc G. Fournier: "Re: Web based administration interfaces ..."





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD