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

Re: Fail to telnet

Expand Messages
  • Stephen Liu
    ... Hi Brian, on /etc/postfix/main.cf Comment out; #relay_domains = mysql:/etc/postfix/virtual/mysql-relay-domains.cf reload postfix. Problem remains. # tail
    Message 1 of 4 , Nov 3, 2008
    • 0 Attachment
      --- Brian Evans - Postfix List <grknight@...> wrote:

      > Stephen Liu wrote:
      > > Nov 3 15:50:45 xen03 postfix/smtpd[1574]: fatal: open
      > > /etc/postfix/virtual/mysql-relay-domains.cf: Not a directory
      > > Nov 3 15:50:45 xen03 postfix/qmgr[1575]: fatal: open
      > > /etc/postfix/virtual/mysql-relay-domains.cf: Not a directory
      > >
      >
      > Fix this error, post 'postconf -n' and logs if it does not help after
      > doing so


      Hi Brian,


      on /etc/postfix/main.cf
      Comment out;
      #relay_domains = mysql:/etc/postfix/virtual/mysql-relay-domains.cf


      reload postfix. Problem remains.


      # tail /var/log/mail.log
      Nov 3 17:06:02 xen03 postfix/qmgr[1775]: fatal: open
      /etc/postfix/virtual/mysql-relay-domains.cf: Not a directory
      Nov 3 17:06:03 xen03 postfix/master[1144]: warning: process
      /usr/libexec/postfix/smtpd pid 1774 exit status 1
      Nov 3 17:06:03 xen03 postfix/master[1144]: warning:
      /usr/libexec/postfix/smtpd: bad command startup -- throttling
      Nov 3 17:06:03 xen03 postfix/master[1144]: warning: process
      /usr/libexec/postfix/qmgr pid 1775 exit status 1
      Nov 3 17:06:03 xen03 postfix/master[1144]: warning:
      /usr/libexec/postfix/qmgr: bad command startup -- throttling
      Nov 3 17:06:13 xen03 postfix/postfix-script[1778]: refreshing the
      Postfix mail system
      Nov 3 17:06:13 xen03 postfix/master[1144]: reload configuration
      /etc/postfix
      Nov 3 17:07:03 xen03 postfix/smtpd[1785]: fatal: open
      /etc/postfix/mysql-alias-maps.cf: No such file or directory
      Nov 3 17:07:04 xen03 postfix/master[1144]: warning: process
      /usr/libexec/postfix/smtpd pid 1785 exit status 1
      Nov 3 17:07:04 xen03 postfix/master[1144]: warning:
      /usr/libexec/postfix/smtpd: bad command startup -- throttling


      # postconf -n
      alias_maps = mysql:/etc/postfix/mysql-aliases.cf
      broken_sasl_auth_clients = yes
      command_directory = /usr/sbin
      config_directory = /etc/postfix
      content_filter = smtp-amavis:[127.0.0.1]:10024
      daemon_directory = /usr/libexec/postfix
      data_directory = /var/lib/postfix
      debug_peer_level = 2
      disable_vrfy_command = yes
      home_mailbox = Maildir/
      html_directory = no
      inet_interfaces = all
      local_recipient_maps = $alias_maps $virtual_mailbox_maps
      unix:passwd.byname
      mail_owner = postfix
      mailq_path = /usr/bin/mailq
      manpage_directory = /usr/local/man
      mydestination = $myhostname
      mydomain = satimis.com
      myhostname = xen03.satimis.com
      newaliases_path = /usr/bin/newaliases
      queue_directory = /var/spool/postfix
      readme_directory = no
      relocated_maps = mysql:/etc/postfix/mysql-relocated.cf
      sample_directory = /etc/postfix
      sendmail_path = /usr/sbin/sendmail
      setgid_group = postdrop
      show_user_unknown_table_name = no
      smtpd_client_restrictions = check_client_access
      mysql:/etc/postfix/mysql-client.cf
      smtpd_data_restrictions = reject_unauth_pipelining
      smtpd_etrn_restrictions = reject
      smtpd_helo_required = yes
      smtpd_recipient_restrictions =
      permit_mynetworks,permit_sasl_authenticated,check_recipient_access
      mysql:/etc/postfix/mysql-recipient.cf,reject_unauth_destination,permit
      smtpd_sasl_auth_enable = yes
      smtpd_sasl_local_domain = $myhostname
      smtpd_sasl_security_options = noanonymous
      smtpd_sender_restrictions = check_sender_access
      mysql:/etc/postfix/mysql-sender.cf
      smtpd_tls_cert_file = /etc/postfix/postfix.pem
      smtpd_tls_key_file = $smtpd_tls_cert_file
      smtpd_use_tls = yes
      transport_maps = mysql:/etc/postfix/mysql-transport.cf
      unknown_local_recipient_reject_code = 550
      virtual_alias_maps = mysql:/etc/postfix/mysql-alias-maps.cf
      virtual_gid_maps = static:1005
      virtual_mailbox_base = /usr/local/vmail
      virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-domains.cf
      virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
      virtual_minimum_uid = 100
      virtual_transport = maildrop
      virtual_uid_maps = static:1005


      B.R.
      Stephen

      Send instant messages to your online friends http://uk.messenger.yahoo.com
    • Ofer Inbar
      ... That looks straightforward. You had told postfix that the alias_maps file is /etc/postfix/mysql-aliases.cf but that file does not exist. -- Cos
      Message 2 of 4 , Nov 3, 2008
      • 0 Attachment
        Stephen Liu <satimis@...> wrote:
        > reload postfix. Problem remains.

        > # tail /var/log/mail.log
        > Nov 3 17:06:13 xen03 postfix/postfix-script[1778]: refreshing the
        > Postfix mail system
        > Nov 3 17:06:13 xen03 postfix/master[1144]: reload configuration
        > /etc/postfix
        > Nov 3 17:07:03 xen03 postfix/smtpd[1785]: fatal: open
        > /etc/postfix/mysql-alias-maps.cf: No such file or directory

        > # postconf -n
        > alias_maps = mysql:/etc/postfix/mysql-aliases.cf

        That looks straightforward. You had told postfix that the alias_maps
        file is /etc/postfix/mysql-aliases.cf but that file does not exist.
        -- Cos
      Your message has been successfully submitted and would be delivered to recipients shortly.