Postfix problema

10 bejegyzés megtekintése - 1-10 / 10
  • Szerző
    Bejegyzés
  • #1984146
    Gregory
    Felhasználó

      Sziasztok!

      Nem is tudom hol kezdjem a problemam,de talan a legjobb ha elolrol…
      Rendszerem Debian Sarge.
      Telepitettem a kovetkezo dolgokat forrasbol :
      Courier-imap
      openssl
      maildrop
      mysql
      postfix

      Minden felment hiba nelkul…A „postfix start” hatasara latszolag elindul a postfix,viszont ps aux-re semmelyik daemonjat nem latom…A mail_owner = postfix van beallitva..
      „postfix start” ot rootkent adom ki,erre jovo valasz :
      „postfix/postfix-script: starting the Postfix mail system”

      logban is csak ennyi…
      Mi lehet a gond? kell esetleg valami jog a postfix usernek,vagy valami plussz beallitas…
      (korabban volt fennt a postfix amit apt-vel tettem fel,de leszedtem,lehet ez kavar be?)

      master.cf igy nez ki :

      # service type  private unpriv  chroot  wakeup  maxproc command + args
      #              (yes)  (yes)  (yes)  (never) (100)
      # ==========================================================================
      smtp      inet  n      –      n      –      –      smtpd
      #submission inet n      –      n      –      –      smtpd
      #      -o smtpd_etrn_restrictions=reject
      #628      inet  n      –      n      –      –      qmqpd
      pickup    fifo  n      –      n      60      1      pickup
      cleanup  unix  n      –      n      –      0      cleanup
      qmgr      fifo  n      –      n      300    1      qmgr
      #qmgr    fifo  n      –      n      300    1      oqmgr
      rewrite  unix  –      –      n      –      –      trivial-rewrite
      bounce    unix  –      –      n      –      0      bounce
      defer    unix  –      –      n      –      0      bounce
      trace    unix  –      –      n      –      0      bounce
      verify    unix  –      –      n      –      1      verify
      flush    unix  n      –      n      1000?  0      flush
      proxymap  unix  –      –      n      –      –      proxymap
      smtp      unix  –      –      n      –      –      smtp
      relay    unix  –      –      n      –      –      smtp
      #      -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
      showq    unix  n      –      n      –      –      showq
      error    unix  –      –      n      –      –      error
      local    unix  –      n      n      –      –      local
      virtual  unix  –      n      n      –      –      virtual
      lmtp      unix  –      –      n      –      –      lmtp
      anvil    unix  –      –      n      –      1      anvil
      #
      # Interfaces to non-Postfix software. Be sure to examine the manual
      # pages of the non-Postfix software to find out what options it wants.
      #
      # maildrop. See the Postfix MAILDROP_README file for details.
      #
      maildrop  unix  –      n      n      –      –      pipe
        flags=R user=vmail argv=/usr/local/courier/bin/maildrop -d ${recipient}

      Valaszokat elore is koszi!

      sutyee
      [align=right][snapback]97276[/snapback][/align]

      Akkor szokott ilyesmit csinálni friss telepítéskor, ha vagy a spool könyvtárak nincsenek meg, vagy nincs beállítva a „mydomain, myhostname, stb.” érték.

      #1984147
      maszili
      Felhasználó

        Minden felment hiba nelkul…A „postfix start” hatasara latszolag elindul a postfix,viszont ps aux-re semmelyik daemonjat nem latom…

        Alap esetben amikor nincs tevekenyseg csak a /usr/lib/postfix/master fog futni.

        Javaslom a /var/log/mail.log/ allomany megnezeset.
        Esetleg masold ide az utolso nehany sort.

        #1984148
        admin
        Adminisztrátor

          postfix start -ra ( amit root-kent adok ki) ez jon :

          Nov 17 15:48:35 sutyee postfix/postfix-script: starting the Postfix mail system

          a /var/log/mail.log-ban is csak ennyi..semmi mas..probaltam outlook expresszben beallitani kuldonek a gepem…Erre a kovetkezo hibat adja (outlook) :

          Task ‘sutyee.myip.hu – Sending’ reported error (0x800CCC0F) : ‘The connection to the server was interrupted. If this problem continues, contact your server administrator or Internet service provider (ISP).’

          Ennek semmi nyoma a logban..
          Ami erdekes meg,hogy a ” telnet localhost 25″ ezt adja vissza :

          Trying 127.0.0.1…
          telnet: Unable to connect to remote host: Connection refused

          Ide masolom meg a postconf -n valaszat :

          alias_maps = mysql:/etc/postfix/mysql-aliases.cf
          broken_sasl_auth_clients = yes
          command_directory = /usr/sbin
          config_directory = /etc/postfix
          daemon_directory = /usr/libexec/postfix
          debug_peer_level = 2
          disable_vrfy_command = yes
          home_mailbox = Maildir/
          html_directory = no
          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, localhost
          mydomain = sutyee.myip.hu
          myhostname = sutyee.myip.hu
          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
          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
          transport_maps = mysql:/etc/postfix/mysql-transport.cf
          unknown_local_recipient_reject_code = 550
          virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
          virtual_gid_maps = mysql:/etc/postfix/mysql-virtual-gid.cf
          virtual_mailbox_base = /home/vmail
          virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-domains.cf
          virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
          virtual_transport = maildrop
          virtual_uid_maps = mysql:/etc/postfix/mysql-virtual-uid.cf

          Mi lehet a gond?

          #1984149
          Gregory
          Felhasználó

            postfix start -ra (  amit root-kent adok ki) ez jon :

            Nov 17 15:48:35 sutyee postfix/postfix-script: starting the Postfix mail system

            a /var/log/mail.log-ban is csak ennyi..semmi mas..probaltam outlook expresszben beallitani kuldonek a gepem…Erre a kovetkezo hibat adja (outlook) :
            Task ‘sutyee.myip.hu – Sending’ reported error (0x800CCC0F) : ‘The connection to the server was interrupted.  If this problem continues, contact your server administrator or Internet service provider (ISP).’

            Ennek semmi nyoma a logban..
            Ami erdekes meg,hogy a ” telnet localhost 25″ ezt adja vissza :

            Trying 127.0.0.1…
            telnet: Unable to connect to remote host: Connection refused

            Ide masolom meg a postconf -n valaszat :

            alias_maps = mysql:/etc/postfix/mysql-aliases.cf
            broken_sasl_auth_clients = yes
            command_directory = /usr/sbin
            config_directory = /etc/postfix
            daemon_directory = /usr/libexec/postfix
            debug_peer_level = 2
            disable_vrfy_command = yes
            home_mailbox = Maildir/
            html_directory = no
            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, localhost
            mydomain = sutyee.myip.hu
            myhostname = sutyee.myip.hu
            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
            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
            transport_maps = mysql:/etc/postfix/mysql-transport.cf
            unknown_local_recipient_reject_code = 550
            virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
            virtual_gid_maps = mysql:/etc/postfix/mysql-virtual-gid.cf
            virtual_mailbox_base = /home/vmail
            virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-domains.cf
            virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
            virtual_transport = maildrop
            virtual_uid_maps = mysql:/etc/postfix/mysql-virtual-uid.cf

            Mi lehet a gond?
            [align=right][snapback]97898[/snapback][/align]

            Húúúú… Nem vagyok egy postfix guru, nem látom ebbõl a rengeteg konfigból a hibát… Jól állítottad be a csomag telepítésekor a dolgokat? (dpkg-reconfigure postfix)

            #1984150
            maszili
            Felhasználó

              Ami erdekes meg,hogy a ” telnet localhost 25″ ezt adja vissza :

              Trying 127.0.0.1…
              telnet: Unable to connect to remote host: Connection refused

              a netstat -ln parancs kimenete?

              Van ilyen sor?

              Code:
              tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN

              Esetleg csomagszuro szabalyok, nem tiltjak a hozzaferest?

              #1984151
              admin
              Adminisztrátor

                nem ,nincs ilyen sorom…
                tuzfalban engedelyezve van a 25-os port…

                Kerdes :

                nem kell valamit az /etc/inetd.conf -ba felvenni?

                koszi

                sutyee

                #1984152
                maszili
                Felhasználó

                  nem ,nincs ilyen sorom…

                  Akkor nem fut…

                  tuzfalban engedelyezve van a 25-os port…

                  Esetleg arra az idore amig rendberakod a postfixet
                  enegdelyezz mindent (biztos ami biztos)
                  iptables -P INPUT ACCEPT
                  iptables -P OUTPUT ACCEPT

                  nem kell valamit az /etc/inetd.conf -ba felvenni?

                  Ez attol fugg hogy hogyan telepitetted a postfixet.
                  Amikor felraktad (csomagbol) konfiguralja is egyben.
                  Megkerdezi, hogy inetd-vel vagy egyedulallo szervizkent fusson.
                  Celszeru az egyedulallo szervizt valasztani.
                  Ha azt valasztottad az alap konfiguracioval mukodnie kellene.

                  Konfigurald ujra, hatha az segit…
                  dpkg-reconfigure postfix

                  #1984153
                  admin
                  Adminisztrátor

                    Akkor nem fut…
                    Esetleg arra az idore amig rendberakod a postfixet
                    enegdelyezz mindent (biztos ami biztos)
                    iptables -P INPUT ACCEPT
                    iptables -P OUTPUT ACCEPT
                    Ez attol fugg hogy hogyan telepitetted a postfixet.
                    Amikor felraktad (csomagbol) konfiguralja is egyben.
                    Megkerdezi, hogy inetd-vel vagy egyedulallo szervizkent fusson.
                    Celszeru az egyedulallo szervizt valasztani.
                    Ha azt valasztottad az alap konfiguracioval mukodnie kellene.

                    Konfigurald ujra, hatha az segit…
                    dpkg-reconfigure postfix
                    [align=right][snapback]98195[/snapback][/align]

                    de en nem csomagbol tettem fel,hanem forrasbol…

                    #1984154
                    maszili
                    Felhasználó

                      de en nem csomagbol tettem fel,hanem forrasbol…

                      Hoppacska!….
                      Na ezert szoktam en inkabb a gyarit (csomagbol) hasznalni.
                      Rakd fel csomagbol…
                      Mi indokolta a forrasbol felrakast? 🙂

                      #1877043
                      csaba
                      Felhasználó

                        Sziasztok!

                        Nem is tudom hol kezdjem a problemam,de talan a legjobb ha elolrol…
                        Rendszerem Debian Sarge.
                        Telepitettem a kovetkezo dolgokat forrasbol :
                        Courier-imap
                        openssl
                        maildrop
                        mysql
                        postfix

                        Minden felment hiba nelkul…A „postfix start” hatasara latszolag elindul a postfix,viszont ps aux-re semmelyik daemonjat nem latom…A mail_owner = postfix van beallitva..
                        „postfix start” ot rootkent adom ki,erre jovo valasz :
                        „postfix/postfix-script: starting the Postfix mail system”

                        logban is csak ennyi…
                        Mi lehet a gond? kell esetleg valami jog a postfix usernek,vagy valami plussz beallitas…
                        (korabban volt fennt a postfix amit apt-vel tettem fel,de leszedtem,lehet ez kavar be?)

                        master.cf igy nez ki :

                        # service type private unpriv chroot wakeup maxproc command + args
                        # (yes) (yes) (yes) (never) (100)
                        # ==========================================================================
                        smtp inet n – n – – smtpd
                        #submission inet n – n – – smtpd
                        # -o smtpd_etrn_restrictions=reject
                        #628 inet n – n – – qmqpd
                        pickup fifo n – n 60 1 pickup
                        cleanup unix n – n – 0 cleanup
                        qmgr fifo n – n 300 1 qmgr
                        #qmgr fifo n – n 300 1 oqmgr
                        rewrite unix – – n – – trivial-rewrite
                        bounce unix – – n – 0 bounce
                        defer unix – – n – 0 bounce
                        trace unix – – n – 0 bounce
                        verify unix – – n – 1 verify
                        flush unix n – n 1000? 0 flush
                        proxymap unix – – n – – proxymap
                        smtp unix – – n – – smtp
                        relay unix – – n – – smtp
                        # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
                        showq unix n – n – – showq
                        error unix – – n – – error
                        local unix – n n – – local
                        virtual unix – n n – – virtual
                        lmtp unix – – n – – lmtp
                        anvil unix – – n – 1 anvil
                        #
                        # Interfaces to non-Postfix software. Be sure to examine the manual
                        # pages of the non-Postfix software to find out what options it wants.
                        #
                        # maildrop. See the Postfix MAILDROP_README file for details.
                        #
                        maildrop unix – n n – – pipe
                        flags=R user=vmail argv=/usr/local/courier/bin/maildrop -d ${recipient}

                        Valaszokat elore is koszi!

                        sutyee

                      10 bejegyzés megtekintése - 1-10 / 10
                      • Be kell jelentkezni a hozzászóláshoz.