LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-11-2005, 12:03 AM   #1
kernelvn
Member
 
Registered: Aug 2004
Posts: 91

Rep: Reputation: 15
postfix & cyrus IMAP config


I would like to config postfix work with cyrus IMAP ( ofcause all needed packages was installed ) , so in my main.cf I tried :
Quote:
mailbox_transport = cyrus
in the /etc/cyrus-imap/ I edited the imapd.conf as :


Quote:
# server conf
umask: 077
autocreatequota: 0
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
singleinstancestore: yes
sieve_maxscriptsize: 64
sieve_maxscripts: 5

# user conf
postmaster: postmaster
admins: cyrus

# directory and file locations
configdirectory: /var/spool/cyrus-imap
partition-default: /var/spool/cyrus-imap
sievedir: /var/spool/cyrus-imap/sieve
sendmail: /usr/sbin/sendmail

# authentication
allowanonymouslogin: no
allowplaintext: yes
sasl_minimum_layer: 0

# Consult the documentation if you wonder how to configure
# different authentication methods.
# If you leave the following line alone, cyrus will try to
# authenticate using sasldb.

sasl_pwcheck_method: saslauthd
the cyrus.conf :
Quote:
# 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/spool/cyrus-imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
# 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/spool/cyrus-imap/socket
SERVICES {
# add or remove based on preferences

imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0

# at least one LMTP is required for delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/var/spool/cyrus-imap/socket/lmtp" prefork=0

# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/spool/cyrus-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
}
I've add a acount
Quote:
root@postfix /etc/cyrus-imapd# saslpasswd2 -c cvkhanh
Password:
Again (for verification):
root@postfix /etc/cyrus-imapd# cyradm --user cvkhanh --server localhost --auth plain
Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i586-linux-thread-multi /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl .).
BEGIN failed--compilation aborted.
root@postfix /etc/cyrus-imapd#
but the error showed as you see . I could not find out the full tutorial about intergrate postfix and cyrus , if you have an idea or have some good link , please help me !!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix & cyrus-imap on redhat Enterprise 4 kernelvn Red Hat 0 07-23-2005 06:50 AM
Postfix problem (also using Cyrus IMAP) newtommy Linux - Software 4 02-10-2005 03:40 PM
Cyrus IMAP/Postfix novaprime Linux - Networking 0 01-19-2005 03:28 AM
Mail Server: Cyrus IMAP/Postfix novaprime Linux - Software 1 01-17-2005 12:29 PM
postfix and cyrus-imap Keo-Ken Linux - Newbie 1 07-25-2004 06:27 AM


All times are GMT -5. The time now is 08:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration