Re: [expert] Re: Cyrus-imapd

2003-11-13 Thread Luca Olivetti
Norman Zhang escribió: Thanks. I tried exactly the above and creating smtp as follows. [EMAIL PROTECTED] root]# more /etc/pam.d/smtp auth required /lib/security/pam_stack.so service=system-auth accountrequired /lib/security/pam_stack.so service=system-auth But still couldn't

[expert] Re: Cyrus-imapd

2003-11-13 Thread Norman Zhang
Hi, [root]# more /etc/pam.d/smtp auth required /lib/security/pam_stack.so service=system-auth accountrequired /lib/security/pam_stack.so service=system-auth But still couldn't get it to work (continuous prompt for username/password from OE). I then changed pwcheck_method:

Re: [expert] Re: Cyrus-imapd

2003-11-13 Thread Luca Olivetti
Norman Zhang escribió: I followed http://www.mandrakesecure.net/en/docs/postfix-sasl.php. I changed That documentation is outdated: it's for version 1 of the sasl library. 9.2 is using verion 2. The documentation is in /usr/share/doc/cyrus-sasl-2.1.15/ (there's also a migration guide).

[expert] Re: Cyrus-imapd

2003-11-12 Thread Norman Zhang
My users are local users. It should be easy then: pwcheck_method: saslauthd (in smtpd.conf) check that /etc/sysconfig/saslauthd has SASL_AUTHMECH=pam (it's the default) service saslauthd start (to make it permanent chkconfig --add saslauthd) and then configure the pam method to use

Re: [expert] Re: Cyrus-imapd

2003-11-11 Thread Luca Olivetti
Norman Zhang escribió: My users are local users. It should be easy then: pwcheck_method: saslauthd (in smtpd.conf) check that /etc/sysconfig/saslauthd has SASL_AUTHMECH=pam (it's the default) service saslauthd start (to make it permanent chkconfig --add saslauthd) and then configure the pam

[expert] Re: Cyrus-imapd

2003-11-10 Thread Norman Zhang
Hi, I followed the steps given in README.RPM 1. mailbox_transport = lmtp:$myhostname (/etc/postfix/main.cf) 2. lmtp cmd=lmtpd listen=lmtp prefork=0 (/etc/cyrus.conf) 3. add lmtp_admins: cyruslmtp at the bottom of /etc/cyrus.conf 4. useradd cyruslmtp with password testing123 I think I

Re: [expert] Re: Cyrus-imapd

2003-11-10 Thread Luca Olivetti
Norman Zhang escribió: Hi, I followed the steps given in README.RPM 1. mailbox_transport = lmtp:$myhostname (/etc/postfix/main.cf) 2. lmtp cmd=lmtpd listen=lmtp prefork=0 (/etc/cyrus.conf) 3. add lmtp_admins: cyruslmtp at the bottom of /etc/cyrus.conf There's an error in /etc/cyrus.conf. The

[expert] Re: Cyrus-imapd

2003-11-10 Thread Norman Zhang
Hi, I followed the steps given in README.RPM 1. mailbox_transport = lmtp:$myhostname (/etc/postfix/main.cf) 2. lmtp cmd=lmtpd listen=lmtp prefork=0 (/etc/cyrus.conf) 3. add lmtp_admins: cyruslmtp at the bottom of /etc/cyrus.conf 4. useradd cyruslmtp with password testing123 I think I

[expert] Re: Cyrus-imapd

2003-11-10 Thread Norman Zhang
Hi, I followed the steps given in README.RPM 1. mailbox_transport = lmtp:$myhostname (/etc/postfix/main.cf) 2. lmtp cmd=lmtpd listen=lmtp prefork=0 (/etc/cyrus.conf) 3. add lmtp_admins: cyruslmtp at the bottom of /etc/cyrus.conf There's an error in /etc/cyrus.conf. The line should be added

Re: [expert] Re: Cyrus-imapd

2003-11-10 Thread Luca Olivetti
Norman Zhang escribió: Sorry for all the noise. I found that 9.2 is using saslauthd by default. The information is provided in /etc/imapd.conf. sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN I do have /etc/imapd.conf as it came with LM 9.2, but not smtpd.conf. I guess smtpd.conf is indeed

Re: [expert] Re: Cyrus-imapd

2003-11-10 Thread Luca Olivetti
Norman Zhang escribió: Thanks for the clarification. I guess I will use TLS on top of PLAIN. Well, that won't change anything (I mean, sasl is not involved so using tls won't mean changing sasl configuration). If you want to avoid cyrus-imapd advertising plaintext authentication over an

[expert] Re: Cyrus-imapd

2003-11-10 Thread Norman Zhang
information is provided in /etc/imapd.conf. sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN I do have /etc/imapd.conf as it came with LM 9.2, but not smtpd.conf. I guess smtpd.conf is indeed replaced by main.cf. Well, no, smtpd.conf is the sasl configuration for postfix smtp auth. If

Re: [expert] Re: Cyrus-imapd

2003-11-10 Thread Luca Olivetti
Norman Zhang escribió: After putting lmtp_admins: cyruslmtp into /etc/imapd.conf, now I can receive mail. Setting smtp_sasl_auth_enable = yes would mean all clients sending mail to Postfix will be authenticated via sasl, including Exchange or other peoples' servers too? No, that would be

[expert] Re: Cyrus-imapd

2003-11-10 Thread Norman Zhang
Hi, mail. Setting smtp_sasl_auth_enable = yes would mean all clients sending mail to Postfix will be authenticated via sasl, including Exchange or other peoples' servers too? Please ignore my question. smtp_sasl_auth_enable keyword tells postfix to attempt to authenticate on all outbound

[expert] Re: Cyrus-imapd

2003-11-10 Thread Norman Zhang
Hi, Sorry for all the noise. I found that 9.2 is using saslauthd by default. The information is provided in /etc/imapd.conf. sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN I do have /etc/imapd.conf as it came with LM 9.2, but not smtpd.conf. I guess smtpd.conf is indeed replaced by

Re: [expert] Re: Cyrus-imapd

2003-11-07 Thread Martin Fahrendorf
Am Donnerstag, 6. November 2003 22:27 schrieb Luca Olivetti: Luca Olivetti wrote: In fact, I don't even know how to configure postfix to check for local users (using mailbox_transport = lmtp:). Duh, it's on by default in recent postfix, local_recipient_maps, configured by mandrake as

[expert] Re: Cyrus-imapd

2003-11-07 Thread Norman Zhang
Hi, If nzhang is not a local user and not listed as an alias, postfix rejects the mail. I have created user nzhang and mailbox nzhang in cyrus. I also added nzhang: norman.zhang It is the wrong order, type (the left hand side is expanded to the right hand side) norman.zhang: nzhang

Re: [expert] Re: Cyrus-imapd

2003-11-07 Thread Luca Olivetti
Norman Zhang wrote: I was told postfix lmtp uses default port 24 and cyrus uses 2003. Is the above statement mailbox_transport = lmtp:$myhostname sufficient? Both should use the port specified in /etc/services, and since the cyrus-imapd rpm adds a line in /etc/services for lmtp you should be

[expert] Re: Cyrus-imapd

2003-11-07 Thread Norman Zhang
Hi, I was told postfix lmtp uses default port 24 and cyrus uses 2003. Is the above statement mailbox_transport = lmtp:$myhostname sufficient? Both should use the port specified in /etc/services, and since the cyrus-imapd rpm adds a line in /etc/services for lmtp you should be fine. Thanks.

Re: [expert] Re: Cyrus-imapd

2003-11-07 Thread Luca Olivetti
Norman Zhang wrote: I followed the steps given in README.RPM 1. mailbox_transport = lmtp:$myhostname (/etc/postfix/main.cf) 2. lmtp cmd=lmtpd listen=lmtp prefork=0 (/etc/cyrus.conf) 3. add lmtp_admins: cyruslmtp at the bottom of /etc/cyrus.conf 4. useradd cyruslmtp with password testing123 5.

Re: [expert] Re: Cyrus-imapd

2003-11-06 Thread Martin Fahrendorf
Am Donnerstag, 6. November 2003 01:05 schrieb Norman Zhang: The second issue is aliases. Of course you can have a mailbox nzhang with an alias (in postfix) norman.zhang. Or you can create a mailbox norman.zhang (actually you cannot in the default configuration, since the dot is the

Re: [expert] Re: Cyrus-imapd

2003-11-06 Thread Luca Olivetti
Martin Fahrendorf wrote: alias norman.zhang. Does that mean mail for both nzhang @ abc.com and norman.zhang @ abc.com will get to mailbox nzhang? If I want to only accept mail for norman.zhang @ abc.com, I need to create a mailbox norman.zhang? No, Your MTA (usualy postfix) does not know

Re: [expert] Re: Cyrus-imapd

2003-11-06 Thread Luca Olivetti
Luca Olivetti wrote: In fact, I don't even know how to configure postfix to check for local users (using mailbox_transport = lmtp:). Duh, it's on by default in recent postfix, local_recipient_maps, configured by mandrake as proxy:unix:passwd.byname $alias_maps. I didn't know it. So it

[expert] Re: Cyrus-imapd

2003-11-06 Thread Norman Zhang
Hi, Does that mean mail for both nzhang @ abc.com and norman.zhang @ abc.com will get to mailbox nzhang? If I want to only accept mail for norman.zhang @ abc.com, I need to create a mailbox norman.zhang? No, Your MTA (usualy postfix) does not know anything of the data stored in cyrus. By

Re: [expert] Re: Cyrus-imapd

2003-11-06 Thread Martin Fahrendorf
Am Freitag, 7. November 2003 01:49 schrieb Norman Zhang: Hi, Does that mean mail for both nzhang @ abc.com and norman.zhang @ abc.com will get to mailbox nzhang? If I want to only accept mail for norman.zhang @ abc.com, I need to create a mailbox norman.zhang? No, Your MTA (usualy

Re: [expert] Re: Cyrus-imapd

2003-11-05 Thread Luca Olivetti
Norman Zhang wrote: I read somewhere that I could create mailboxes for users in cyrus and don't need to useradd if only using MySQL. Is this correct? For example, if I'm to create a mailbox for myself, say nzhang and want to receive mail for address [EMAIL PROTECTED] Do I just create a mailbox

[expert] Re: Cyrus-imapd

2003-11-05 Thread Norman Zhang
The second issue is aliases. Of course you can have a mailbox nzhang with an alias (in postfix) norman.zhang. Or you can create a mailbox norman.zhang (actually you cannot in the default configuration, since the dot is the hierarchy separator in cyrus, but you can change it with altnamespace

[expert] Re: Cyrus-imapd

2003-11-04 Thread Norman Zhang
Hi, I just installed cyrus-imapd-2.1.15-6mdk on my 9.2 box. Should I create users for /etc/postfix/aliases or should I just create them in cyrus? You create *mailboxes* for users in cyrus and *aliasies* in postfix. Postfix will resolve aliases to mailboxes and will try to deliver messages