RE: intergrate cyrus and postfix
On Fri, 4 Feb 2005, Kern, Tom wrote: I also keep getting this in my log- Feb 1 14:24:45 mta1 master[19838]: about to exec /usr/lib/cyrus-imapd/lmtpd Feb 2 16:45:39 mta1 master[31396]: about to exec /usr/lib/cyrus-imapd/lmtpd According to cyrus.conf, lmtp is in /var/lib/imap/socket/ and my "mailbox_transport" entry in main.cf reflects this. So, where is postfix getting the above path from? i checked master.cf and my trnasport file and there is no entry like that. The confusion here is that there is both a Cyrus and Postfix "master" process. The one in your logs above is the Cyrus master process exec'ing lmtpd, not Postfix. Andy --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: intergrate cyrus and postfix
On 2005-02-04, Andrzej Adam Filip <[EMAIL PROTECTED]> wrote: > > IMHO you should use LMTP over unix socket instead of deliver program. > > Sample LMTP configuration is provided in "Postfix: The Definitive Guide" > published by O'Reilly (~2 pages). There's also a (still very rudimentary) example here: http://nakedape.cc/info/Cyrus-IMAP-HOWTO/quickstart.html#id2900018 and here: http://nakedape.cc/info/Cyrus-IMAP-HOWTO/quickstart-fedora.html#id2900732 Wil -- Wil Cooley [EMAIL PROTECTED] Naked Ape Consultinghttp://nakedape.cc * * * * Linux, UNIX, Networking and Security Solutions * * * * --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: intergrate cyrus and postfix
tting the above path from? i checked master.cf and my trnasport file and there is no entry like that. this is the contents of my cyrus.conf file- # standard standalone server implementation START { # do not delete this entry! recover cmd="ctl_cyrusdb -r" # this is only necessary if using idled for IMAP IDLE idled cmd="idled" } # UNIX sockets start with a slash and are put into /var/lib/imap/sockets SERVICES { # add or remove based on preferences imap cmd="imapd" listen="imap" prefork=5 imaps cmd="imapd -s" listen="imaps" prefork=1 pop3 cmd="pop3d" listen="pop3" prefork=3 pop3s cmd="pop3d -s" listen="pop3s" prefork=1 sieve cmd="timsieved" listen="sieve" prefork=0 # these are only necessary if receiving/exporting usenet via NNTP # nntp cmd="nntpd" listen="nntp" prefork=3 # nntpscmd="nntpd -s" listen="nntps" prefork=1 # at least one LMTP is required for delivery # lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1 # this is only necessary if using notifications # notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1 } EVENTS { # this is required checkpoint cmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression, # Sieve or NNTP delprune cmd="cyr_expire -E 3" at=0400 # this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" at=0400 > > > > > > > > >> >> >> Kern, Tom wrote: >>> I already have that in main.cf >>> its my understanding that i need the path to the deliver program in >>> master.cf for cyrus to work with postfix. >>> >>> thanks >>> >>> -Original Message- >>> From: Carl P. Corliss [mailto:[EMAIL PROTECTED] >>> Sent: Thursday, February 03, 2005 2:06 PM >>> To: Kern, Tom >>> Subject: Re: intergrate cyrus and postfix >>> >>> >>> try using lmtp as it incurs less overhead than using deliver. In >>> your main.cf use something like: >>> >>> mailbox_transport = lmtp:unix:/var/imap/socket/lmtp >>> or >>> virtual_transport = lmtp:unix:/var/imap/socket/lmtp >>> >>> you'll need to read up on the postfix site to determine exactly >>> which one should should use (a good start would be: >>> http://www.postfix.org/VIRTUAL_README.html). >>> >>> Cheers, >>> >>> -- >>> Carl >>> >> >> --- >> Cyrus Home Page: http://asg.web.cmu.edu/cyrus >> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu >> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: intergrate cyrus and postfix
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kern, Tom wrote: | still trying to intergrate cyru-imap 2.2.10-10 and postfix with no luck. | i keep getting a "command died with status 1: "/cyrus/bin/deliver". | | with my cyrus, the deliver program is in /usr/lib/cyrus-imapd/. | i changed my master.cf to reflect this | | here is my master.cf- | | [...] | # | # The Cyrus deliver program has changed incompatibly, multiple times. | # | #old-cyrus unix - n n - - pipe | # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} | # Cyrus 2.1.5 (Amos Gouaux) | cyrus unix - n n - - pipe | user=cyrus argv=/usr/lib/cyrus-imapd/deliver -r ${sender} -m ${extension} ${user} | [...] | what should i change? | cyrus seems to keep changing and i can't find a doc stating how master.cf should be with cyrus 2.2.10-10. IMHO you should use LMTP over unix socket instead of deliver program. Sample LMTP configuration is provided in "Postfix: The Definitive Guide" published by O'Reilly (~2 pages). - -- Andrzej [en:Andrew] Adam Filip [EMAIL PROTECTED] [EMAIL PROTECTED] Home Page http://anfi.homeunix.net/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCA8XHyOtLQUuVK/MRAn0eAJ9+M5cxPA1Yaod+xdLWazHXfdio6ACg5j01 OUqT0jxDbAjjJVCpgfz5GSc= =FkPo -END PGP SIGNATURE- --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: intergrate cyrus and postfix
Carl P. Corliss wrote: > You already know this to be untrue - as posted by Magnus Bäck on > the postfix-users mailing list (to your exact same question there), > you only need deliver if that's the method in which you want to have > messages passed off to cyrus. > > The people over on postfix-users mailing list have also already > explained that you should be using LMTP (not cyrus' deliver). Perhaps > it might be a good idea to read the README.postfix.gz that Hans Van > Kranenburg was kind enough to send you. Might also be a good idea to > follow his suggestions in his most recent posting on the > postfix-users mailing list - or those of Magnus Bäck and Matt, etc. > > Also, I still haven't seen you post a link to any logs with > errors that you recv (both here or on the postfix-users mailing > list)... When i run a search of an email sent to an imap mailbox address([EMAIL PROTECTED]), this is what I get- Feb 4 10:55:21 mta1 postfix/smtpd[24927]: < mta1.charmer.com[127.0.0.1]: rcpt to: [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: extract_addr: input: [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: smtpd_check_addr: [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: send attr address = [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: input attribute value: [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: rewrite_clnt: canonicalize: [EMAIL PROTECTED] -> [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: send attr address = [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: input attribute value: [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: resolve_clnt: [EMAIL PROTECTED]' -> transp=`local' host=`sales.charmer.com' [EMAIL PROTECTED]' flags= class=local Feb 4 10:55:21 mta1 postfix/smtpd[24927]: ctable_locate: install entry key [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: extract_addr: result: [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: reject_unauth_destination: [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: permit_auth_destination: [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: ctable_locate: leave existing entry key [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: ctable_locate: leave existing entry key [EMAIL PROTECTED] Feb 4 10:55:21 mta1 postfix/smtpd[24927]: maps_find: recipient_canonical_maps: [EMAIL PROTECTED]: not found Feb 4 10:55:21 mta1 postfix/smtpd[24927]: mail_addr_find: [EMAIL PROTECTED] -> (not found) Feb 4 10:55:21 mta1 postfix/smtpd[24927]: maps_find: canonical_maps: [EMAIL PROTECTED]: not found Feb 4 10:55:21 mta1 postfix/smtpd[24927]: mail_addr_find: [EMAIL PROTECTED] -> (not found) Feb 4 10:55:21 mta1 postfix/smtpd[24927]: maps_find: virtual_alias_maps: [EMAIL PROTECTED]: not found Feb 4 10:55:21 mta1 postfix/smtpd[24927]: mail_addr_find: [EMAIL PROTECTED] -> (not found) Feb 4 15:55:31 mta1 amavis[25877]: (25877-10) ESMTP::10024 /var/amavis/amavis-20050204T155213-25877: <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]> Received: SIZE=367 from mta1.charmer.com ([127.0.0.1]) by localhost (mta1.charmer.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25877-10 for <[EMAIL PROTECTED]>; Fri, 4 Feb 2005 15:55:31 + (UTC) Feb 4 15:55:31 mta1 amavis[25877]: (25877-10) Checking: <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]> Feb 4 15:55:35 mta1 amavis[25877]: (25877-10) FWD via SMTP: [127.0.0.1]:10025 <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]> Feb 4 15:55:35 mta1 amavis[25877]: (25877-10) Passed, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Message-ID: <[EMAIL PROTECTED]>, Hits: 1.676 Feb 4 10:55:35 mta1 postfix/smtp[24612]: 26CC928497A: to=<[EMAIL PROTECTED]>, relay=localhost[127.0.0.1], delay=26, status=sent (250 2.6.0 Ok, id=25877-10, from MTA: 250 Ok: queued as 68A1028498F) Feb 4 11:07:40 mta1 postfix/smtpd[24927]: ctable_locate: purge entry key [EMAIL PROTECTED] what else should i be looking for? thanks > > > Kern, Tom wrote: >> I already have that in main.cf >> its my understanding that i need the path to the deliver program in >> master.cf for cyrus to work with postfix. >> >> thanks >> >> -Original Message- >> From: Carl P. Corliss [mailto:[EMAIL PROTECTED] >> Sent: Thursday, February 03, 2005 2:06 PM >> To: Kern, Tom >> Subject: Re: intergrate cyrus and postfix >> >> >> try using lmtp as it incurs less overhead than using deliver. In >> your main.cf >> use something like: >> >> mailbox_transport = lmtp:unix:/var/imap/socket/lmtp >> or >> virtual_transport = lmtp:unix:/var/imap/socket/lmtp >> >> you'll nee
Re: intergrate cyrus and postfix
You already know this to be untrue - as posted by Magnus Bäck on the postfix-users mailing list (to your exact same question there), you only need deliver if that's the method in which you want to have messages passed off to cyrus. The people over on postfix-users mailing list have also already explained that you should be using LMTP (not cyrus' deliver). Perhaps it might be a good idea to read the README.postfix.gz that Hans Van Kranenburg was kind enough to send you. Might also be a good idea to follow his suggestions in his most recent posting on the postfix-users mailing list - or those of Magnus Bäck and Matt, etc. Also, I still haven't seen you post a link to any logs with errors that you recv (both here or on the postfix-users mailing list)... -- Carl Kern, Tom wrote: I already have that in main.cf its my understanding that i need the path to the deliver program in master.cf for cyrus to work with postfix. thanks -Original Message- From: Carl P. Corliss [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 2:06 PM To: Kern, Tom Subject: Re: intergrate cyrus and postfix try using lmtp as it incurs less overhead than using deliver. In your main.cf use something like: mailbox_transport = lmtp:unix:/var/imap/socket/lmtp or virtual_transport = lmtp:unix:/var/imap/socket/lmtp you'll need to read up on the postfix site to determine exactly which one should should use (a good start would be: http://www.postfix.org/VIRTUAL_README.html). Cheers, -- Carl --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: intergrate cyrus and postfix
I already have that in main.cf its my understanding that i need the path to the deliver program in master.cf for cyrus to work with postfix. thanks -Original Message- From: Carl P. Corliss [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 2:06 PM To: Kern, Tom Subject: Re: intergrate cyrus and postfix try using lmtp as it incurs less overhead than using deliver. In your main.cf use something like: mailbox_transport = lmtp:unix:/var/imap/socket/lmtp or virtual_transport = lmtp:unix:/var/imap/socket/lmtp you'll need to read up on the postfix site to determine exactly which one should should use (a good start would be: http://www.postfix.org/VIRTUAL_README.html). Cheers, -- Carl --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
intergrate cyrus and postfix
still trying to intergrate cyru-imap 2.2.10-10 and postfix with no luck. i keep getting a "command died with status 1: "/cyrus/bin/deliver". with my cyrus, the deliver program is in /usr/lib/cyrus-imapd/. i changed my master.cf to reflect this here is my master.cf- # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # == smtp inet n - n - - smtpd -v #628 inet n - y - - qmqpd pickupfifo n - y 60 1 pickup cleanup unix n - y - 0 cleanup qmgr fifo n - y 300 1 qmgr #qmgr fifo n - y 300 1 nqmgr rewrite unix - - y - - trivial-rewrite bounceunix - - y - 0 bounce defer unix - - y - 0 bounce flush unix n - y 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - n - - smtp relay unix - - y - - smtp # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - y - - showq error unix - - y - - error local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp -v smtp-amavis unix- - y - 10 smtp -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes 127.0.0.1:10025 inetn - y - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipirnt_maps= -o smtpd_restriction_classes= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # maildrop. See the Postfix MAILDROP_README file for details. # maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} # # The Cyrus deliver program has changed incompatibly, multiple times. # #old-cyrus unix - n n - - pipe # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} # Cyrus 2.1.5 (Amos Gouaux) cyrus unix - n n - - pipe user=cyrus argv=/usr/lib/cyrus-imapd/deliver -r ${sender} -m ${extension} ${user} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmailunix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient trace unix - - n - 0 bounce verifyunix - - n - 1 verify what should i change? cyrus seems to keep changing and i can't find a doc stating how master.cf should be with cyrus 2.2.10-10. thanks --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html