From: Eric Estabrooks (no email)
Date: Wed Feb 01 2006 - 08:51:11 EST
David Newman wrote:
> The cyrus-imap FAQ says the '@' symbol must be escaped in cases where
> the username is in the form '':
>
> http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/CyrusDeliverWithAt
>
> Two questions about this:
>
> 1. Where (in which file) is the escape sequence needed?
>
> 2. Is the escape character one pipe symbol (|) or three? The FAQ gives
> examples with both.
>
> I am authenticating against a MySQL 4.1 database with the 'username'
> record in the form of . Here is the query in imapd.conf:
>
> sasl_sql_select: SELECT password FROM mailbox WHERE username='%u@%r'
> AND active='1'
>
> The messages log shows the user can log in successfully, but mail
> isn't being written to cyrus-imap inboxes.
>
> Thanks in advance for clues on this.
>
> dn
>
You need to use lmtp delivery from postfix. The standard cyrus delivery
method from postfix strips the @ out. There is probably a setting to
prevent that but lmtp is easier to use.
In your postfix main.cf just change the mailbox transport to something like
mailbox_transport = lmtp:unix:/usr/local/imap/socket/lmtp
and then postfix reload. If you run your postfix chrooted you'll need
to make sure the cyrus lmtp socket is visible in the chrooted area and
use the path relative to the chroot point instead of from the standard
root point.
Eric
---- 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
|
|
|