Announcement

Collapse
No announcement yet.

Problem with Postfix

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with Postfix

    Hi, i installed the OX Hyperion with the Guide in the Wiki.

    When trying to send an E-Mail via Outlook (using the SMTP) i get this error in my mail log:

    Code:
    Jul 27 17:28:56 localhost postfix/smtpd[20701]: fatal: restriction class `local_only' needs a definition
    My main.cf looks like they said in the Wiki: http://www.open-xchange.com/wiki/ind...V.3.2._main.cf

    Does anybody have a solution for this?

  • #2
    Hi,

    Did you also added all other .cf files for postfix? And you've to set the password for the database user in all those ox_*.cf files.

    Greetings
    Last edited by Martin Heiland; 07-27-2007, 05:35 PM.

    Comment


    • #3
      Hi Martin,

      yes i did.

      Code:
      cindy:/etc/postfix# ls -la
      total 97
      drwxr-xr-x  3 root root   528 2007-07-26 17:34 .
      drwxr-xr-x 79 root root  5056 2007-07-27 13:57 ..
      -rw-r--r--  1 root root   425 2007-07-26 13:55 dynamicmaps.cf
      -rw-r--r--  1 root root  2254 2007-07-27 17:37 main.cf
      -rw-r--r--  1 root root  3968 2007-07-26 17:30 master.cf
      -rw-r--r--  1 root root   162 2007-07-26 17:32 ox_aliases.cf
      -rw-r--r--  1 root root   162 2007-07-26 17:32 ox_domains.cf
      -rw-r--r--  1 root root   165 2007-07-26 17:33 ox_externaldomaincheck.cf
      -rw-r--r--  1 root root   369 2007-07-26 17:33 ox_group_aliases.cf
      -rw-r--r--  1 root root   336 2007-07-26 17:34 ox_resource_aliases.cf
      -rw-r--r--  1 root root   167 2007-07-26 17:33 ox_senderrestrictions.cf
      -rw-r--r--  1 root root   338 2007-07-26 17:32 ox_user_aliases.cf
      -rw-r--r--  1 root root 17975 2007-03-13 06:08 postfix-files
      -rwxr-xr-x  1 root root  6840 2007-03-13 06:08 postfix-script
      -rwxr-xr-x  1 root root 22239 2007-03-13 06:08 post-install
      drwxr-xr-x  2 root root    48 2007-07-27 16:12 sasl
      ..these should be all the files - i set the mysql user / pw in every file...

      Comment


      • #4
        Please post output

        postconf -n

        Comment


        • #5
          ...same here

          # postconf -n
          command_directory = /usr/sbin
          config_directory = /etc/postfix
          daemon_directory = /usr/lib/postfix
          inet_interfaces = all
          mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
          mydestination = $myhostname,localhost.$mydomain
          mydomain = server.praesentis.lan
          myhostname = mail.server.praesentis.lan
          queue_directory = /var/spool/postfix
          smtpd_recipient_restrictions = check_sender_access mysql:/etc/postfix/ox_senderrestrictions.cf, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
          smtpd_restriction_classes = local_only local_only = check_recipient_access mysql:/etc/postfix/ox_domains.cf, reject
          smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/ox_externaldomaincheck.cf
          smtpd_tls_cert_file = /etc/ssl/certs/eecert.pem
          smtpd_tls_key_file = /etc/ssl/private/eekey.pem
          virtual_alias_domains = mysql:/etc/postfix/ox_domains.cf
          virtual_alias_maps = mysql:/etc/postfix/ox_user_aliases.cf, mysql:/etc/postfix/ox_aliases.cf, mysql:/etc/postfix/ox_resource_aliases.cf, mysql:/etc/postfix/ox_group_aliases.cf

          also I get server postfix/master[2659]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

          Aszrael

          Comment


          • #6
            please add a linebreak:

            Code:
            smtpd_restriction_classes = local_only local_only = check_recipient_access mysql:/etc/postfix/ox_domains.cf, reject
            should be:

            Code:
            smtpd_restriction_classes = local_only
            local_only = check_recipient_access mysql:/etc/postfix/ox_domains.cf, reject
            Greetings

            Comment


            • #7
              thanks
              since I copied main.cf verbatim from Open_Xchange_Installation it should be updated I think.

              Greetings
              Aszrael

              Comment

              Working...
              X