May we return to this subject:  It is so close!
For the record:

FC5_x86_64

cyrus-imapd-2.3.1-2.6.fc5.x86_64.rpm
cyrus-imapd-devel-2.3.1-2.6.fc5.x86_64.rpm
cyrus-imapd-utils-2.3.1-2.6.fc5.x86_64.rpm
cyrus-sasl-2.1.21-10.i386.rpm
cyrus-sasl-2.1.21-10.x86_64.rpm

postfix-2.2.10

Web-Cyradm 0.5.4

 All configs as shown in the HowTo with the following exceptions:

--------------

Add:
    virtdomains: on
to /etc/imapd.conf (and I assume also to /etc/imapd-local.config)

In order to make cyrus and Web-Cyradmm use Fully Qualified User Names, it is
necessary to get mysql-pam to authenticate correctly.

Using the mysql tables fron the HowTo, make /etc/pam.d/pop(imap,pop,sieve)
look like this: (verbose makes the SELECT statements visible in
/var/log/secure -- turn off for production)
--------------
auth sufficient pam_mysql.so verbose=1 sqllog=false user=mail
passwd=secret host=localhost db=mail [table=accountuser INNER JOIN virtual
ON accountuser.username = virtual.username] usercolumn=virtual.alias
update_tabe=accountuser passwdcolumn=accountuser.password crypt=1
logtable=log logmsgcolumn=msg logusercolumn=user loghostcolumn=host
logpidcolumn=pid logtimecolumn=time

auth sufficient pam_unix_auth.so

account required pam_mysql.so verbose=1 sqllog=false user=mail
passwd=secret host=localhost db=mail [table=accountuser INNER JOIN virtual
ON accountuser.username = virtual.username] usercolumn=virtual.alias
update_tabe=accountuser passwdcolumn=accountuser.password crypt=1
logtable=log logmsgcolumn=msg logusercolumn=user loghostcolumn=host
logpidcolumn=pid logtimecolumn=time

account  sufficient       pam_unix_acct.so

--------------

This much works!
Now we have to create a virtual table record for the cyrus user so he can
authenticate.  Just add a row with cyrus as alias, dest, and username.
Now Web-Cyradm is fully functional!

Now for the hard part, and the last piece missing.
How to get postfix to use the FQUN ??

Here is what postfix says:

May 11 18:46:26 xmail lmtpunix[7360]: lmtp connection preauth'd as postman
May 11 18:46:26 xmail lmtpunix[7360]:
verify_user(user.phil.mountaintopherbs.com) failed: Mailbox does not exist
May 11 18:46:26 xmail master[7860]: about to exec /usr/lib/cyrus-imapd/lmtpd
May 11 18:46:26 xmail lmtpunix[7860]: executed
May 11 18:46:26 xmail postfix/pipe[7858]: BAC88DE8253:
to=<[EMAIL PROTECTED]>,
orig_to=<[EMAIL PROTECTED]>, relay=cyrus, delay=0, status=bounced
(data format error. Command output: phil.mountaintopherbs.com: Mailbox
does not exist )

Any help is very much appreciated!!

OTHER ISSUES:
No clue as to how unixhierarchysep plays into this scenario ...

_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to