deleting corrupt mail file..

2003-10-16 Thread Danny García Hernández
Hello List,

I have a problem with a corrupt message file, the user have a file .
into his spool directory, when he try to download this message the mail
client is getting him error about corrupt message. How i can delete this
message from the user´s spool directory?

Thanks
Danny



maybe a conceptual mistake...

2003-09-27 Thread Danny García Hernández
Hello, i was reading some of the new feature incorpored into the new
cyrus-imap-2_2, i´m interested in the nntpd daemon to supporting news  into
cyrus. Really, i´m so confused and i have a lot of question about it.

1- I have cyrus-imap-2_2b with  multidomains support and nntp built in, i
need a INN package to mount many news group inside this domains or i can use
nntp support in cyrus-imap?.

2-"Cyrus has the ability to export Usenet via IMAP and/or export shared IMAP
mailboxes via NNTP". I don´t undertand this. What Usenet is?.

3- Right now, i have two domains (xxx.com & yyy.com),  that i need or want
is create some newgroups under news.xxx.com and others under news.yyy.com.
for example.

soft.news.xxx.com is a news group to read (only read) articles about new
soft technology
so.news.xxx.com  is a news group to post and read articles about Operating
System

soft.news.yyy.com is a news group to read (only read) articles about new
soft technology for users from yyy.com domain.

which will be my newsprefix ?

How i can´t avoid users from xxx.com reading news group under yyy.com?
Password?.

4.  What i have to do for give password for each users sharing the same news
group?

Any Hints?

Thank in advanced
Danny



Danny García Hernández
HELIO YAGO S.L.
http://www.g2k.es
e-mail:[EMAIL PROTECTED]
Tlf: (96) 363 43 17
Fax: (96) 390 27 17



cyrusv2 can´t deliver mail ....

2003-09-23 Thread Danny García Hernández



Hello List.
 
How i can´t tell to cyrusv2 mailer the complete 
RCPT address?. The message arrive to sendmail, sendmail detect the address as 
loca-host-name, stripped the host part and call cyrusv2 with only username. 
I don´t have any user into defualtdomain, all my users are or will be into 
/var/imap/domain structure.
 
The imapd.log look like this.
 
Sep 23 17:58:01 micalet lmtpunix[15824]: accepted 
connectionSep 23 17:58:01 micalet lmtpunix[15824]: lmtp connection preauth'd 
as postmanSep 23 17:58:01 micalet lmtpunix[15824]: append_check() of 
'user.helio' failedSep 23 17:58:01 micalet master[15827]: about to exec 
/opt/cyrus/bin/lmtpdSep 23 17:58:01 micalet lmtpunix[15827]: 
executed
I think that the rigth form could be:
Sep 23 17:58:01 micalet lmtpunix[15824]: accepted 
connectionSep 23 17:58:01 micalet lmtpunix[15824]: lmtp connection preauth'd 
as postmanSep 23 17:58:01 micalet lmtpunix[15824]: append_check() of '[EMAIL PROTECTED]'  OKSep 23 
17:58:01 micalet master[15827]: about to exec /opt/cyrus/bin/lmtpdSep 23 
17:58:01 micalet lmtpunix[15827]: executed
 
Any hints?
 
Thank in advanced
Danny
 


append_check() of user.......

2003-09-23 Thread Danny García Hernández



Hello list,
 
Right now, i have a problem with sendmail 8.12.10 
and cyrus-imap-2_2, the first one is accepting message but cyrus-imap is unable 
to deliver to the correct user inbox. My linux box is configured to use 
virtualdomains support. 
 
/etc/mail/local-host-name
 
xxx.com
yyy.com
 
 
/etc/mail/mailertable
 
xxx.com         
cyrusv2: [EMAIL PROTECTED]
yyy.com     
cyrusv2: [EMAIL PROTECTED]
 
The problem is that cyrusv2 is receiving only the 
address´s local part from the sendmail, i think that this could be cause the 
undelivery message  with  "user not found" reason.
 
tail -f /var/log/imapd.log
 
