Re: Groups

2003-04-02 Thread Sebastian Konstanty Zdrojewski




The Cyrus server runs as group defined in the configure procedure. The use
of a different kind of authentication doesn't affect this, so all the users
are assigned to the Cyrus' master process.

Of course, if I understood well how it works! :)

Bye

[EMAIL PROTECTED] wrote:

  I asked that question but still didn't get an answer:

I'm using 'saslauthd -a pam' for IMAP authentication (pam_pgsql actually) and 
compiled cyrus-imapd22 --with-auth=unix
Should I still use /etc/groups for users group membership (to set access 
mailbox permissions) or maybe there is a way to use database for that?

Best regards,
Dmitry

  


-- 
Sebastian
Konstanty Zdrojewski
 IT Analyst
 
 Neticon S.r.l.
 via Valtellina, 16 - 20159 Milano
 Tel. +39 02 68.80.731
 FAX +39 02.60.85.70.41
 Cell. +39 349.33.04.311
 ICQ # 97334916  
 --
 Web: http://www.neticon.it/
 E-mail: [EMAIL PROTECTED] 
 





Info

2003-04-01 Thread Sebastian Konstanty Zdrojewski
Hi,

I am experiensing a problem. I have in my imapd.log the following entries:

Apr  1 18:14:37 nexus lmtpd[17042]: lmtp connection preauth'd as postman
Apr  1 18:14:37 nexus master[17106]: about to exec /usr/cyrus/bin/lmtpd
Apr  1 18:14:37 nexus lmtpunix[17106]: executed
Apr  1 18:14:40 nexus lmtpd[17042]: duplicate_check: 
<[EMAIL PROTECTED]> 
user.pluto  0
Apr  1 18:14:40 nexus lmtpd[17042]: mystore: starting txn 2147488968
Apr  1 18:14:40 nexus lmtpd[17042]: mystore: committing txn 2147488968
Apr  1 18:14:40 nexus lmtpd[17042]: duplicate_mark: 
<[EMAIL PROTECTED]> 
user.pluto  1049213680

what is their meaning and what kind of problem they involve?

TIA - En3pY
--
Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]



Bare newlines

2003-03-28 Thread Sebastian Konstanty Zdrojewski
I was attempting to move an email message from a local account onto an 
IMAP directory located on Cyrus. The client I am using is Netscape Mail 
and usually it gives me no problems. This time, I am not able to move 
the message because the client gives the following error:

Unable to perform operation. Message contains bare newlines.

The message has an attached PDF file (2Mb size) and a signature with 
image integrated. Any idea of what can be my problem?

TIA - En3pY

--

Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]



Can't understand

2003-03-28 Thread Sebastian Konstanty Zdrojewski
Hi,

since when I installed the server I am getting these information in my 
imapd.log file.

Mar 28 12:49:31 nexus lmtpd[9970]: lmtp connection preauth'd as postman
Mar 28 12:49:31 nexus master[10010]: about to exec /usr/cyrus/bin/lmtpd
Mar 28 12:49:31 nexus lmtpunix[10010]: executed
Mar 28 12:49:32 nexus lmtpd[9970]: duplicate_check: 
<[EMAIL PROTECTED]>  user.sergio_filippi  0
Mar 28 12:49:33 nexus lmtpd[9970]: mystore: starting txn 2147486981
Mar 28 12:49:33 nexus lmtpd[9970]: mystore: committing txn 2147486981
Mar 28 12:49:33 nexus lmtpd[9970]: duplicate_mark: 
<[EMAIL PROTECTED]>  user.sergio_filippi  1048852172
Mar 28 12:50:20 nexus master[945]: process 1 exited, status 0
Mar 28 12:51:57 nexus pop3d[9997]: accepted connection
Mar 28 12:51:57 nexus master[10012]: about to exec /usr/cyrus/bin/pop3d
Mar 28 12:51:57 nexus pop3[10012]: executed
Mar 28 12:51:57 nexus pop3d[9997]: login: [192.168.0.180] sergio_filippi 
plaintext
Mar 28 12:52:13 nexus master[945]: process 9970 exited, status 0

By the way everything works fine.

And something more. Where can I raise the timeout for an imapd daemon to 
exit. Let me explain. One user has her Outlook set to access the Imap 
server. Every some time of inactivity the client returns a "Timeout" 
error. As obvious, I set the idle timeout of the client to 1 minute, but 
I don't like this solution too much... any idea?

Thanks in advance,

En3pY

--

Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]



Re: lmtp read error

2003-03-27 Thread Sebastian Konstanty Zdrojewski
Hi,

