postfix+cyrus errors

Jeremy Ford jeremyfo at shorefast.net
Sun Apr 2 01:06:09 EST 2006


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

<--snip-->

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

Thanks


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

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

2BF632530085: to=<user at domain.com>, 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 user at domain.com, I
also tried creating user.user at domain.com 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



More information about the Info-cyrus mailing list