That's the one thing I just realized, I forgot to add with my original email, the php.ini settings. Here are the relevant settings: include_path = ".:/usr/local/lib/php:/pear/lib:/usr/local/include/php # There is no /usr/share/php directory
[Session]
session.save_handler = files
session.save_path = "/tmp"
session.use_cookies = 1
; session.use_only_cookies = 1
session.name =
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor     = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = 0
session.bug_compat_warn = 1
session.referer_check =
session.entropy_file =
session.entropy_length = 16
;session.entropy_file = /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 1

I saw some stuff when I googled previous errors (with the DB.php not being found in the include directory), so for those who experienced the same issue, here is what is installed with pear:
[EMAIL PROTECTED] pear list
Installed packages:
===================
Package              Version State
Archive_Tar          1.1     stable
Auth                 1.2.3   stable
Auth_HTTP            2.1.6   stable
Auth_SASL            1.0.1   stable
Cache_Lite           1.5.2   stable
Console_Getopt       1.2     stable
Crypt_Blowfish       1.0.1   stable
Crypt_RSA            1.0.0   stable
DB                   1.7.6   stable
DBA                  1.1     stable
DB_DataObject        1.7.15  stable
DB_QueryTool         1.0.1   stable
DB_Table             1.2.1   stable
Date                 1.4.6   stable
File                 1.2.2   stable
File_Archive         1.5.3   stable
File_Find            1.2.0   stable
HTML_BBCodeParser    1.1     stable
HTML_Common          1.2.2   stable
HTML_QuickForm       3.2.5   stable
HTML_Template_IT     1.1     stable
Image_Color          1.0.2   stable
Log                  1.9.2   stable
MIME_Type            1.0.0   stable
Mail                 1.1.9   stable
Mail_Mime            1.3.1   stable
Net_SMTP             1.2.7   stable
Net_Socket           1.0.6   stable
Net_UserAgent_Detect 2.0.1   stable
PEAR                 1.3.5   stable
XML_RPC              1.3.1   stable

Pear has the following install settings:
/pear/docs
/pear/ext
/pear/lib
/pear/data
/pear/tests
/pear/cache
/pear/bin
Hence the /pear/lib entry in the php.ini include_path setting.



[EMAIL PROTECTED] wrote:

Hi,

Try the following:
IN THE /etc/php.ini (add include_path variable):
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

include_path = ".:/php/includes:/usr/share/php"

Regards,
Leon Kolchinsky

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jared Griffith
Sent: Wednesday, November 30, 2005 5:19 AM
To: [email protected]
Subject: [Web-cyradm] Web-Cyradm Issues

Hello,
I am currently having an issue with Web-Cyradm. I am using the following setup: postfix with pgsql and sasl2 support and cyrus imapd. The issue is as follows, when trying to log into the web interface, upon entering the correct username and password and clicking on the submit button, the page just refreshes, and comes back to the same screen with no username or password in the fields.
Here is where it is wierd.....
There are no errors in any of the log files, the web-cyradm-login.log file 
shows the POST, but does not show any errors.
Here are the specifics of the set up:
Machine - dual opteron amd box
OS - Free BSD 6.0
Software packages:
   apache 1.3.34 (built from source)
   php 4.4.0 (built from source)
Following packages installed from ports:
   cyrus-imapd-2.2.12_1
   cyrus-sasl-2.1.21
   cyrus-sasl-saslauthd-2.1.21
   postfix-2.3.20050726,2
   postgresql-server-8.0.3
   pam-pgsql-0.6.1
Here are the appropriate config files:
- imapd.conf -
configdirectory: /var/imap
#defaultpartition: default
partition-default: /var/spool/imap
unixhierarchysep: yes
servername: mailer01.farheap.com
allowanonymouslogin: no
allowplaintext: yes
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
admins: cyrus
autocreatequota: 0
reject8bit: no
sieveusehomedir: false
sievedir: /var/imap/sieve
sendmail: /usr/sbin/sendmail
postmaster: postmaster
sieve_maxscriptsize: 32
sieve_maxscripts: 5
sasl_pwcheck_method: saslauthd
sasl_mech_list: plain digest-md5 cram-md5
tls_ca_file: /var/imap/server.pem
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem
   - end imapd.conf -

   - 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/socket SERVICES {
 # add or remove based on preferences
 imap          cmd="imapd" listen="imap" prefork=0
# imaplocal cmd="imapd -C /usr/local/etc/imapd-local.conf" listen="127.0.0.1:imap" prefork=0
 imaps         cmd="imapd -s" listen="imaps" prefork=0
# imapslocal cmd="imapd -C /usr/local/etc/imapd-local.conf" listen="127.0.0.1:imap" prefork=0
 pop3          cmd="pop3d" listen="pop3" prefork=0
 pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
 sieve         cmd="timsieved" listen="sieve" prefork=0
# sievelocal cmd="timsieved -C /usr/local/etc/imapd-local.conf" listen="127.0.0.1:sieve" prefork=0

 # these are only necessary if receiving/exporting usenet via NNTP
#  nntp         cmd="nntpd" listen="nntp" prefork=0
#  nntps                cmd="nntpd -s" listen="nntps" prefork=0

 # at least one LMTP is required for delivery
#  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
#  lmtpunix     cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/var/spool/postfix/public/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,
 # Sieve or NNTP
 delprune      cmd="cyr_expire -E 3" at=1440

 # this is only necessary if caching TLS sessions
 tlsprune      cmd="tls_prune" at=1440
}
   - end cyrus.conf -

   - postfix main.cf -
