dns_lookup

2003-01-17 Thread Danny Garcia Hernandez
Hello All!!!

Logging  into a file the ouput from configure process, i can see that
dns_lookup cheking is disabled.

Can any  body tell me what  it´s mean?.

Thanks
Danny




compiling cyrus-imap-2_2

2003-01-17 Thread Danny Garcia Hernandez
hello:

i have a linux redhat 7.3 with cyrus-sasl, right now i´m trying to compile
cyrus-imap-2_2 from de cvs source but configure script is getting some
errors.

1- first i have created the configure script

   /bin/sh/ ./SMakefile

2- running configure without params

  ./configure

  loading cache ./config.cache
  configure: error: can not run ./config.sub

config.sub is in the directory.

can anyone give me some idea about what´s happen?

thanks
danny





Re: compiling cyrus-imap-2_2

2003-01-17 Thread Danny Garcia Hernandez
Sorry, but the problem was some wrong characters inside my configure, maybe
downloading to my windows station and after passing the files to my linux
box

Thanks
Danny
- Original Message -
From: Danny Garcia Hernandez [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 17, 2003 6:03 PM
Subject: compiling cyrus-imap-2_2


 hello:

 i have a linux redhat 7.3 with cyrus-sasl, right now i´m trying to compile
 cyrus-imap-2_2 from de cvs source but configure script is getting some
 errors.

 1- first i have created the configure script

/bin/sh/ ./SMakefile

 2- running configure without params

   ./configure

   loading cache ./config.cache
   configure: error: can not run ./config.sub

 config.sub is in the directory.

 can anyone give me some idea about what´s happen?

 thanks
 danny








hello list!!!

2003-01-16 Thread Danny Garcia Hernandez



Some days ago i was re-posting two message and 
today, i´mstill without answer to my problems. 

Please, right now i haveonly one doubt, are 
my message arriving to the list? (sorry but i´m a newbiein this 
list)

Can anyoneadvice me?
Thanks
Danny


Re: Virtual mailboxes

2003-01-13 Thread Danny Garcia Hernandez
Hello

Talking about virtual domains or virtual mailboxes. I have a linux box with
sasl 2.1.9 and cyrus 2.1.9, Sasl was compiled with support for MySLQ like
this.

export LIBS=-lz
./configure --prefix=/usr/local --disable-krb4 --disable-gssapi --with-dbpat
h=/etc/sasldb2 \
--with-dblib=berkeley --with-bdb-libdir=/usr/local/BerkeleyDB.4.1/lib \
--with-dbd-incdir=/usr/local/BerkeleyDB.4.1/include --disable-otp --disable-
pwcheck \
--enable-plain --with-mysql

The configure process looks fine, and the same for make and make install
command.

After that, cyrus-imapd-2.1.9 is compiled and installed with the following
options

./configure --prefix=/usr/local --with-state=/var/state --with-dbdir=/usr/lo
cal/BerkeleyDB.4.1 \
--with-auth=unix --enable-sieve --enable-server --with-perl=/usr/bin/perl --
without-krb \
--disable-gssapi --with-sasl=/usr/local/lib/sasl2
make depend
make all CFLAGS=-O
make install

And here is my problem, i planning to configure imap with virtual domains
support , firts i´m trying to use the sasldb2 but i can´t (sorry, i´m a
newbie). Then, looking for some materials in internet, i found
the --with-mysql options in saslv2 and is that i trying today :).

here is my imapd.conf file

servername: xxx.net
configdirectory: /var/imap/xxx.net
partition-default: /var/spool/imap/xxx.net
admins: cyrus root
altnamespace: yes
allowanonymouslogin: no
allowplaintext: yes
#sasl_mech_list: PLAIN
sasl_pwcheck_method: auxprop
sasl_mysql_user: mail
sasl_mysql_passwd: xxx
sasl_mysql_hostnames: localhost
sasl_mysql_database: mail
sasl_mysql_statement: select password from accountuser where username = '%u'
and domain_name = '%r'
sasl_mysql_verbose: yes

In mysql server i have  a database named mail and i have added for it

mysqluse mysql;
mysqlinsert into user (host,user,password,..) values
('localhost','mail','xxx');
mysqluse mail;
mysqlinsert into accountuser (unsername,password,domain) values
('cyrus',PASSWORD('test'),'xxx.net');

That´s all that i have configure but the log look very ugly when a try to
log with cyradm.

#su cyrus
#cyradm 192.168.1.172


