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
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/mastercf 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
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
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 mastercf that accompanies postfix 113 (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/mastercf 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
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: 21? Regards, Olaf Fraczyk
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 DB4014, SASL211, Postfix114 and IMAPD212 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 libcyrusa(cyrusdb_db3o), 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 configlog to get an idea It showed up, that even I explicitely specified the DB40 directory for --with-dbdir, the configure routine line 1919 was not satisfied herewith, and ran all the version numbers from 40 descending, untill it finally found at match at 31 I do have a DB31 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 4014 is in /usr/local/BerkeleyDB40 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-40 ${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: [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.
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/ --/
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 2016 (and cyrus-sasl 1527, both with the berkeley db 31) on my redhat 61 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 127001 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://explorermsncom/intlasp;
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/inetdconf 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 33 s It needs a sleep of about 04 seconds between each execution of cyradm to success cyradm: creating the mailbox 'INBOXMLdevmodpythonarchiveY2001M10' cyradm: creating the mailbox 'INBOXMLdevmodpythonarchiveY2001M11' cyradm: creating the mailbox 'INBOXMLdevmodpythonarchiveY2001M12' cyradm: creating the mailbox 'INBOXMLdevmodpythonarchiveY2002' cyradm error: Command: eval cyr_conn createmailbox INBOXMLdevmodpythonarchiveY2002 Error: authentication failed server connection closed nmap shows that the imap2 port is unavailable: Starting nmap V 254BETA30 ( wwwinsecureorg/nmap/ ) sendto in send_tcp_raw: sendto(3, packet, 40, 0, 127001, 16) = Operation not permitted Interesting ports on localhost (127001): (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/initd/inetd restart Restarting internet superserver: inetd 00:07:29 root ~ #nmap 127001 Starting nmap V 254BETA30 ( wwwinsecureorg/nmap/ ) sendto in send_tcp_raw: sendto(3, packet, 40, 0, 127001, 16) = Operation not permitted Interesting ports on localhost (127001): (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
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: 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: 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/ --/