Sep 23 13:17:53 micalet lmtpunix[14257]: accepted 
connectionSep 23 13:17:53 micalet lmtpunix[14257]: lmtp connection preauth'd 
as postmanSep 23 13:17:53 micalet lmtpunix[14257]: append_check() of 
'user.armando' failedSep 23 13:18:14 micalet master[13030]: process 14253 
exited, status 0
 
Reading this log file, i saw this "user.armando" 
when the correct and validated user mailbox is [EMAIL PROTECTED].
 
How i can solve this problem ?
 
Thank in advanced
Danny

 
 


Re: can´t compile cyradm

2003-09-22 Thread Danny García Hernández
ldd command show:

[EMAIL PROTECTED] cyrus-imapd-2.2.1-BETA]$ ldd
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/IMAP.so
libssl.so.2 => /lib/libssl.so.2 (0x40018000)
libcrypto.so.2 => /lib/libcrypto.so.2 (0x40046000)
libc.so.6 => /lib/libc.so.6 (0x4010c000)
libdl.so.2 => /lib/libdl.so.2 (0x40233000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x8000)
[EMAIL PROTECTED] cyrus-imapd-2.2.1-BETA]$

I think that i have to problems:

1- Why perl Makefile.PL can´t find my libsasl2 into /opt/lib ?
2- After fix Makefile.PL with the correct path to INCs and LIBs, why i can´t
exceute cyradm?

Thanks
Danny

- Original Message - 
From: "Joakim Ryden" <[EMAIL PROTECTED]>
To: "Danny García Hernández" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 22, 2003 11:55 PM
Subject: Re: can´t compile cyradm


What does
'ldd /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/IMAP.so'
show?

--Jo


On Monday 22 September 2003 15:21, Danny García Hernández wrote:
> Yes, i did it.
>
> My cyrus-imap was compiled with  sasl support. Right now, i need to
compile
> the perl scripts and cyradm administrative tool, and here is the the
> problem. I was looking for into Makefiel.PL and changind the SASL_INC  and
> SASL_LIB values, the compile process finish OK, but executing cyradm i get
> this errors:
>
> [EMAIL PROTECTED] cyrus-imapd-2.2.1-BETA]# /usr/bin/cyradm
> Can't load
> '/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/IMAP.so' for
> module Cyrus::IMAP:
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/IMAP.so:
> undefined symbol: sasl_client_init at
> /usr/lib/perl5/5.6.1/i386-linux/DynaLoader.pm line 206.
>  at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line 44
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line 44.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line 44.
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Shell.pm line 60.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Shell.pm line 60.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
>
> Any advice will be very appreciated
> Thanks
> Danny
>
> - Original Message -
> From: "Etienne Goyer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 22, 2003 10:39 PM
> Subject: Re: can´t compile cyradm
>
> > I guess you want to specify "--with-sasl=/opt/include/sasl" or something
> > along that line to ./configure.  Have you tried it ?
> >
> > On Mon, Sep 22, 2003 at 09:28:57PM +0200, Danny García Hernández wrote:
> > > Ken, thank for the first answer to my fisrt problem with cyrus-imapd.
> > >
> > > But i already have the second stone in my way and the name is CYRADM.
>
> The problem is that i have installed cyrus-imap into /opt directory, the
> library are into /opt/lib/sasl2  and the include files are into
> /opt/include/sasl. Then,  i´km trying to compile cyradm following the
> documentation and i can´t, the compiled proccess is getting this message.
>
> > > Note (probably harmless): Not found libsasl2
> > >
> > > Can any one advice with this?
> > >
> > > Thank in advanced
> > > Danny
> >
> > --
> > Etienne GoyerLinux Québec Technologies Inc.
> > http://www.LinuxQuebec.com   [EMAIL PROTECTED]
>
> !DSPAM:3f6f6e31166561399114306!




Re: can´t compile cyradm

2003-09-22 Thread Danny García Hernández
Yes, i did it.

My cyrus-imap was compiled with  sasl support. Right now, i need to compile
the perl scripts and cyradm administrative tool, and here is the the
problem. I was looking for into Makefiel.PL and changind the SASL_INC  and
SASL_LIB values, the compile process finish OK, but executing cyradm i get
this errors:

