RE: problem with admin-user

2007-06-01 Thread Philippe Trolliet
now i need to specify an admin user for every single domain because of the
@domain.com.
in FC4 everything worked fine with the single admin account cyrus without a
realm.
is there any setting in the cyrus version of fedora core 6 or is this a bug?
please help

regards
philippe

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Philippe
 Trolliet
 Sent: Donnerstag, 31. Mai 2007 10:48
 To: Info-cyrus
 Subject: problem with admin-user


 hi,
 i installed a fresh FC6 system. my authentication is as follows: imapd -
 saslauthd - pam - mysql. i have a problem with the admin user.
 when i try
 to login over imtest or cyradm, those tools always append the
 domainname. on
 my former FC4 installation it wasn´t like that in case for the admin-user
 cyrus. there i had one user cyrus in my mysql database and i
 could log in as
 admin-user cyrus and the domainname hasn´t been appended automatically.
 now i need to have a real user [EMAIL PROTECTED] in my database. what
 happened here?
 i havn´t changed anything in the configuration of cyrus-imapd. my config
 files look as follows:

 /etc/imapd.conf:
 postmaster: postmaster
 configdirectory: /var/lib/imap
 partition-default: /var/spool/imap
 admins: cyrus
 sievedir: /var/lib/imap/sieve
 sieve_maxscriptsize: 320
 sieve_maxscripts: 5
 unixhierarchysep: yes
 altnamespace: yes
 sendmail: /usr/sbin/sendmail
 hashimapspool: true
 sasl_pwcheck_method: saslauthd
 sasl_mech_list: PLAIN LOGIN
 tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
 tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
 tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
 allowanonymouslogin: no
 allowplaintext: yes
 allowplainwithouttls: yes
 autocreatequota: 4
 reject8bit: no
 quotawarn: 90
 timeout: 30
 poptimeout: 10
 dracinterval: 0
 drachost: localhost
 servername: mail.domain.com
 virtdomains: yes
 lmtp_over_quota_perm_failure: 1

 /etc/imapd-local.conf:
 is the same as above.

 by the way, what is the difference between imapd.conf and
 imapd-local.conf?
 why is the domainname automatically appended to the admin-user cyrus now?

 regards
 philippe

 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

 __ NOD32 2300 (20070531) Information __

 This message was checked by NOD32 antivirus system.
 http://www.eset.com




Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


RE: problem with admin-user

2007-06-01 Thread Philippe Trolliet
i solved the problem. the domain name was automatically appended because of
a misconfiguration in /etc/hosts.
/etc/hosts before:
127.0.0.1   mail.domain.com localhost.localdomain   localhost
192.168.0.35mail.domain.com mail

/etc/hosts after:
127.0.0.1   localhost
192.168.0.35mail.domain.com mail

now i can login as user cyrus and can administer all domains with one user
again and the domain name isn´t appended anymore.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Philippe
 Trolliet
 Sent: Freitag, 1. Juni 2007 13:37
 To: Info-cyrus
 Subject: RE: problem with admin-user


 now i need to specify an admin user for every single domain because of the
 @domain.com.
 in FC4 everything worked fine with the single admin account cyrus
 without a
 realm.
 is there any setting in the cyrus version of fedora core 6 or is
 this a bug?
 please help

 regards
 philippe

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Philippe
  Trolliet
  Sent: Donnerstag, 31. Mai 2007 10:48
  To: Info-cyrus
  Subject: problem with admin-user
 
 
  hi,
  i installed a fresh FC6 system. my authentication is as
 follows: imapd -
  saslauthd - pam - mysql. i have a problem with the admin user.
  when i try
  to login over imtest or cyradm, those tools always append the
  domainname. on
  my former FC4 installation it wasn´t like that in case for the
 admin-user
  cyrus. there i had one user cyrus in my mysql database and i
  could log in as
  admin-user cyrus and the domainname hasn´t been appended automatically.
  now i need to have a real user [EMAIL PROTECTED] in my database. what
  happened here?
  i havn´t changed anything in the configuration of cyrus-imapd. my config
  files look as follows:
 
  /etc/imapd.conf:
  postmaster: postmaster
  configdirectory: /var/lib/imap
  partition-default: /var/spool/imap
  admins: cyrus
  sievedir: /var/lib/imap/sieve
  sieve_maxscriptsize: 320
  sieve_maxscripts: 5
  unixhierarchysep: yes
  altnamespace: yes
  sendmail: /usr/sbin/sendmail
  hashimapspool: true
  sasl_pwcheck_method: saslauthd
  sasl_mech_list: PLAIN LOGIN
  tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
  tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
  tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
  allowanonymouslogin: no
  allowplaintext: yes
  allowplainwithouttls: yes
  autocreatequota: 4
  reject8bit: no
  quotawarn: 90
  timeout: 30
  poptimeout: 10
  dracinterval: 0
  drachost: localhost
  servername: mail.domain.com
  virtdomains: yes
  lmtp_over_quota_perm_failure: 1
 
  /etc/imapd-local.conf:
  is the same as above.
 
  by the way, what is the difference between imapd.conf and
  imapd-local.conf?
  why is the domainname automatically appended to the admin-user
 cyrus now?
 
  regards
  philippe
 
  
  Cyrus Home Page: http://cyrusimap.web.cmu.edu/
  Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
  List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 
  __ NOD32 2300 (20070531) Information __
 
  This message was checked by NOD32 antivirus system.
  http://www.eset.com
 
 

 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

 __ NOD32 2304 (20070601) Information __

 This message was checked by NOD32 antivirus system.
 http://www.eset.com




Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: problem with admin-user

2007-06-01 Thread Jorey Bump

Philippe Trolliet wrote:

now i need to specify an admin user for every single domain because of the
@domain.com.
in FC4 everything worked fine with the single admin account cyrus without a
realm.


My comments may be completely irrelevant for you, because I don't use 
saslauthd, pam, mysql, virtdomains, or (shudder) Fedora Core, but are 
you sure you need the extra complexity? For example, I host mail for 
many different domains, but manage them under a single (portable) realm, 
with a single admin user. Users have no knowledge of the realm, and it 
isn't required for logins (which means I have the extra burden of 
keeping all logins unique). I just need to set the defaultdomain in 
imapd.conf, and add every user to sasldb2 as a member of that realm (I'm 
aware you're not using sasldb2, but maybe your realm issue is related).


I did this because I prefer bare logins. Although logins with appended 
realms have a certain logical appeal, I think it would still cause 
issues with users who don't understand realms. A bare login and password 
is easier to understand and explain, especially when multiple addresses 
are aliased to a single account. But I digress. If you're tied to your 
current system, this won't be of much help to you.



Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html