I am using similar conf like yours, however it runs on a Linux server. 
These are sthe config file sections I used on main.cf and cyrus.conf files:

fallback_transport = lmtp:unix:/var/imap/socket/lmtp
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
and in cyrus.conf

lmtpunix  cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1

Plus a check on the socket directory:

drwxr-xr-x2 cyrusmail 4096 Mar 21 12:10 socket

and inside this directory:

[EMAIL PROTECTED] socket]# ls -l
total 0
-rw---1 cyrusmail0 Feb  5 14:32 imap.lock
srwxrwxrwx1 root root0 Mar 21 12:10 lmtp
-rw---1 cyrusmail0 Feb  5 14:32 lmtpunix.lock
-rw---1 cyrusmail0 Feb  5 14:32 pop3.lock
-rw---1 cyrusmail0 Feb 21 17:41 sieve.lock
As mentioned in the readme files, the group os postfix is the same of cyrus.

This configuration works for me, I also had some problem initially but 
actually I am not experiencing problems.

Hope this can help you!

Regards,

En3pY

Mitrana Cristian wrote:

* Morgan Sackett <[EMAIL PROTECTED]> [27-03-03 00:39]:

 

Henrique de Moraes Holschuh wrote

>  Indeed. That's my setup exactly. However, I just run lmtpd -a, 
bound to a   
>  private network where only the LMTP servers and the SMTP 
servers are
>  connected to. Thus, no authorization worries, and no SASL 
overhead.

Here is the error that I get using sockets:

Mar 26 18:21:08 kang postfix/lmtp[12575]: 26CD51FE9DE: 
to=<[EMAIL PROTECTED]>, r
elay=none, delay=141474, status=deferred (connect to 
/var/imap/socket/lmtp[/var/
imap/socket/lmtp]: Connection refused)

I'll give the -a  switch a try.

   

Maybe postfix cannot write to the socket (/var/imap/socket/lmtp),
can you make sure the socket is writable by postfix user or the group
postfix is running under ? 
Make sure no firewall rules are in place that can prevent you from
connecting telnet-ing to the lmtp port. If you run lmtpd over localhost
can you connect to localhost:lmtp ? What's netstat saying about
listening ports ?

mitu

 

--

Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]




Re: CVS downloads

2003-03-18 Thread Sebastian Konstanty Zdrojewski




cvs -d :pserver:[EMAIL PROTECTED]:/cvs login 
(enter "anonymous" as the password) 
cvs -d :pserver:[EMAIL PROTECTED]:/cvs co -d cyrus-imapd cyrus

(the first -d specifies the CVSROOT, in this case, our CVS server, and a
path to the CVS repository; co says "check out", -d says "and stick it in
the directory cyrus", and "cyrus" specifies the "cyrus" collection). The
password is "anonymous". 
The following collections are available for checkout: 

"cyrus" The Cyrus IMAP server. 
"sasl" The Cyrus SASL library. 
"smlacapd" The Cyrus SML ACAP server. 
For instance, to checkout the Cyrus SASL library: 

cvs -d :pserver:[EMAIL PROTECTED]:/cvs co -d cyrus-sasl sasl



Taken from the Anonymous CVS download of cyrus website.

Have fun! :)

En3pY

Jappie wrote:
This will
probably be a verry stupid question: 
Is there a way to easaly download a directory of the CVS-lists  recursive,
instead of clicking on everything in my browser ?? 
 
Jappie 
 
 


-- 
Sebastian
Konstanty Zdrojewski
 IT Analyst
 
 Neticon S.r.l.
 via Valtellina, 16 - 20159 Milano
 Tel. +39 02 68.80.731
 FAX +39 02.60.85.70.41
 Cell. +39 349.33.04.311
 ICQ # 97334916  
 --
 Web: http://www.neticon.it/
 E-mail: [EMAIL PROTECTED] 
 





Re: OT

2003-03-11 Thread Sebastian Konstanty Zdrojewski
Thanks for the answer

Chris Nolan wrote:

Hi!

MAPI for Linux eh? You have several options:

1. Samsung Contact (www.samsungcontact.com)
2. Oracle Collaboration Server (www.oracle.com)
3. Bynari Insight Connector + Cyrus (www.bynari.com)
4. DBMail will eventually have this functionality (www.dbmail.org)
Ok, I saw also the HP suite (I will post the url it later).

Of course, you could just tell your Outlook users to sod off and use
some real software. :-)
Yeah... try to explain this to the company... it took 2 weeks to obtain 
authorization to "try" (!!) to use Cyrus instead of M$ Exchange!!!

