Messagerie

Bonjour,
je veux savoir comment configurer postfix au sein d'un réseau local sous ubuntu
Configuration: Windows XP
Safari 525.19

7 réponses

  1. j'ai installé postfix sur mon serveur mais je n'arrive pas à envoyer des mails entres les utilisateur crées dans le serveur
    0
    1. SVP si quelqu'un peut m'aider et vérifier avec moi ma configuration de postfix
      0
      1. voila mon fichier de confihuration postfix:
        # See /usr/share/postfix/main.cf.dist for a commented, more complete version

        # Debian specific: Specifying a file name will cause the first
        # line of that file to be used as the name. The Debian default
        # is /etc/mailname.
        #myorigin = /etc/mailname

        smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
        biff = no

        # appending .domain is the MUA's job.
        append_dot_mydomain = no

        # Uncomment the next line to generate "delayed mail" warnings
        #delay_warning_time = 4h

        readme_directory = no

        # TLS parameters
        smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
        smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
        smtpd_use_tls=yes
        smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
        smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

        # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
        # information on enabling SSL in the smtp client.

        myhostname = asntanger
        alias_maps = hash:/etc/aliases
        alias_database = hash:/etc/aliases
        myorigin = /etc/mailname
        mydestination = asntanger.asn, asntanger, localhost.localdomain, localhost
        relayhost =
        mynetworks = 192.168.2.0/24, 127.0.0.0/8
        mailbox_size_limit = 51200000
        recipient_delimiter = +
        inet_interfaces = loopback-only
        default_transport = error
        relay_transport = error
        inet_protocols = ipv4
        0
        1. est-ce que quelqu'un peut m'aider pour configurer postfix
          0
          1. bonjour tout le monde , et bien je suis arrivée à envoyer des mails entre les utilisateurs que j'ai créé dans le serveur mais en mode console ,mais quand je veux envoyer des mails avec évolution il me donne un message d'erreur "impossible de se connecter à asntanger : connexion refusée" voici le résultat de la commande postconf -n :
            alias_database = hash:/etc/aliases
            alias_maps = hash:/etc/aliases
            append_dot_mydomain = no
            biff = no
            config_directory = /etc/postfix
            default_transport = error
            inet_interfaces = loopback-only
            inet_protocols = ipv4
            mailbox_size_limit = 51200000
            mydestination = asntanger, asntanger.asn, localhost.localdomain, localhost
            myhostname = asntanger
            mynetworks = 192.168.2.0/24, 127.0.0.0/8
            myorigin = /etc/mailname
            readme_directory = no
            recipient_delimiter = +
            relay_transport = error
            relayhost =
            smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
            smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
            smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
            smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
            smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
            smtpd_use_tls = yes

            merci bien.
            0
            1. Bonjour j'ai installé cyrus-imapd-2.2 alors voici le contenu du fichier /etc/cyrus.conf:
              # Debian defaults for Cyrus IMAP server/cluster implementation
              # see cyrus.conf(5) for more information
              #
              # All the tcp services are tcpd-wrapped. see hosts_access(5)
              # $Id: cyrus.conf 567 2006-08-14 18:19:32Z sven $

              START {
              # do not delete this entry!
              recover cmd="/usr/sbin/ctl_cyrusdb -r"

              # this is only necessary if idlemethod is set to "idled" in imapd.conf
              #idled cmd="idled"

              # this is useful on backend nodes of a Murder cluster
              # it causes the backend to syncronize its mailbox list with
              # the mupdate master upon startup
              #mupdatepush cmd="/usr/sbin/ctl_mboxlist -m"

              # this is recommended if using duplicate delivery suppression
              delprune cmd="/usr/sbin/cyr_expire -E 3"
              # this is recommended if caching TLS sessions
              tlsprune cmd="/usr/sbin/tls_prune"
              }

              # UNIX sockets start with a slash and are absolute paths
              # you can use a maxchild=# to limit the maximum number of forks of a service
              # you can use babysit=true and maxforkrate=# to keep tight tabs on the service
              # most services also accept -U (limit number of reuses) and -T (timeout)
              SERVICES {
              # --- Normal cyrus spool, or Murder backends ---
              # add or remove based on preferences
              imap cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100
              imaps cmd="imapd -s -U 30" listen="imaps" prefork=0 maxchild=100
              pop3 cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50
              pop3s cmd="pop3d -s -U 30" listen="pop3s" prefork=0 maxchild=50
              nntp cmd="nntpd -U 30" listen="nntp" prefork=0 maxchild=100
              #nntps cmd="nntpd -s -U 30" listen="nntps" prefork=0 maxchild=100

              # At least one form of LMTP is required for delivery
              # (you must keep the Unix socket name in sync with imap.conf)
              #lmtp cmd="lmtpd" listen="localhost:lmtp" prefork=0 maxchild=20
              lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0 maxchild=20
              # ----------------------------------------------

              # useful if you need to give users remote access to sieve
              # by default, we limit this to localhost in Debian
              sieve cmd="timsieved" listen="localhost:sieve" prefork=0 maxchild=100

              # this one is needed for the notification services
              notify cmd="notifyd" listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1

              # --- Murder frontends -------------------------
              # enable these and disable the matching services above,
              # except for sieve (which deals automatically with Murder)

              # mupdate database service - must prefork at least 1
              # (mupdate slaves)
              #mupdate cmd="mupdate" listen=3905 prefork=1
              # (mupdate master, only one in the entire cluster)
              #mupdate cmd="mupdate -m" listen=3905 prefork=1

              # proxies that will connect to the backends
              imap cmd="proxyd" listen="imap" prefork=0 maxchild=100
              imaps cmd="proxyd -s" listen="imaps" prefork=0 maxchild=100
              #pop3 cmd="pop3proxyd" listen="pop3" prefork=0 maxchild=50
              #pop3s cmd="pop3proxyd -s" listen="pop3s" prefork=0 maxchild=50
              #lmtp cmd="lmtpproxyd" listen="lmtp" prefork=1 maxchild=20
              # ----------------------------------------------
              }

              EVENTS {
              # this is required
              checkpoint cmd="/usr/sbin/ctl_cyrusdb -c" period=30

              # this is only necessary if using duplicate delivery suppression
              delprune cmd="/usr/sbin/cyr_expire -E 3" at=0401

              # this is only necessary if caching TLS sessions
              tlsprune cmd="/usr/sbin/tls_prune" at=0401

              # indexing of mailboxs for server side fulltext searches

              # reindex changed mailboxes (fulltext) approximately every other hour
              #squatter_1 cmd="/usr/bin/nice -n 19 /usr/sbin/squatter -s" period=120

              # reindex all mailboxes (fulltext) daily
              #squatter_a cmd="/usr/sbin/squatter" at=0517
              }

              merci bien de vouloir m'aider ,vraiment je suis besoin de votre aide.
              0
              1. Salut je veux savoir comment savoir que le serveur cyrus fonctionne bien
                Merci
                0