Loading ...
Sorry, an error occurred while loading the content.
 

postifx ldap problem

Expand Messages
  • Di Giambelardini Gabriele
    Hi i m a new user in this mailing list. I write you because i have some problem with postfix and ldap ( fedora-ds ). some time when i try to send mail from the
    Message 1 of 1 , Oct 4, 2006
      Hi i'm a new user in this mailing list.

      I write you because i have some problem with postfix and ldap ( fedora-ds ).
      some time when i try to send mail from the postfix server I receive this -
      - - messagge:

      [root@mail postfix]# telnet localhost 25
      Trying 127.0.0.1...
      Connected to localhost.localdomain (127.0.0.1).
      Escape character is '^]'.
      220 mail.test.it ESMTP Postfix
      helo mail
      250 mail.test.it
      mail from: <postmaster@...>
      250 Ok
      rcpt to: <pippo@...>
      451 <pippo@...>: Temporary lookup failure

      - And in /var/log/maillog:

      tail -f /var/log/maillog | grep "pippo"
      Oct 4 12:59:52 mail postfix/smtpd[24622]: 862735994B4: reject: RCPT from
      localhost.localdomain[127.0.0.1]: 451 <pippo@...>: Temporary lookup
      failure; from=<postmaster@...> to=<pippo@...> proto=SMTP
      helo=<mail>
      Oct 4 13:03:32 mail postfix/cleanup[24533]: warning: 85EB55994C3:
      virtual_alias_maps map lookup problem for pippo@...
      Oct 4 13:03:33 mail postfix/smtp[25702]: B79B35994B4: to=<pippo@...>,
      relay=localhost[127.0.0.1], delay=90, status=deferred (host
      localhost[127.0.0.1]
      said: 451 Error: queue file write error (in reply to end of DATA command))
      ---------------------------

      My ldap server is fedora-ds and in mine main.cf i have this:

      default_process_limit = 50
      duplicate_filter_limit = 10000
      header_size_limit = 307000
      virtual_alias_expansion_limit = 50000
      virtual_alias_recursion_limit = 50000

      # virtual
      virtual_transport = maildrop
      virtual_mailbox_domains = test.it
      virtual_maps = ldap:mailboxes, ldap:mailgroups
      virtual_uid_maps = static:501
      virtual_gid_maps = static:501
      virtual_minimum_uid = 500
      virtual_mailbox_limit = 0

      # mailinglist
      mailgroups_server_host = ip of ldap
      mailgroups_search_base = dc=test,dc=it
      mailgroups_query_filter =
      (&(|(mail=%s)(mailalternateaddress=%s))(objectclass=postarecipient))
      mailgroups_result_attribute = mailforwardingaddress

      # mailbox - aliases
      mailboxes_server_host = ip of ldap
      mailboxes_search_base = dc=test,dc=it
      mailboxes_query_filter =
      (&(|(mail=%s)(mailalternateaddress=%s))(objectclass=postarecipient))
      mailboxes_result_attribute = uid, mailforwardingaddress

      transport_maps= hash:/etc/postfix/transport
      maildrop_destination_recipient_limit=1

      --------------------------------------------------------------------

      Some body can help me???
      some of my friends use Outlook 2003
      thanks in advances
    Your message has been successfully submitted and would be delivered to recipients shortly.