For free work-a-likes for many Outlook functions, try 

1. www.desknow.com
2. www.scheduleworld.com
3. iCalendar compliant apps plus JICal (jical.sourceforge.net)
4. Lotus Notes (www.ibm.com)
There also is Ximian Evolution. Another lost war (In fact I am the only 
one using Netscape as mail client!!)

Regards,

Chris

Thanks a lot!

En3pY

--

Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]




OT

2003-03-11 Thread Sebastian Konstanty Zdrojewski
Hi people,

I would like to know if someone of yours know a reliable MAPI server for 
a Linux machine. I am already looking up on exchange4linux, but I am 
searching also for alternatives.

TIA,

En3pY

--

Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]



IMSP Installation

2003-03-10 Thread Sebastian Konstanty Zdrojewski
Hello everybody,

after my battle (won) with Cyrus IMAPD 2, I am now looking up for IMSP. 
I downloaded the latest CVS, and after solving the problem with 
libcyrus.a file and other minor problems, I can't go on with building 
the server because I am getting the following error:

### Done with /home/nexus/machine/cyrus-imspd/lib
### Making all in /home/nexus/machine/cyrus-imspd/imsp
make[1]: Entering directory `/home/nexus/machine/cyrus-imspd/imsp'
gcc -g -O2 -L/usr/local/lib -Wl,-rpath,/usr/local/lib  -o cyrus-imspd main.o 
dispatch.o imsp_server.o option.o syncdb.o adate.o im_util.o abook.o authize.o alock.o 
sasl_support.o  ../lib/libcyrus.a  -L/usr/local/cyrus-sasl/lib  
-Wl,-rpath,/usr/local/cyrus-sasl/lib -lsasl2 -ldl -lresolv
imsp_server.o: In function `imsp_getacl':
/home/nexus/machine/cyrus-imspd/imsp/imsp_server.c:1535: undefined reference to 
`acl_masktostr'
abook.o: In function `abook_rights':
/home/nexus/machine/cyrus-imspd/imsp/abook.c:112: undefined reference to `acl_myrights'
abook.o: In function `abook_rename':
/home/nexus/machine/cyrus-imspd/imsp/abook.c:702: undefined reference to `acl_set'
abook.o: In function `abook_setacl':
/home/nexus/machine/cyrus-imspd/imsp/abook.c:931: undefined reference to `acl_set'
/home/nexus/machine/cyrus-imspd/imsp/abook.c:939: undefined reference to 
`acl_strtomask'
/home/nexus/machine/cyrus-imspd/imsp/abook.c:939: undefined reference to `acl_set'
abook.o: In function `abook_myrights':
/home/nexus/machine/cyrus-imspd/imsp/abook.c:965: undefined reference to 
`acl_masktostr'
collect2: ld returned 1 exit status
make[1]: *** [cyrus-imspd] Error 1
make[1]: Leaving directory `/home/nexus/machine/cyrus-imspd/imsp'
### Done with /home/nexus/machine/cyrus-imspd/imsp
[EMAIL PROTECTED] cyrus-imspd]$
I am using the snapshot because it supports the SASL2 library.

Any suggestions?

TIA,

En3pY

--

Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]



Distributed mail servers

2003-03-03 Thread Sebastian Konstanty Zdrojewski
Hello Everybody,

I have a question. I have to design a distributed mail service system. 
One server placed in central america, one in northern europe and one in 
southern... (most probably they will be in cluster but it's not the 
point). All the servers will relay mail for the same domain (someone.com).

Does anybody have a reference to a document with a conceptual design of 
how cyrus may be configured?

TIA, En3pY

--

Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]



Re: Deleting records from db

2003-02-26 Thread Sebastian Konstanty Zdrojewski
Thank you. I am in a similar situation like yours, because the server is 
still in test mode, so I can apply this solution. Thanks for help! :)

Have a nice day,

En3pY

Simon Brady wrote:

On Wed, 26 Feb 2003, Sebastian Konstanty Zdrojewski wrote:

 

Hi,

I tried with this:

localhost.localdomain> reconstruct user.mailboxname
reconstruct: Operating System Error
The imapd.log file appended the following line:

Feb 26 16:08:48 nexus imapd[30158]: Reconstructing 
'user.massimiliano_rovatti' (not recursive) for user 'postmaster'

Sorry for boring... I would like to get out of this problem without 
deleting the entire database...
   

I encountered this exact situation (directories manually deleted, 
leading to an unreconstructable mailbox) about a month ago. The solution 
we chose was to export the mailboxes db (ctl_mboxlist -d), delete the 
bogus entries from the textfile, then import it back in.

