postfix cyrus imap on Solaris 8 mail delivery problem

From: Sundaram Ramasamy (sun@percipia.com)
Date: Wed Feb 11 2004 - 10:14:17 EST


Hi Managers,

    I am trying to install the postfix, cyrus imap, SMTP AUTH on Solaris 8
machine, When sending a mail to local user postfix giving following error
message.

Here help to fix this problem.

Error message:
==========

Feb 11 09:58:19 earth postfix/pipe[13290]: [ID 197553 mail.info] A64CC4A47F:
to=<testuser@earth.example.com>, relay=cyrus, delay=35944, status=deferred
(Command died with signal 9: "/usr/cyrus/bin/deliver". Command output:
ld.so.1: /usr/cyrus/bin/deliver: fatal: libsasl2.so.2: open failed: No such
file or directory )

bash-2.03# postconf -n
alias_database = dbm:/etc/mail/aliases
alias_maps = dbm:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
inet_interfaces = all
local_transport = cyrus
mail_owner = postfix
mailbox_transport = lmtp:unix:/file/name
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydomain = example.com
myhostname = earth.$mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/lib/sendmail
setgid_group = postdrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated,permit_mynetworks,check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 450

bash-2.03# grep -v "^#" /etc/postfix/master.cf
smtp inet n - n - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
maildrop unix - n n - - pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
old-cyrus unix - n n - - pipe
  flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m ${extension} ${user}
cyrus unix - n n - - pipe
  user=cyrus argv=/usr/cyrus/bin/deliver -e -r ${sender} -m ${extension}
${user}
uucp unix - n n - - pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail unix - 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

postfix startp script:
=============
bash-2.03# cat /etc/init.d/postfix
#!/bin/bash
#
# postfix This script controls the postfix daemon.
#

# description: Postfix MTA
# processname: postfix

LD_LIBRARY_PATH=/usr/local/ssl/lib:/usr/local/lib
export LD_LIBRARY_PATH

case "$1" in
    start)
        /usr/sbin/postfix start
    ;;
    stop)
        /usr/sbin/postfix stop
    ;;
    reload)
        /usr/sbin/postfix reload
    ;;
    restart)
        $0 stop
        $0 start
    ;;
    *)
    echo "Usage: $0 {start|stop|reload|restart}"
    exit 1
esac
exit 0

postfix compilation options:

make makefiles CCARGS="-DHAS_SSL -DUSE_SASL_AUTH \
        -I/usr/local/include/sasl -I/usr/local/ssl/include" \
        AUXLIBS="-L/usr/local/ssl/lib -L/usr/local/lib \
        -R/usr/local/lib -lsasl2 -lssl -lcrypto"

bash-2.03# find / -name "libsasl2.so*" -print
/usr/local/lib/libsasl2.so.2
/usr/local/lib/libsasl2.so.2.0.17
/usr/local/lib/libsasl2.so
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:02 EDT