[EMAIL PROTECTED] cyrus-imapd-2.2.1-BETA]# /usr/bin/cyradm
Can't load
'/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/IMAP.so' for
module Cyrus::IMAP:
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/IMAP.so: undefined
symbol: sasl_client_init at /usr/lib/perl5/5.6.1/i386-linux/DynaLoader.pm
line 206.
 at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line 44
Compilation failed in require at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line 44.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line 44.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Shell.pm line 60.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Shell.pm line 60.
Compilation failed in require.
BEGIN failed--compilation aborted.

Any advice will be very appreciated
Thanks
Danny

- Original Message - 
From: "Etienne Goyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 22, 2003 10:39 PM
Subject: Re: can´t compile cyradm


> I guess you want to specify "--with-sasl=/opt/include/sasl" or something
> along that line to ./configure.  Have you tried it ?
>
> On Mon, Sep 22, 2003 at 09:28:57PM +0200, Danny García Hernández wrote:
> > Ken, thank for the first answer to my fisrt problem with cyrus-imapd.
> >
> > But i already have the second stone in my way and the name is CYRADM.
The problem is that i have installed cyrus-imap into /opt directory, the
library are into /opt/lib/sasl2  and the include files are into
/opt/include/sasl. Then,  i´km trying to compile cyradm following the
documentation and i can´t, the compiled proccess is getting this message.
> >
> > Note (probably harmless): Not found libsasl2
> >
> > Can any one advice with this?
> >
> > Thank in advanced
> > Danny
> -- 
> Etienne GoyerLinux Québec Technologies Inc.
> http://www.LinuxQuebec.com   [EMAIL PROTECTED]
>



can´t compile cyradm

2003-09-22 Thread Danny García Hernández



Ken, thank for the first answer to my fisrt problem 
with cyrus-imapd.
 
But i already have the second stone in my way and 
the name is CYRADM. The problem is that i have installed cyrus-imap into /opt 
directory, the library are into /opt/lib/sasl2  and the include files are 
into /opt/include/sasl. Then,  i´km trying to compile cyradm following the 
documentation and i can´t, the compiled proccess is getting this 
message.
 
Note (probably harmless): Not found 
libsasl2
 
Can any one advice with this?
 
Thank in advanced
Danny


virtual domains

2003-09-22 Thread Danny García Hernández



Hello, i´m trying to install a cyrus-imapd-2_2 
server with virtual domains support.  Right now i have a server 
(cyrus-imap-2.1.9) with this support, using mysql and one cyrus.conf file 
by domain. Also, I have separated imap directory  for each 
(/var/imap/example1.net and /var/imap/example2.net)
 
I  was reading into cyrusv2 docs that a new 
clause was included into conf file to give support for virtual domains. Can any 
one explain me how mail boxes are create into separated  domain 
directory?.
 
Doing tools/mkimap in my new system, create some 
subdirectories under /var/imap but user and quota directories are 
missing.
 
Thank in advanced
Danny


[no subject]

2003-09-16 Thread Danny García Hernández
Hello List,

I have some problems to get compiled sendmail-8.12.9 with  SALS2.0.9.

First, my POP and IMAP users (cyrus-imap) are authenticating against sasldb2
database, using saslauthd and master daemon, that i mean is that sasl is
working fine.

Second, sendmail compiling proccess don´t fail while is compile with SALS
libraries, but after that, if you type senmail -d0.1 -bt < /dev/null  , SASL
string dosen´t appear. I have sals2 lib into /usr/lib/sasl2/lib and i can´t
find include file for sasl2, where i can´t find that ?. are the same files
that sasl1?

I´m compiling sendmail with the folowing command.

sh
Build -c -L/usr/local/bdb/lib -I/usr/local/bdb/include -L/usr/lib/sasl2/lib 
-I/usr/local/lib/sasl/include

This proccess finish ok, but sasl2 is not compiled with sendmail.

Can any one advise about my possible mistake?