However, this may not be the Right Way to fix it. In our case the server 
was down anyway (the damaged mailbox had killed an overnight quota check 
and corrupted the quota db), so this "brute force and ignorance" approach 
made sense at the time.

--
Simon Brady mailto:[EMAIL PROTECTED]
ITS Technical Services
University of Otago, Dunedin, New Zealand
 

--

Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]




Re: Deleting records from db

2003-02-26 Thread Sebastian Konstanty Zdrojewski
Hi,

I tried with this:

localhost.localdomain> reconstruct user.mailboxname
reconstruct: Operating System Error
The imapd.log file appended the following line:

Feb 26 16:08:48 nexus imapd[30158]: Reconstructing 
'user.massimiliano_rovatti' (not recursive) for user 'postmaster'

Sorry for boring... I would like to get out of this problem without 
deleting the entire database...

Best regards,

En3pY

Dmitry Alyabyev wrote:

Sebastian Konstanty Zdrojewski wrote:

 

Hello,

I have an annoying problem: my collegue deleted phisically the
directories from the user's directory, so the system, while attempting
to delivery a message to a mailbox returns a "I/O Error". Correct until
here.
I need to remove the entries from the mailbox database, but I can't find
the way. Anybody has an idea?
   

do reconstruct the mailbox

 

--

Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]




Re: cyradm not authenticating

2003-02-26 Thread Sebastian Konstanty Zdrojewski
I had a similar problem at the beginning... try to check your imapd.conf 
file, maybe there is a problem while specifying the uthentication 
method. Here is a sample I am using for test:

sasl_pwcheck_method: saslauthd
mech_list: plain
It works for me. Check also if the libsasl2 is available in the search 
path (ldconf and so on...)

Hope to be helpful! :)

Best Regards

En3pY

Petre Agenbag wrote:

Hi List

I downloaded the latest cyrus-imap and cyrus-sasl sources onto my
RedHat8.0 system.
I built cyrus sasl without any problems and started saslauthd
Then I proceeded to built cyrus-imap with the following configure
commands:
--without-krb --with-auth=unix --with-perl=/usr/bin/perl

Afterwards I moved all the perl modules to the correct locations and
rebuilt my sendmail.cf as per documentation.
MAster starts without any problems.

However, when I try to enter cyradm as follow:
cyradm --auth login localhost --user cyrus
IMAP Password:
Login failed: no mechanism available at
/usr/lib/perl5/5.8.0/Cyrus/IMAP/Admin.pm line 114
cyradm: cannot authenticate to server with login as cyrus
I can however use cyradm to administer a remote server, so it seems
cyradm is working, but my local auth is bunged?
Any ideas or help?





 

--

Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]




Deleting records from db

2003-02-26 Thread Sebastian Konstanty Zdrojewski
Hello,

I have an annoying problem: my collegue deleted phisically the 
directories from the user's directory, so the system, while attempting 
to delivery a message to a mailbox returns a "I/O Error". Correct until 
here.

I need to remove the entries from the mailbox database, but I can't find 
the way. Anybody has an idea?

I am using the following configuration:

   * Cyrus IMAPD 2.1.11
   * Cyrus SASL 2.1.9
   * Berkeley DB 4.1.24
   * Postfix 1.1.12
   * Users are authenticated through LDAP (pam_ldap)
   * Aliases are managed by LDAP
   * Delivery to mailbox made through LMTP
TIA, En3pY

--

Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
FAX +39 02.60.85.70.41
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]



Deleting mailbox

2003-02-24 Thread Sebastian Konstanty Zdrojewski
Hello everybody,

I am experiencing the following trouble: from both cyradm and IMAP I 
cannot delete a mailbox. Phisically I tested the permissions and it is 
everything ok. Anybody can help me? Here is a screenshot of the error:

-- BEGIN ATTACHMENT --

[EMAIL PROTECTED] imap]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK nexus.technomind.it Cyrus IMAP4 v2.1.11 server ready
. login postmaster technoworld
. OK User logged in
. delete sebzdr00
. NO Permission denied
. logout
* BYE LOGOUT received
. OK Completed
Connection closed by foreign host.
-- END ATTACHMENT --

TIA

En3pY

--
Sebastian Konstanty Zdrojewski
IT Analyst
Neticon S.r.l.
via Valtellina, 16 - 20159 Milano
Tel. +39 02 68.80.731
Cell. +39 349.33.04.311
ICQ # 97334916
--
Web: http://www.neticon.it/
E-mail: [EMAIL PROTECTED]