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

<--snip-->

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

Thanks


________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Ford
Sent: Sunday, April 02, 2006 12:34 AM
To: info-cyrus@lists.andrew.cmu.edu
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
[EMAIL PROTECTED] and not user.domain.com. I have that working correctly. I
can also login to the server (pop, imap) using [EMAIL PROTECTED] and pass just
fine…However, whenever I try to send a mail to that user I get the following
error

<[EMAIL PROTECTED]>: data format error. Command output: user: Mailbox does
    not exist

2BF632530085: to=<[EMAIL PROTECTED]>, 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 [EMAIL PROTECTED], I
also tried creating [EMAIL PROTECTED] 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='[EMAIL 
PROTECTED]'

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

Reply via email to