Thank in advanced
Danny García Hernández
HELIO YAGO S.L.
http://www.g2k.es
e-mail:[EMAIL PROTECTED]
Tlf: (96) 363 43 17
Fax: (96) 390 27 17



Re: Authenticating Mail Users

2003-03-04 Thread Danny García Hernández
Have you running the saslauthd daemon with sasldb mech?

Some thing like this in your cyrus´s init file.

/path/to/saslauthd -a sasldb &


Regards
Danny

- Original Message -
From: "Krishna" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 05, 2003 6:54 PM
Subject: Authenticating Mail Users


> Hi,
>   I am using Horde/IMP on RedHat 7.3 with Cyrus IMAP. I am having
> problems authenticatin users. I folowed the Cyrus howto and added users.
>
> The problem is that it is authenticating users from the /etc/passwd and
> shadow file and not from sasldb and mails go to the Cyrus Imap mail
> directories, which works ok.
> With this method I have to create the user both from cyradm and useradd.
> I want to get users authenticated from the sasldb file and not /etc/passwd
> and shadow.
>
> This is what my imapd.conf shows
> [EMAIL PROTECTED] /]# cat /etc/imapd.conf
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> admins: cyrus
> allowanonymouslogin: no
> sieveuserhomedir: no
> sievedir: /var/lib/imap/sieve
> sendmail: /usr/sbin/sendmail
> hashimapspool: true
> sasl_sasldb_path: /etc/sasldb
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN
> tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
> tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
> [EMAIL PROTECTED] /]#
>
> regards
> Krishna
> http://www.KrisinDigitalAge.com
>
>
>



auxprop + sendmail

2003-02-15 Thread Danny García Hernández
Hello List,

At home, i have cyrus-imapd-2_2 working with mysql  user database and
multidomain support. My MTA is sendmail-8-11.

My config is like this.

Cyrus.Conf  have to  lines for imapd service and lmtpunix (one for may
xxx.com domain and one for my yyy.com domain). This two domains have
distinct imap directories.

Sendmail.cf have defined one lmtp mailer and the mailertable have the lmtp
mailer entry for the two domains. With this configuration, I can read and
send mail inside my Home Network (include into sednmail access file).

The problem is that i don´t able to receive  message from the outside world.
Including my domains name into sendmail Cw class  is not a solution because
sendmail check for this user into linux space user ( and the user is not
found ). Deleting the domain name from the sendmail Cw class is not  the
solution too.

Please, can any one advice me about posible solutions and where find some
doc about it?.

Some thing like expand the check_rcpt ruleset in sendmail, to verify users
against myssql database.

Thanks in advanced
Danny




Re: Re: deleting large mailbox name

2003-02-14 Thread Danny García Hernández
Thank you very much Mike.

The list is working :)

Grettings
Danny


- Original Message -
From: "Mike O'Rourke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, February 14, 2003 12:58 PM
Subject: Re: Re: deleting large mailbox name



