November 25, 2024, 09:17:39 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: postfix error, how to solve it ?  (Read 4168 times)

Offline joydeep

  • Linux Noob !
  • *
  • Posts: 21
postfix error, how to solve it ?
« on: March 01, 2007, 11:42:53 AM »
Dear list,

I have again come back to you to need some guidane.

I have postfix-2.2.9-10  installed in Suse 10.1. I have cyrus-imapd-2.2.12-27.6 installe
in this box too.

now when ever I access the imap account there is an error in the log file like

Mar  1 16:56:10 linux kernel: audit(1172748370.786:199): REJECTING r access to /opt/lampp/lib/libldap-2.3.so.0.1.6 (sendmail(12026) profile /usr/sbin/sendmail active /usr/sbin/sendmail)

similarly when I try to send mail there is an error in the log like

Mar  1 17:00:56 linux kernel: audit(1172748656.164:250): REJECTING w access to /var/spool/postfix/private/lmtp (local(12111) profile /usr/lib/postfix/local active /usr/lib/postfix/local)

here is the configuration of /etc/postfix/main.cf
===================================
#####3LDAP  configuration   ######################################
virtual_maps          = ldap:aliases, ldap:mailboxes
aliases_server_host   = 127.0.0.1
aliases_search_base   = ou=Users,dc=kolkatainfoservices,dc=in

aliases_query_filter = (&(|(mail=%s)(mailalternateaddress=%s))(objectclass=posixaccount)(deliveryMode=forwardo
nly)(accountstatus=active))
aliases_bind_dn              = cn=Manager,dc=kolkatainfoservices,dc=in
aliases_bind_pw              = secret
aliases_result_attribute     = mailforwardingaddress
aliases_version              =3


mailboxes_server_host = 127.0.0.1
mailboxes_search_base = ou=Users,dc=kolkatainfoservices,dc=in
mailboxes_query_filter = (&(|(mail=%s)(mailalternateaddress=%s))(objectclass=posixaccount)(accountstatus=activ
e))
mailboxes_bind_dn    = cn=Manager,dc=kolkatainfoservices,dc=in
mailboxes_bind_pw    = secret
mailboxes_result_attribute = uid, mailforwardingaddress
mailboxes_version     =3

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
delay_warning_time = 4h
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = kolkatainfoservices.in, localhost.$mydomain, localhost, $mydomain
myhostname = linux.kolkatainfoservices.in
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
recipient_delimiter = +
relayhost =
sample_directory = /usr/share/doc/packages/postfix/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_sasl_local_domain =
unknown_local_recipient_reject_code = 550
----------------------------------------------------------------------------------------------

could any one kindly suggest me to fix the problem ?
The problem started after using LDAP authentication for cyrus postfix.
thanks