Jan 13 10:16:50 llus imapd[28754]: mysql plugin try and connect to localhost
Jan 13 10:16:50 llus imapd[28754]: mysql plugin couldnt connect to any host
Jan 13 10:16:50 llus imapd[28754]: unable to open Berkeley db /etc/sasldb2:
No such file or directory
Jan 13 10:16:50 llus imapd[28754]: unable to open Berkeley db /etc/sasldb2:
No such file or directory
Jan 13 10:16:50 llus imapd[28754]: mysql plugin Parse the username cyrus
Jan 13 10:16:50 llus imapd[28754]: mysql plugin try and connect to a host
Jan 13 10:16:50 llus imapd[28754]: mysql plugin try and connect to localhost
Jan 13 10:16:50 llus imapd[28754]: mysql plugin couldnt connect to any host
Jan 13 10:16:50 llus imapd[28754]: badlogin: factorysoft.net[192.168.1.172]
plaintext cyrus SASL(-13): user not found: checkpass failed
ene 13 10:17:03 llus su(pam_unix)[28757]: session closed for user cyrus



i think the problem can be the mech used to insert the password into the
user table

can any one advise about my problem?

thanks in advanced

Danny



- Original Message -
From: Ken Murchison [EMAIL PROTECTED]
To: Joe Ellis [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, January 10, 2003 11:33 PM
Subject: Re: Virtual mailboxes


 If you want to try 2.2 from CVS, you want to check out tag
 cyrus-imapd-2_2



 Joe Ellis wrote:
 
  Yeah.  thats exactly what I want.  ...i just built a new mail server too
  using cyrus-imap 2.1.11.
 
  Thanks.
 
  Ken Murchison wrote:
   Sounds to me like you want virtual domain support.  This is part of
   Cyrus 2.2 (which is in CVS).  Here is some docs:
  
  
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/~checkout~/src/cyrus/doc/A
ttic/install-virtdomains.html?rev=1.1.2.5content-type=text/htmlhideattic=0
  
  
   Joe Ellis wrote:
  
  Is there a way to have cyrus deliver mail to a mailbox based on the
domain?
  
  for example, if [EMAIL PROTECTED] has mail deliverd, it goes to
  user/lithodyne.net/joee.  If [EMAIL PROTECTED] has mail delivered,
it
  goes to user/andrew.cmu.edu/joee.
  
  I'm trying to eliminate usernames as the email address.  Currently, I
  have cyrus setup so the mailbox is [EMAIL PROTECTED]  So the
  username is [EMAIL PROTECTED] and not just joee.  I'd like to have
the
  user as joee no matter what domain.
  
  I use postfix as the mta.  Maybe I should write a wrapper for deliver
so
  postfix will extract the username and domain and pass the correct
  mailbox to cyrus.
  
  Anyone doing this?
  
  I hope I'm clear on what I'm asking.
  
  --
  Joe Ellis
  http://www.lithodyne.net
  Jas 5:7,8
  
  
 
  --
  Joe Ellis
  http://www.lithodyne.net
  Jas 5:7,8

 --
 Kenneth Murchison Oceana Matrix Ltd.
 Software Engineer 21 Princeton Place
 716-662-8973 x26  Orchard Park, NY 14127
 --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp






imtest problems

2003-01-09 Thread Danny Garcia Hernandez



Hello List,

I´m trying to install a cyrus imapd server to 
control mail for multiple domains, after install cyrus-sasl, i was testing then 
saslauthd daemon using testsaslauthd, all working fine. 
testsaslauthdauthenticate user + realm succefully (./testsaslauthd -u test 
-p test -r .com). The problems is with imtest after install cyrus-imapd, 
imtest fail (./imtest -m login -a [EMAIL PROTECTED] 192.168.1.170). In 
thelog file i can see the authfail command from saslauthd. I have added 
another user without realm to sasldb2 database to do the same test, and right 
now then system pass the  testsaslauthd and imetest test.

I´m using the 2.1.9 version of cyrus-imad and 
cyrus-sasl, then sasdblistuser2 look like this

[EMAIL PROTECTED]:userPassword
test@server:userPassword 


Have any body any idea about what´s happen 
?

Thank in advanced
Danny






cyrus imapd + multiple domains

2003-01-03 Thread Danny Garcia Hernandez



hello list!!!

the yearbegun, but for me it´s time to go and 
work :( . 

well, here is my problem. i have a linux box 
running cyrus imapd server (2.1.9) with cyrus-sasl (2.1.9)and compiled with 
"--with-auth=unix". all is working fine!!!.

right now, we are hosting another domains and we 
want to give them mail service throught the actual imap server. i was reading 
and looking for docs, and i have found a very similar situation but using ip 
alias (i can´t use that). please, can any body expose a solution to configure 
cyrus imapd with multiple domains.

thank in advanced
danny