postfix + cyrus-imap
Simon Matter
simon.matter at ch.sauter-bc.com
Tue Oct 25 10:12:40 EDT 2005
> I found nothing in the maillog that could help me figure out how the
> incoming mails are handled.
>
> Here are my configuration files (imapd.conf, cyrus.conf and master.cf)
>
> imapd.conf
>
> configdirectory:/var/imap
> partition-default:/var/spool/imap
> admins: cyrus
> sievedir: var/imap/sieve
> sasl_pwcheck_method: saslauthd
> sendmail: /usr/sbin/sendmail.postfix
> hashimapspool: false
> unixhierarchysep: yes
> altnamespace: yes
> duplicate_db: skiplist
> tlscache_db: skiplist
> sasl_mech_list: PLAIN
> sievenotifier: mailto
>
> cyrus.conf
>
> # 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/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
>
> # LMTP is required for delivery
> lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1
>
> # this is only necessary if using notifications
> notify cmd="notifyd" listen="/var/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
> delprune cmd="ctl_deliver -E 3" at=0400
>
> # this is only necessary if caching TLS sessions
> tlsprune cmd="tls_prune" at=0400
> }
>
> 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)
> # Also specify in main.cf: cyrus_destination_recipient_limit=1
> cyrus unix - n n - - pipe
> user=cyrus argv=/usr/cyrus/bin/deliver -e -r ${sender} -m ${extension}
> ${user}
1) Your configs don't show us enough, at least they don't really show us
how your mail gets delivered.
2) Don't use any of the cyrus transports, they are legacy methods.
3) To use lmtp transport, put something like this in main.cf:
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
Regards,
Simon
>
>
> -----Original Message-----
> From: info-cyrus-bounces at lists.andrew.cmu.edu
> [mailto:info-cyrus-bounces at lists.andrew.cmu.edu] On Behalf Of Craig
> White
> Sent: 24 octobre, 2005 10:18
> To: info-cyrus at lists.andrew.cmu.edu
> Subject: Re: postfix + cyrus-imap
>
> On Mon, 2005-10-24 at 09:20 -0400, Wadner Cadet wrote:
>> Hi,
>>
>> I am new to cyrus and postfix. I just installed them on my box.
>> Everything seems to be correct (postfix and cyrus are working). The
>> problem is the users don't receive any mail, even locally (from a user
>> to himself). Can it be a postfix problem that doesn't deliver the
> emails
>> to cyrus? When I checked the users'mail directory in cyrus, I only
> found
>> cyrus.cache, cyrus.header and cyrus.index. There is no INBOX.
>>
>> Thank you for your help
> ----
>
> - users' mail directory is INBOX
>
> - did you make the necessary changes to postfix/master.cf to reflect
> lmtp delivery?
>
> I have this...
> lmtp unix - - n - - lmtp
>
> and
> cyrus unix - n n - - pipe
> user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m
> ${extension} ${user}
> (2 lines)
>
> what about your maillog - what does it say about handling incoming mail?
>
> Craig
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> ----
> 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
>
>
More information about the Info-cyrus
mailing list