>From: "Danny García Hernández" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, February 13, 2003 9:24 AM
>Subject: deleting large mailbox name
>
>
> > Hello List,
> >
> > I have a problem deleting  the large mailbox name into my cyrus sasldb2,
> > have any one idea, what´s is happend?
> >
> > Example.
> >
> > $server] cyradm localhost
> >
> > localhost>lm user/xxx/*
> >
> > user/xxx/Bandeja de entrada (\HasChildren)
> > user/xxx/Bandeja de entrada/Borrador (\HasNoChildren)
> >
> > In the user/xxx the cyrus admin have all permision, but i can set
>permision
> > or read it for "Banddeja de entrada" directory and his childrens. I
think
> > that problem come with the space char  into "Bandeja de entrada"
> >
> > Any advice will be appreciated
> > Danny
> >
> >
> >

If the mailbox name has any special characters (from the point of view of
the shell -- this includes the space character), you need to quote it on
the command line:
 localhost> lam user/xxx/"Bandeja de entrada"
 localhost> sam user/xxx/"Bandeja de entrada" cyrus all
 localhost> dm user/xxx/"Bandeja de entrada"

Mike.






Re: deleting large mailbox name

2003-02-13 Thread Danny García Hernández
Is the list working?

Thanks
Danny

- Original Message -
From: "Danny García Hernández" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 9:24 AM
Subject: deleting large mailbox name


> Hello List,
>
> I have a problem deleting  the large mailbox name into my cyrus sasldb2,
> have any one idea, what´s is happend?
>
> Example.
>
> $server] cyradm localhost
>
> localhost>lm user/xxx/*
>
> user/xxx/Bandeja de entrada (\HasChildren)
> user/xxx/Bandeja de entrada/Borrador (\HasNoChildren)
>
> In the user/xxx the cyrus admin have all permision, but i can set
permision
> or read it for "Banddeja de entrada" directory and his childrens. I think
> that problem come with the space char  into "Bandeja de entrada"
>
> Any advice will be appreciated
> Danny
>
>
>




deleting large mailbox name

2003-02-13 Thread Danny García Hernández
Hello List,

I have a problem deleting  the large mailbox name into my cyrus sasldb2,
have any one idea, what´s is happend?

Example.

$server] cyradm localhost

localhost>lm user/xxx/*

user/xxx/Bandeja de entrada (\HasChildren)
user/xxx/Bandeja de entrada/Borrador (\HasNoChildren)

In the user/xxx the cyrus admin have all permision, but i can set permision
or read it for "Banddeja de entrada" directory and his childrens. I think
that problem come with the space char  into "Bandeja de entrada"

Any advice will be appreciated
Danny




Re: Red Hat Version 8.0 - xinetd.d information

2003-01-25 Thread Danny García Hernández
sorry, but i was reading again your question and my answer is wrong. you
have to try with master proccess into /etc/init.d/imap init file.


grettings
danny



- Original Message -
From: "Grosswiler Roger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 25, 2003 8:38 PM
Subject: Red Hat Version 8.0 - xinetd.d information


> Hello to all,
>
> Does anybody have already installed Cyrus 2.1.11 on a Red Hat 8.0? I was
> trying hard to get it runnig, but no chance. Cyrus-sasl 2.1.7.2 is by
> standard installed on redhat.
>
> I made as usual my entries in /etc/services, copied normal.conf to cyrus.
> conf, edited an imapd.conf, changed in /etc/xinetd.d/imapd the path to the
> imapd of /usr/cyrus/bin and changed the user on cyrus...
>
> nevertheless, i can't get it up and running a telnet on port 143 shows
> just a refues of the connection, which is not the firewall, as the
> standard uw-server connects without any problem
>
> Please, i hope that somebody tells me what i have forgotten or have to do
> otherwise...
>
> Thx in advance!
> Roger
>
>
>
>




Re: Red Hat Version 8.0 - xinetd.d information

2003-01-25 Thread Danny García Hernández
take a look into /etc/xinetd.d/imapd, maybe you have disabled the imap
service.

disable = yes (change it to no)

grettings
danny


- Original Message -
From: "Grosswiler Roger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 25, 2003 8:38 PM
Subject: Red Hat Version 8.0 - xinetd.d information


> Hello to all,
>
> Does anybody have already installed Cyrus 2.1.11 on a Red Hat 8.0? I was
> trying hard to get it runnig, but no chance. Cyrus-sasl 2.1.7.2 is by
> standard installed on redhat.
>
> I made as usual my entries in /etc/services, copied normal.conf to cyrus.
> conf, edited an imapd.conf, changed in /etc/xinetd.d/imapd the path to the
> imapd of /usr/cyrus/bin and changed the user on cyrus...
>
> nevertheless, i can't get it up and running a telnet on port 143 shows
> just a refues of the connection, which is not the firewall, as the
> standard uw-server connects without any problem
>
> Please, i hope that somebody tells me what i have forgotten or have to do
> otherwise...
>
> Thx in advance!
> Roger
>
>
>
>




imtest question again..

2003-01-09 Thread Danny García Hernández



Please!!, 
 
Passed 12 hours from  my first question about 
imtest using domains inside sasldb2 and no body have answered my 
question.
 
Can any body help me?
 
Thanks
Danny