RE: Cyrus-Imapd-2.0.16 doesn´t work with aliases or virtusertable??
Hi Marcelo: I have the same scenario than you... And it works fine. Try to put in virtusertable user1@domain instead of user1 only. It works for me. (I mean: [EMAIL PROTECTED][EMAIL PROTECTED]) And don't forget to "makemap" the virtusertable file !! Hope this helps. Regards- Enric > -Mensaje original- > De: Marcelo Maraboli [mailto:[EMAIL PROTECTED]] > Enviado el: lunes, 04 de marzo de 2002 21:19 > Para: cyrus > Asunto: Cyrus-Imapd-2.0.16 doesn´t work with aliases or > virtusertable?? > > > Hello folks. > > I have Cyrus-Imapd-2.0.16 working with sendmail-8.12.2 with one > problem > > - I send an email to the server and it does not recognize the > /etc/mail/aliases entries unless the user has a valid cyrus account!!! > > Then how am I supposed to re-direct email to another domain for a > specific user..?? > > i.e. in /etc/mail/aliases > user1 [EMAIL PROTECTED] > > the same thing happens in /etc/mail/virtusertable...etc. > > any clues? > -- > Marcelo Maraboli Rosselott > Ingeniero Civil ElectronicoJefe Area de Redes > (Electronic Civil Engineer) (Head Network & Systems Admin) > >Direccion Central de Servicios Computacionales (DCSC) > Universidad Tecnica Federico Santa Maria, Chile. > mailto:[EMAIL PROTECTED] http://elqui.dcsc.utfsm.cl/ > --/ >
RE: imapd unavailable when a lot of connections are started from inetd
Darren, I had the same behavior some weeks ago. When the server had 500 imapd processes it hanged and it didn't response until the cyrus server was restarted... my problem was related to the number of open files that the system was treating. I don't know if this is the same problem, but try to increase this... in my case, I have /proc/sys/fs/file-max setted to 100. Try to do: echo 100 > /proc/sys/fs/file-max and cross your fingers :-) P.D: I use 100 due to the server we are using has a huge utilization... perhaps you will need to increase /proc/sys/fs/file-max to a lower number. In this way I'm able to have, without further problems, 1500-2000 imapd processes and the server responds perfectly. I hope this solves your issue. Regards. Enric > -Mensaje original- > De: Darren Nickerson [mailto:[EMAIL PROTECTED]] > Enviado el: martes, 05 de marzo de 2002 1:53 > Para: Alain Tesio > CC: cyrus > Asunto: Re: imapd unavailable when a lot of connections are > started from > inetd > > > > > On Tue, 5 Mar 2002, "Alain" == Alain Tesio wrote: > > Alain> Hello, > > Alain> When I make a lot of connections with cyradm in a > row, the connection > Alain> fails after processing some of them, I don't know > where this limit > Alain> comes from, the problem is that the imap server is > definitely not > Alain> available, see details below. > > Alain> Is it a known behaviour when imapd is started from > inetd, do you > Alain> consider this as a vulnerability to a DOS attack ? > > From the inetd man page: > > The optional ``max'' suffix (separated from ``wait'' or > ``nowait'' by > a dot) specifies the maximum number of server instances > that may be > spawned from inetd within an interval of 60 seconds. > When omitted, ``max'' > defaults to 40. > > -d > > >
Re: Want sieve but don't want delivery duplicate supression
Can't you see if it's to you, and do a keep? Quoting Olaf Fraczyk <[EMAIL PROTECTED]>, who wrote: > Hi, > > Any hope to get it working? It makes trouble, especially with mailing > lists. > Eg. somebody posted mail to group1,group2, and to me. > In result I see only one message. > But I have filter in sieve, so it sorts mail into different folders. > So in my inbox is no message, only in folder for group1. > As I don't have time to look for messages in group1, I would like to have > it in my inbox, so I know that somebody posted a message to me, and I have > to reply on it. > Will it be possible in next imapd version: 2.1? > > Regards, > > Olaf Fraczyk > > -- Sam Roberts <[EMAIL PROTECTED]> (Vivez sans temps mort!)
Re: imapd unavailable when a lot of connections are started from inetd
> On Tue, 5 Mar 2002, "Alain" == Alain Tesio wrote: Alain> Hello, Alain> When I make a lot of connections with cyradm in a row, the connection Alain> fails after processing some of them, I don't know where this limit Alain> comes from, the problem is that the imap server is definitely not Alain> available, see details below. Alain> Is it a known behaviour when imapd is started from inetd, do you Alain> consider this as a vulnerability to a DOS attack ? >From the inetd man page: The optional ``max'' suffix (separated from ``wait'' or ``nowait'' by a dot) specifies the maximum number of server instances that may be spawned from inetd within an interval of 60 seconds. When omitted, ``max'' defaults to 40. -d
imapd unavailable when a lot of connections are started from inetd
Hello, When I make a lot of connections with cyradm in a row, the connection fails after processing some of them, I don't know where this limit comes from, the problem is that the imap server is definitely not available, see details below. Is it a known behaviour when imapd is started from inetd, do you consider this as a vulnerability to a DOS attack ? Alain The line in /etc/inetd.conf is: imap2 stream tcp nowait cyrus /usr/sbin/tcpd \ /usr/sbin/imapd >From a python script which launches cyradm feeded with a tcl script trough a pipe. It fails to connect after 76 connections in 3.3 s. It needs a sleep of about 0.4 seconds between each execution of cyradm to success. cyradm: creating the mailbox 'INBOX.ML.dev.modpython.archive.Y2001.M10' cyradm: creating the mailbox 'INBOX.ML.dev.modpython.archive.Y2001.M11' cyradm: creating the mailbox 'INBOX.ML.dev.modpython.archive.Y2001.M12' cyradm: creating the mailbox 'INBOX.ML.dev.modpython.archive.Y2002' cyradm error: Command: eval cyr_conn createmailbox "INBOX.ML.dev.modpython.archive.Y2002" Error: authentication failed server connection closed nmap shows that the imap2 port is unavailable: Starting nmap V. 2.54BETA30 ( www.insecure.org/nmap/ ) sendto in send_tcp_raw: sendto(3, packet, 40, 0, 127.0.0.1, 16) => Operation not permitted Interesting ports on localhost (127.0.0.1): (The 1543 ports scanned but not shown below are in state: closed) Port State Service 25/tcp opensmtp 53/tcp opendomain 80/tcp openhttp 515/tcpopenprinter 631/tcpopencups 953/tcpopenrndc Nmap run completed -- 1 IP address (1 host up) scanned in 0 seconds when I restart inetd it works again. If I wait for some time it works again after some minutes. 00:07:16 root ~ #/etc/init.d/inetd restart Restarting internet superserver: inetd. 00:07:29 root ~ #nmap 127.0.0.1 Starting nmap V. 2.54BETA30 ( www.insecure.org/nmap/ ) sendto in send_tcp_raw: sendto(3, packet, 40, 0, 127.0.0.1, 16) => Operation not permitted Interesting ports on localhost (127.0.0.1): (The 1542 ports scanned but not shown below are in state: closed) Port State Service 25/tcp opensmtp 53/tcp opendomain 80/tcp openhttp 143/tcpopenimap2 515/tcpopenprinter 631/tcpopencups 953/tcpopenrndc Nmap run completed -- 1 IP address (1 host up) scanned in 0 seconds
cyrus hangs when trying to connect (new install)
Howdy, I've searched forever int he archives and on the web for this, and can't find a clue that helps: I just installed Cyrus-imap 2.0.16 (and cyrus-sasl 1.5.27, both with the berkeley db 3.1) on my redhat 6.1 server, and I am pretty positive I followed the HOWTO to the letter, but now when I try to telnet in, it just hangs after the escape character prompt. Like so: $ telnet localhost imap Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. I can't even begin to figure out what might be causing this, the only hint in the archives said that if sasl is configured with a different version of the berkeley db that imap, then you can get this error, but I recompiled sasl to make sure and still nothing. Any help would be loved, thanks! rog. _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.;
Cyrus-Imapd-2.0.16 doesn´t work with aliases or virtusertable??
Hello folks. I have Cyrus-Imapd-2.0.16 working with sendmail-8.12.2 with one problem - I send an email to the server and it does not recognize the /etc/mail/aliases entries unless the user has a valid cyrus account!!! Then how am I supposed to re-direct email to another domain for a specific user..?? i.e. in /etc/mail/aliases user1 [EMAIL PROTECTED] the same thing happens in /etc/mail/virtusertable...etc. any clues? -- Marcelo Maraboli Rosselott Ingeniero Civil Electronico Jefe Area de Redes (Electronic Civil Engineer) (Head Network & Systems Admin) Direccion Central de Servicios Computacionales (DCSC) Universidad Tecnica Federico Santa Maria, Chile. mailto:[EMAIL PROTECTED] http://elqui.dcsc.utfsm.cl/ --/
Re: [Postfix & cyrus]
Manou Rabary <[EMAIL PROTECTED]> wrote: > Hi all, > I use cyrus imap with postfix. > I saw in a documentation ;-) how to use postfix to transport mail: According to the documentatoin of postfix, cyrus has changed so much that the deliver program (installed under /usr/cyrus/bin/deliver) is no longer compatible. Change default_transport: cyrus to commented out value, then add mailbox_transport: lmtpd. This worked for me. Best Regards, E.M. Recio << http://polywog.navpoint.com >> Inherent in every intention and desire is the mechanics for its fulfillment... intention and desire in the field of pure potentiality have infinite organizing power. And when we introduce an intention in the fertile ground of pure potentiality, we put this infinite organizing power to work for us.
Cannot compile 2.1.2 with DB4.0.14
Hi all.. To make myself a fresh start, I decided to take off with all the latest stuff for my mailserver, so I downloaded DB.4.0.14, SASL.2.1.1, Postfix.1.1.4 and IMAPD.2.1.2. The first 3 installed with no problems. With IMAPD, configure and make depend runs OK. When I get to make all CFLAGS=-O, I ran into troubles when linking the imapd. The errors occus in libcyrus.a(cyrusdb_db3.o), where various functions (init, done, myopen etc) reports undefined reference to 'db__4000' where is version, env_create, strerror and create. This obviously having something to do with DB, I looked at config.log to get an idea. It showed up, that even I explicitely specified the DB4.0 directory for --with-dbdir, the configure routine line 1919 was not satisfied herewith, and ran all the version numbers from 4.0 descending, untill it finally found at match at 3.1. I do have a DB3.1 on the box too, being used for other purposed, so I am somewhat reluctant to get rid of that, but to the best of my knowledge, the 2 DB's can coexist. The 4.0.14 is in /usr/local/BerkeleyDB.4.0. I spent the better part of a weekend studying configure, and got a feeling, that the problems lays aruond statement 1950 if eval "test \"'echo '$ac_cv_lib_'. but regret to say, that I am unable to figure out what it is doing - though I have been programming assembler and C for many years, my knowledge of Linux scripting language is very limited. If someone has the patience to explain that statement to me, maybe I could help out myself another time. Anyway, in a deparate and probably not very clever, attempt to get on, I tried to modify a following statement, line 1956, to read LIBS=" -ldb-4.0 ${LIBS}" to force configure to take interest in DB4. It rsulted in almost the same problem at the same spot, althoug the suffix "_4000" now no more occurred in the undefined referenced. I have the feeling, I am missing something serious - can anyone please help me out ? Any help highly appreciated - TNX in advance Regards Joern W. Andersen ICCC Copenhagen
Re: RECENT/SEEN flags
> On Wed, 27 Feb 2002 09:39:42 -0700, > Alec H Peterson <[EMAIL PROTECTED]> (ahp) writes: ahp> OK, so I've been poking my way through the code a little more, and ahp> found the database refresh routine (lib/cyrusdb_flat.c, ahp> map_refresh()). Is there some reason why the file size is the ahp> conditional for refreshing the database instead of the actual file ahp> modification time? It seems to me that would address this problem ahp> rather nicely. I wonder if this issue would resolve itself if skiplist was used as the backend for seen.db instead of flat. -- Amos
Want sieve but don't want delivery duplicate supression
Hi, Any hope to get it working? It makes trouble, especially with mailing lists. Eg. somebody posted mail to group1,group2, and to me. In result I see only one message. But I have filter in sieve, so it sorts mail into different folders. So in my inbox is no message, only in folder for group1. As I don't have time to look for messages in group1, I would like to have it in my inbox, so I know that somebody posted a message to me, and I have to reply on it. Will it be possible in next imapd version: 2.1? Regards, Olaf Fraczyk
signal 11 - it was really the kernel
Hi, I have spent two days to get cyrus-imapd working. I have tried everything, but I was getting signal 11, from 1 to 5 per hour, so it was impossible to use it. After searching I found in faq, that it could be caused by kernel 2.4.17. So I moved to 2.4.18, and ..., it works now 6 hours with no problems. As it was rather hard to find it, it would be nice, if included on main cyrus-imapd page, or at least in: Installation Frequently Asked Questions or Linux Cyrus HOWTO Thanks to that guy, who found it! Regards, Olaf Fr?czyk
Re: Postfix & cyrus
Steve Wright wrote: > > cyrdeliver does not exists. > The documentation was written for an earlier version of cyrus. > > cyrus unix - n n - - pipe > flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m ${extension} ${user} > > is working fine on one of my servers. > > Strangely the default master.cf that accompanies postfix 1.1.3 (latest > stable) is also incorrect. :( > > Steve. > > On Monday 04 March 2002 13:28, you wrote: > > > I saw in a documentation ;-) how to use postfix to transport mail: > > insert in /etc/postfix/master.cf the following line: > > cyrus unix - n n - - pipe > > flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} > > ${user} > > > > But I can't locate cyrdeliver. Tanks a lot, it works well now. Manou
Re: Postfix & cyrus
cyrdeliver does not exists. The documentation was written for an earlier version of cyrus. cyrus unix - n n - - pipe flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m ${extension} ${user} is working fine on one of my servers. Strangely the default master.cf that accompanies postfix 1.1.3 (latest stable) is also incorrect. :( Steve. On Monday 04 March 2002 13:28, you wrote: > I saw in a documentation ;-) how to use postfix to transport mail: > insert in /etc/postfix/master.cf the following line: > cyrus unix - n n - - pipe > flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} > ${user} > > But I can't locate cyrdeliver.
Re: Postfix & cyrus
Your master.cf file should actually have an entry like the following: cyrus unix - n n - - pipe flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m ${extension} ${user} cyrdeliver has been deprecated in favor of deliver. -- =G= -=* I'm sorry if doing things correctly offends you. *=- Manou Rabary wrote: > Hi all, > I use cyrus imap with postfix. > I saw in a documentation ;-) how to use postfix to transport mail: > > insert in /etc/postfix/master.cf the following line: > > > cyrus unix - n n - - pipe > flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} > ${user} > > But I can't locate cyrdeliver. > > In /var/log/mail.log, I have: > > Mar 4 16:20:38 rajako pipe[15758]: fatal: pipe_comand: execvp > /usr/sbin/cyrdeliver: No such file or directory > Mar 4 16:20:39 rajako postfix/pipe[15757]: 335C4C604: > to=<[EMAIL PROTECTED]>, relay=cyrus, delay=3, status=bounced > (Command died with status 1: "/usr/sbin/cyrdeliver") > > > How can I solve the problem? What file to use instead of cyrdeliver? > > Thanx in advance > Manou >
Re: Postfix & cyrus
On Mon, 2002-03-04 at 13:28, Manou Rabary wrote: Hi all, I use cyrus imap with postfix. I saw in a documentation ;-) how to use postfix to transport mail: insert in /etc/postfix/master.cf the following line: cyrus unix - n n - - pipe flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user} But I can't locate cyrdeliver. What version of Cyrus are you using ( find // -name cyrdeliver ) Although I thought to was called deliver but prehaps cyrus deliver and shouldnt you use LMTP instead ? (if the version of cyrus supports) -- Simon
Postfix & cyrus
Hi all, I use cyrus imap with postfix. I saw in a documentation ;-) how to use postfix to transport mail: insert in /etc/postfix/master.cf the following line: cyrus unix - n n - - pipe flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user} But I can't locate cyrdeliver. In /var/log/mail.log, I have: Mar 4 16:20:38 rajako pipe[15758]: fatal: pipe_comand: execvp /usr/sbin/cyrdeliver: No such file or directory Mar 4 16:20:39 rajako postfix/pipe[15757]: 335C4C604: to=<[EMAIL PROTECTED]>, relay=cyrus, delay=3, status=bounced (Command died with status 1: "/usr/sbin/cyrdeliver") How can I solve the problem? What file to use instead of cyrdeliver? Thanx in advance Manou