#soft_bounce = no
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix mail_owner = postfix 
#default_privs = nobody myhostname = mailer01.example.com mydomain = 
example.com myorigin = $myhostname inet_interfaces = all proxy_read_maps = 
proxy:unix:passwd.byname proxy:pgsql:/usr/local/etc/pgsql-virtual.cf
proxy:pgsql:/usr/local/etc/pgsql-canonical.cf
proxy:pgsql:/usr/local/etc/postfix/pgsql-mydestination.cf
virtual_maps = proxy:pgsql:/usr/local/etc/postfix/pgsql-virtual.cf
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, 
mail.$mydomain, www.$mydomain, ftp.$mydomain, local_recipient_maps = 
proxy:unix:passwd.byname $alias_maps unknown_local_recipient_reject_code = 550 
alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases 
mailbox_transport = cyrus fallback_transport = lmtp:unix:public/lmtp 
header_checks = regexp:/usr/local/etc/postfix/header_checks
debug_peer_level = 2
debugger_command =
        PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
        xxgdb $daemon_directory/$process_name $process_id & sleep 5 
sendmail_path = /usr/local/sbin/sendmail newaliases_path = 
/usr/local/bin/newaliases mailq_path = /usr/local/bin/mailq setgid_group = maildrop 
html_directory = no manpage_directory = /usr/local/man sample_directory = 
/usr/local/etc/postfix readme_directory = no virtual_alias_maps = 
hash:/usr/local/etc/postfix/virtual,
proxy:pgsql:/usr/local/etc/postfix/pgsql-virtual.cf
sender_canonical_maps =
proxy:pgsql:/usr/local/etc/postfix/pgsql-canonical.cf
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, 
reject_unauth_destination smtpd_sasl_security_options = noanonymous 
smtpd_sasl_local_domain = broken_sasl_auth_clients = yes smtpd_helo_required = 
yes smtpd_recipient_restrictions =
           reject_invalid_hostname,
           reject_unknown_sender_domain,
           reject_unknown_recipient_domain,
           reject_unauth_pipelining,
           permit_mynetworks,
           reject_unauth_destination,
           reject_rbl_client zombie.dnsbl.sorbs.net,
           reject_rbl_client relays.ordb.org,
           reject_rbl_client opm.blitzed.org,
           reject_rbl_client list.dsbl.org,
           reject_rbl_client sbl.spamhaus.org,
           permit
mime_header_checks=pcre:/usr/local/etc/postfix/body_checks

   - end postfix main.cf -

   - smtpd.conf -
pwcheck_method: saslauthd
mech_list: plain
   - end smtpd.conf -

   - /etc/pam_pgsql.conf -
database = mail
host = localhost
user = mail
password = secret
table = accountuser
user_column = username
pwd_column = password
pw_type = md5

   - end /etc/pam_pgsql.conf -

   - /etc/pam.d/imap sieve smtp pop pop3 files - auth sufficient 
/usr/lib/pam_pgsql.so

#auth sufficient pam_unix_auth.so

account required /usr/lib/pam_pgsql.so

#account  sufficient       pam_unix_acct.so

   - end /etc/pam.d/imap sieve smtp pop pop3 files -


I have followed and adhered to the following walk through with some exceptions, 
where I had to replace the mysql stuff with postgresql specific stuff 
http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/t1.html
For the postgresql related stuff, I have plugged in and modified different 
settings from the following pdf, which is apparantly not available anylonger:
http://www.web-cyradm.org/documentation/Postfix-cyrus-postgreSQL-web-cyradm.pdf
Any help would be greatly appreciated.
Thanks.

_______________________________________________
This mailing list is hosted and supported by bit-heads GmbH | 
http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm



_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to