intergrate cyrus and postfix

Kern, Tom tkern at CHARMER.COM
Fri Feb 4 11:58:57 EST 2005


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(tkern at sales.charmer.com), this is what I get-


Feb  4 10:55:21 mta1 postfix/smtpd[24927]: < mta1.charmer.com[127.0.0.1]: rcpt to: tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: extract_addr: input: tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: smtpd_check_addr: addr=tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: send attr address = tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: input attribute value: tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: rewrite_clnt: canonicalize: tkern at sales.charmer.com -> tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: send attr address = tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: input attribute value: tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: resolve_clnt: `tkern at sales.charmer.com' -> transp=`local' host=`sales.charmer.com' rcpt=`tkern at sales.charmer.com' flags= class=local
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: ctable_locate: install entry key tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: extract_addr: result: tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: reject_unauth_destination: tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: permit_auth_destination: tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: ctable_locate: leave existing entry key tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: ctable_locate: leave existing entry key tkern at sales.charmer.com
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: maps_find: recipient_canonical_maps: tkern at sales.charmer.com: not found
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: mail_addr_find: tkern at sales.charmer.com -> (not found)
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: maps_find: canonical_maps: tkern at sales.charmer.com: not found
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: mail_addr_find: tkern at sales.charmer.com -> (not found)
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: maps_find: virtual_alias_maps: tkern at sales.charmer.com: not found
Feb  4 10:55:21 mta1 postfix/smtpd[24927]: mail_addr_find: tkern at sales.charmer.com -> (not found)
Feb  4 15:55:31 mta1 amavis[25877]: (25877-10) ESMTP::10024 /var/amavis/amavis-20050204T155213-25877: <tkern at charmer.com> -> <tkern at sales.charmer.com> 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 <tkern at sales.charmer.com>; Fri,  4 Feb 2005 15:55:31 +0000 (UTC)
Feb  4 15:55:31 mta1 amavis[25877]: (25877-10) Checking: <tkern at charmer.com> -> <tkern at sales.charmer.com>
Feb  4 15:55:35 mta1 amavis[25877]: (25877-10) FWD via SMTP: [127.0.0.1]:10025 <tkern at charmer.com> -> <tkern at sales.charmer.com>
Feb  4 15:55:35 mta1 amavis[25877]: (25877-10) Passed, <tkern at charmer.com> -> <tkern at sales.charmer.com>, Message-ID: <20050204155509.26CC928497A at mta1.charmer.com>, Hits: 1.676
Feb  4 10:55:35 mta1 postfix/smtp[24612]: 26CC928497A: to=<tkern at sales.charmer.com>, 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 tkern at sales.charmer.com


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:rabbitt at xaraya.com]
>> 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





More information about the Info-cyrus mailing list