Partage
  • Partager sur Facebook
  • Partager sur Twitter

POSTFIX : Unknow user

    17 septembre 2016 à 21:02:08


    Bonjour,

    J'ai installé un serveur mail (Postfix + Dovecot) sur un VPS Debian.

    J'essaye d'envoyer un mail en local à l'aide de la commande mail, mais postmaster me retourne mon mail avec l'erreur unknow user.

    Voici ma configuration Postfix :

    #
    # Postfix master process configuration file.  For details on the format
    # of the file, see the master(5) manual page (command: "man 5 master" or
    # on-line: http://www.postfix.org/master.5.html).
    #
    # Do not forget to execute "postfix reload" after editing this file.
    #
    # ==========================================================================
    # service type  private unpriv  chroot  wakeup  maxproc command + args
    #               (yes)   (yes)   (yes)   (never) (100)
    # ==========================================================================
    smtp      inet  n       -       -       -       -       smtpd
    #smtp      inet  n       -       -       -       1       postscreen
    #smtpd     pass  -       -       -       -       -       smtpd
    #dnsblog   unix  -       -       -       -       0       dnsblog
    #tlsproxy  unix  -       -       -       -       0       tlsproxy
    submission inet n       -       -       -       -       smtpd
    #  -o syslog_name=postfix/submission
    #  -o smtpd_tls_security_level=encrypt
    #  -o smtpd_sasl_auth_enable=yes
    #  -o smtpd_reject_unlisted_recipient=no
    #  -o smtpd_client_restrictions=$mua_client_restrictions
    #  -o smtpd_helo_restrictions=$mua_helo_restrictions
    #  -o smtpd_sender_restrictions=$mua_sender_restrictions
    #  -o smtpd_recipient_restrictions=
    #  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
    #  -o milter_macro_daemon_name=ORIGINATING
    #smtps     inet  n       -       -       -       -       smtpd
    #  -o syslog_name=postfix/smtps
    #  -o smtpd_tls_wrappermode=yes
    #  -o smtpd_sasl_auth_enable=yes
    #  -o smtpd_reject_unlisted_recipient=no
    #  -o smtpd_client_restrictions=$mua_client_restrictions
    #  -o smtpd_helo_restrictions=$mua_helo_restrictions
    #  -o smtpd_sender_restrictions=$mua_sender_restrictions
    #  -o smtpd_recipient_restrictions=
    #  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
    #  -o milter_macro_daemon_name=ORIGINATING
    #628       inet  n       -       -       -       -       qmqpd
    pickup    unix  n       -       -       60      1       pickup
    cleanup   unix  n       -       -       -       0       cleanup
    qmgr      unix  n       -       n       300     1       qmgr
    #qmgr     unix  n       -       n       300     1       oqmgr
    tlsmgr    unix  -       -       -       1000?   1       tlsmgr
    rewrite   unix  -       -       -       -       -       trivial-rewrite
    bounce    unix  -       -       -       -       0       bounce
    defer     unix  -       -       -       -       0       bounce
    trace     unix  -       -       -       -       0       bounce
    verify    unix  -       -       -       -       1       verify
    flush     unix  n       -       -       1000?   0       flush
    proxymap  unix  -       -       n       -       -       proxymap
    proxywrite unix -       -       n       -       1       proxymap
    smtp      unix  -       -       -       -       -       smtp
    relay     unix  -       -       -       -       -       smtp
    #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
    showq     unix  n       -       -       -       -       showq
    error     unix  -       -       -       -       -       error
    retry     unix  -       -       -       -       -       error
    discard   unix  -       -       -       -       -       discard
    local     unix  -       n       n       -       -       local
    virtual   unix  -       n       n       -       -       virtual
    lmtp      unix  -       -       -       -       -       lmtp
    anvil     unix  -       -       -       -       1       anvil
    scache    unix  -       -       -       -       1       scache
    #
    # ====================================================================
    # Interfaces to non-Postfix software. Be sure to examine the manual
    # pages of the non-Postfix software to find out what options it wants.
    #
    # Many of the following services use the Postfix pipe(8) delivery
    # agent.  See the pipe(8) man page for information about ${recipient}
    # and other message envelope options.
    # ====================================================================
    #
    # maildrop. See the Postfix MAILDROP_README file for details.
    # Also specify in main.cf: maildrop_destination_recipient_limit=1
    #
    maildrop  unix  -       n       n       -       -       pipe
      flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
    #
    # ====================================================================
    #
    # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
    #
    # Specify in cyrus.conf:
    #   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
    #
    # Specify in main.cf one or more of the following:
    #  mailbox_transport = lmtp:inet:localhost
    #  virtual_transport = lmtp:inet:localhost
    #
    # ====================================================================
    #
    # Cyrus 2.1.5 (Amos Gouaux)
    # Also specify in main.cf: cyrus_destination_recipient_limit=1
    #
    #cyrus     unix  -       n       n       -       -       pipe
    #  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
    #
    # ====================================================================
    # Old example of delivery via Cyrus.
    #
    #old-cyrus unix  -       n       n       -       -       pipe
    #  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
    #
    # ====================================================================
    #
    # See the Postfix UUCP_README file for configuration details.
    #
    uucp      unix  -       n       n       -       -       pipe
      flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
    #
    # Other external delivery methods.
    #
    ifmail    unix  -       n       n       -       -       pipe
      flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
    bsmtp     unix  -       n       n       -       -       pipe
      flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
    scalemail-backend unix  -       n       n       -       2       pipe
      flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
    mailman   unix  -       n       n       -       -       pipe
      flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
      ${nexthop} ${user}
    
    dovecot   unix  -       n       n       -       -       pipe
      flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/dovecot-lda -f ${sender} -d ${recipient}
    
    
    
    
    

    Cordialement

    -
    Edité par plagoutte 17 septembre 2016 à 21:02:51

    • Partager sur Facebook
    • Partager sur Twitter
      19 septembre 2016 à 17:00:54

      Non, ça c'est le master.cf, et il nous faudrait plutôt le main.cf.

      Sinon, que disent exactement les logs ?

      • Partager sur Facebook
      • Partager sur Twitter
        19 septembre 2016 à 18:19:51



        Bonjour,

        Voici le main.cf :

        # 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 (Debian/GNU)
        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.
        
        smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
        myhostname = searcraft
        alias_maps = hash:/etc/aliases
        alias_database = hash:/etc/aliases
        myorigin = /etc/mailname
        mydestination = searcraft.fr, searcraft, localhost.localdomain, localhost
        relayhost =
        mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
        mailbox_size_limit = 0
        recipient_delimiter = +
        inet_interfaces = all
        virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
        virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
        virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
        
        smtpd_sasl_type = dovecot
        smtpd_sasl_path = private/auth
        smtpd_sasl_auth_enable = yes
        smtpd_tls_security_level = may
        smtpd_tls_auth_only = yes
        smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
        virtual_transport = dovecot
        dovecot_destination_recipient_limit = 1
        

         Ainsi que les logs (/var/log/mail.log) :

        Note : après lecture rapide de ces logs, je me rends compte que l'email est envoyé à user@example.com. Le domaine est donc incorrect mais je ne sais pas où le modifier.

        Sep 19 00:06:32 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 00:07:02 searcraft postfix/smtp[20672]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 00:07:32 searcraft postfix/smtp[20672]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 00:07:32 searcraft postfix/smtp[20672]: 412822A23F02: to=<user@example.com>, relay=none, delay=118024, delays=117964/0.03/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
        Sep 19 00:53:35 searcraft postfix/smtpd[20824]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
        Sep 19 00:53:35 searcraft postfix/smtpd[20824]: connect from unknown[89.248.169.36]
        Sep 19 00:53:35 searcraft postfix/smtpd[20824]: lost connection after EHLO from unknown[89.248.169.36]
        Sep 19 00:53:35 searcraft postfix/smtpd[20824]: disconnect from unknown[89.248.169.36]
        Sep 19 00:56:56 searcraft postfix/anvil[20826]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 00:53:35
        Sep 19 00:56:56 searcraft postfix/anvil[20826]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 00:53:35
        Sep 19 00:56:56 searcraft postfix/anvil[20826]: statistics: max cache size 1 at Sep 19 00:53:35
        Sep 19 01:16:34 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 01:17:04 searcraft postfix/smtp[20911]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 01:17:34 searcraft postfix/smtp[20911]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 01:17:34 searcraft postfix/smtp[20911]: 412822A23F02: to=<user@example.com>, relay=none, delay=122225, delays=122165/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
        Sep 19 02:26:34 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 02:27:04 searcraft postfix/smtp[21136]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 02:27:34 searcraft postfix/smtp[21136]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 02:27:34 searcraft postfix/smtp[21136]: 412822A23F02: to=<user@example.com>, relay=none, delay=126425, delays=126365/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out)
        Sep 19 03:08:41 searcraft postfix/smtpd[21261]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
        Sep 19 03:08:41 searcraft postfix/smtpd[21261]: connect from unknown[89.248.169.36]
        Sep 19 03:08:41 searcraft postfix/smtpd[21261]: lost connection after EHLO from unknown[89.248.169.36]
        Sep 19 03:08:41 searcraft postfix/smtpd[21261]: disconnect from unknown[89.248.169.36]
        Sep 19 03:12:01 searcraft postfix/anvil[21263]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 03:08:41
        Sep 19 03:12:01 searcraft postfix/anvil[21263]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 03:08:41
        Sep 19 03:12:01 searcraft postfix/anvil[21263]: statistics: max cache size 1 at Sep 19 03:08:41
        Sep 19 03:36:34 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 03:37:04 searcraft postfix/smtp[21345]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 03:37:34 searcraft postfix/smtp[21345]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 03:37:34 searcraft postfix/smtp[21345]: 412822A23F02: to=<user@example.com>, relay=none, delay=130625, delays=130565/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
        Sep 19 04:46:35 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 04:47:05 searcraft postfix/smtp[21567]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 04:47:35 searcraft postfix/smtp[21567]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 04:47:35 searcraft postfix/smtp[21567]: 412822A23F02: to=<user@example.com>, relay=none, delay=134826, delays=134766/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
        Sep 19 05:23:08 searcraft postfix/smtpd[21696]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
        Sep 19 05:23:08 searcraft postfix/smtpd[21696]: connect from unknown[89.248.169.36]
        Sep 19 05:23:08 searcraft postfix/smtpd[21696]: lost connection after EHLO from unknown[89.248.169.36]
        Sep 19 05:23:08 searcraft postfix/smtpd[21696]: disconnect from unknown[89.248.169.36]
        Sep 19 05:26:29 searcraft postfix/anvil[21698]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 05:23:08
        Sep 19 05:26:29 searcraft postfix/anvil[21698]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 05:23:08
        Sep 19 05:26:29 searcraft postfix/anvil[21698]: statistics: max cache size 1 at Sep 19 05:23:08
        Sep 19 05:56:35 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 05:57:05 searcraft postfix/smtp[21791]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 05:57:35 searcraft postfix/smtp[21791]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 05:57:35 searcraft postfix/smtp[21791]: 412822A23F02: to=<user@example.com>, relay=none, delay=139027, delays=138967/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out)
        Sep 19 06:19:09 searcraft postfix/smtpd[21854]: connect from dslb-084-061-151-054.084.061.pools.vodafone-ip.de[84.61.151.54]
        Sep 19 06:19:09 searcraft postfix/smtpd[21854]: disconnect from dslb-084-061-151-054.084.061.pools.vodafone-ip.de[84.61.151.54]
        Sep 19 06:22:30 searcraft postfix/anvil[21856]: statistics: max connection rate 1/60s for (smtp:84.61.151.54) at Sep 19 06:19:09
        Sep 19 06:22:30 searcraft postfix/anvil[21856]: statistics: max connection count 1 for (smtp:84.61.151.54) at Sep 19 06:19:09
        Sep 19 06:22:30 searcraft postfix/anvil[21856]: statistics: max cache size 1 at Sep 19 06:19:09
        Sep 19 07:06:37 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 07:07:07 searcraft postfix/smtp[22075]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 07:07:37 searcraft postfix/smtp[22075]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 07:07:37 searcraft postfix/smtp[22075]: 412822A23F02: to=<user@example.com>, relay=none, delay=143228, delays=143168/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
        Sep 19 07:41:00 searcraft postfix/smtpd[22385]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
        Sep 19 07:41:00 searcraft postfix/smtpd[22385]: connect from unknown[89.248.169.36]
        Sep 19 07:41:00 searcraft postfix/smtpd[22385]: lost connection after EHLO from unknown[89.248.169.36]
        Sep 19 07:41:00 searcraft postfix/smtpd[22385]: disconnect from unknown[89.248.169.36]
        Sep 19 07:44:20 searcraft postfix/anvil[22387]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 07:41:00
        Sep 19 07:44:20 searcraft postfix/anvil[22387]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 07:41:00
        Sep 19 07:44:20 searcraft postfix/anvil[22387]: statistics: max cache size 1 at Sep 19 07:41:00
        Sep 19 08:16:37 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 08:17:07 searcraft postfix/smtp[22531]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 08:17:37 searcraft postfix/smtp[22531]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 08:17:37 searcraft postfix/smtp[22531]: 412822A23F02: to=<user@example.com>, relay=none, delay=147428, delays=147368/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
        Sep 19 09:26:38 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 09:27:08 searcraft postfix/smtp[22768]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 09:27:38 searcraft postfix/smtp[22768]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 09:27:38 searcraft postfix/smtp[22768]: 412822A23F02: to=<user@example.com>, relay=none, delay=151629, delays=151569/0.03/60/0, dsn=4.4.1, status=deferred (connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out)
        Sep 19 09:59:19 searcraft postfix/smtpd[22876]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
        Sep 19 09:59:19 searcraft postfix/smtpd[22876]: connect from unknown[89.248.169.36]
        Sep 19 09:59:20 searcraft postfix/smtpd[22876]: lost connection after EHLO from unknown[89.248.169.36]
        Sep 19 09:59:20 searcraft postfix/smtpd[22876]: disconnect from unknown[89.248.169.36]
        Sep 19 10:02:40 searcraft postfix/anvil[22878]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 09:59:19
        Sep 19 10:02:40 searcraft postfix/anvil[22878]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 09:59:19
        Sep 19 10:02:40 searcraft postfix/anvil[22878]: statistics: max cache size 1 at Sep 19 09:59:19
        Sep 19 10:36:38 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 10:37:08 searcraft postfix/smtp[22986]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 10:37:38 searcraft postfix/smtp[22986]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 10:37:38 searcraft postfix/smtp[22986]: 412822A23F02: to=<user@example.com>, relay=none, delay=155829, delays=155769/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
        Sep 19 11:10:03 searcraft dovecot: pop3-login: Disconnected (no auth attempts in 3 secs): user=<>, rip=71.6.158.166, lip=149.91.81.92, session=<TxBordg8jgBHBp6m>
        Sep 19 11:46:38 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 11:47:08 searcraft postfix/smtp[23214]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 11:47:38 searcraft postfix/smtp[23214]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 11:47:38 searcraft postfix/smtp[23214]: 412822A23F02: to=<user@example.com>, relay=none, delay=160029, delays=159969/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out)
        Sep 19 12:17:55 searcraft postfix/smtpd[23312]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
        Sep 19 12:17:55 searcraft postfix/smtpd[23312]: connect from unknown[89.248.169.36]
        Sep 19 12:17:55 searcraft postfix/smtpd[23312]: lost connection after EHLO from unknown[89.248.169.36]
        Sep 19 12:17:55 searcraft postfix/smtpd[23312]: disconnect from unknown[89.248.169.36]
        Sep 19 12:21:16 searcraft postfix/anvil[23314]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 12:17:55
        Sep 19 12:21:16 searcraft postfix/anvil[23314]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 12:17:55
        Sep 19 12:21:16 searcraft postfix/anvil[23314]: statistics: max cache size 1 at Sep 19 12:17:55
        Sep 19 12:56:39 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 12:57:09 searcraft postfix/smtp[23512]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 12:57:39 searcraft postfix/smtp[23512]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 12:57:39 searcraft postfix/smtp[23512]: 412822A23F02: to=<user@example.com>, relay=none, delay=164230, delays=164170/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out)
        Sep 19 14:06:40 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 14:07:10 searcraft postfix/smtp[23852]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 14:07:40 searcraft postfix/smtp[23852]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 14:07:40 searcraft postfix/smtp[23852]: 412822A23F02: to=<user@example.com>, relay=none, delay=168431, delays=168371/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
        Sep 19 14:34:57 searcraft postfix/smtpd[23962]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
        Sep 19 14:34:57 searcraft postfix/smtpd[23962]: connect from unknown[89.248.169.36]
        Sep 19 14:34:57 searcraft postfix/smtpd[23962]: lost connection after EHLO from unknown[89.248.169.36]
        Sep 19 14:34:57 searcraft postfix/smtpd[23962]: disconnect from unknown[89.248.169.36]
        Sep 19 14:38:17 searcraft postfix/anvil[23964]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 14:34:57
        Sep 19 14:38:17 searcraft postfix/anvil[23964]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 14:34:57
        Sep 19 14:38:17 searcraft postfix/anvil[23964]: statistics: max cache size 1 at Sep 19 14:34:57
        Sep 19 15:16:41 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 15:17:11 searcraft postfix/smtp[24342]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 15:17:41 searcraft postfix/smtp[24342]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 15:17:41 searcraft postfix/smtp[24342]: 412822A23F02: to=<user@example.com>, relay=none, delay=172632, delays=172572/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
        Sep 19 16:26:41 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 16:27:11 searcraft postfix/smtp[24951]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 16:27:41 searcraft postfix/smtp[24951]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 16:27:41 searcraft postfix/smtp[24951]: 412822A23F02: to=<user@example.com>, relay=none, delay=176833, delays=176772/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
        Sep 19 16:52:24 searcraft postfix/smtpd[25417]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36
        Sep 19 16:52:24 searcraft postfix/smtpd[25417]: connect from unknown[89.248.169.36]
        Sep 19 16:52:24 searcraft postfix/smtpd[25417]: lost connection after EHLO from unknown[89.248.169.36]
        Sep 19 16:52:24 searcraft postfix/smtpd[25417]: disconnect from unknown[89.248.169.36]
        Sep 19 16:55:44 searcraft postfix/anvil[25419]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 19 16:52:24
        Sep 19 16:55:44 searcraft postfix/anvil[25419]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 19 16:52:24
        Sep 19 16:55:44 searcraft postfix/anvil[25419]: statistics: max cache size 1 at Sep 19 16:52:24
        Sep 19 17:36:42 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active)
        Sep 19 17:37:12 searcraft postfix/smtp[26930]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out
        Sep 19 17:37:42 searcraft postfix/smtp[26930]: connect to example.com[93.184.216.34]:25: Connection timed out
        Sep 19 17:37:42 searcraft postfix/smtp[26930]: 412822A23F02: to=<user@example.com>, relay=none, delay=181033, delays=180973/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out)
        Sep 19 18:11:07 searcraft postfix/pickup[27501]: 3F2062A23F3A: uid=0 from=<root@searcraft>
        Sep 19 18:11:07 searcraft postfix/cleanup[27896]: 3F2062A23F3A: message-id=<20160919161107.3F2062A23F3A@searcraft>
        Sep 19 18:11:07 searcraft postfix/qmgr[19133]: 3F2062A23F3A: from=<root@searcraft>, size=320, nrcpt=1 (queue active)
        Sep 19 18:11:07 searcraft postfix/local[27900]: 3F2062A23F3A: to=<user@searcraft>, relay=local, delay=0.21, delays=0.14/0.03/0/0.04, dsn=5.1.1, status=bounced (unknown user: "user")
        Sep 19 18:11:07 searcraft postfix/cleanup[27896]: 5A3962A23F3B: message-id=<20160919161107.5A3962A23F3B@searcraft>
        Sep 19 18:11:07 searcraft postfix/bounce[27901]: 3F2062A23F3A: sender non-delivery notification: 5A3962A23F3B
        Sep 19 18:11:07 searcraft postfix/qmgr[19133]: 5A3962A23F3B: from=<>, size=1967, nrcpt=1 (queue active)
        Sep 19 18:11:07 searcraft postfix/qmgr[19133]: 3F2062A23F3A: removed
        Sep 19 18:11:07 searcraft postfix/local[27900]: 5A3962A23F3B: to=<root@searcraft>, relay=local, delay=0.05, delays=0/0/0/0.05, dsn=2.0.0, status=sent (delivered to mailbox)
        Sep 19 18:11:07 searcraft postfix/qmgr[19133]: 5A3962A23F3B: removed

         Cordialement

        • Partager sur Facebook
        • Partager sur Twitter
          20 septembre 2016 à 14:53:26

          mail user, tout simplement. Je ne mets pas de carbon copy et renseigne un objet ainsi qu'un contenu.
          • Partager sur Facebook
          • Partager sur Twitter
            20 septembre 2016 à 23:48:13

            Dans le main.cf le parametre mydomain
            • Partager sur Facebook
            • Partager sur Twitter
            Les petites choses ont leur importance ; c'est toujours par elles qu'on se perd. Auteur: Fedor Dostoïevski
              21 septembre 2016 à 8:39:48


              elalittle

              Voici les logs après envoi à user@searcraft.fr

               
              Sep 21 01:06:54 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active) Sep 21 01:07:24 searcraft postfix/smtp[16698]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out Sep 21 01:07:54 searcraft postfix/smtp[16698]: connect to example.com[93.184.216.34]:25: Connection timed out Sep 21 01:07:54 searcraft postfix/smtp[16698]: 412822A23F02: to=<user@example.com>, relay=none, delay=294446, delays=294385/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out) Sep 21 01:18:35 searcraft postfix/smtpd[16741]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36 Sep 21 01:18:35 searcraft postfix/smtpd[16741]: connect from unknown[89.248.169.36] Sep 21 01:18:35 searcraft postfix/smtpd[16741]: lost connection after EHLO from unknown[89.248.169.36] Sep 21 01:18:35 searcraft postfix/smtpd[16741]: disconnect from unknown[89.248.169.36] Sep 21 01:21:55 searcraft postfix/anvil[16743]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 21 01:18:35 Sep 21 01:21:55 searcraft postfix/anvil[16743]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 21 01:18:35 Sep 21 01:21:55 searcraft postfix/anvil[16743]: statistics: max cache size 1 at Sep 21 01:18:35 Sep 21 02:16:54 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active) Sep 21 02:17:24 searcraft postfix/smtp[16959]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out Sep 21 02:17:54 searcraft postfix/smtp[16959]: connect to example.com[93.184.216.34]:25: Connection timed out Sep 21 02:17:54 searcraft postfix/smtp[16959]: 412822A23F02: to=<user@example.com>, relay=none, delay=298646, delays=298585/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out) Sep 21 03:26:55 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active) Sep 21 03:27:25 searcraft postfix/smtp[17210]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out Sep 21 03:27:55 searcraft postfix/smtp[17210]: connect to example.com[93.184.216.34]:25: Connection timed out Sep 21 03:27:55 searcraft postfix/smtp[17210]: 412822A23F02: to=<user@example.com>, relay=none, delay=302847, delays=302787/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out) Sep 21 03:29:30 searcraft postfix/smtpd[17232]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36 Sep 21 03:29:30 searcraft postfix/smtpd[17232]: connect from unknown[89.248.169.36] Sep 21 03:29:30 searcraft postfix/smtpd[17232]: lost connection after EHLO from unknown[89.248.169.36] Sep 21 03:29:30 searcraft postfix/smtpd[17232]: disconnect from unknown[89.248.169.36] Sep 21 03:32:50 searcraft postfix/anvil[17234]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 21 03:29:30 Sep 21 03:32:50 searcraft postfix/anvil[17234]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 21 03:29:30 Sep 21 03:32:50 searcraft postfix/anvil[17234]: statistics: max cache size 1 at Sep 21 03:29:30 Sep 21 04:36:57 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active) Sep 21 04:37:27 searcraft postfix/smtp[17464]: connect to example.com[93.184.216.34]:25: Connection timed out Sep 21 04:37:57 searcraft postfix/smtp[17464]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out Sep 21 04:37:57 searcraft postfix/smtp[17464]: 412822A23F02: to=<user@example.com>, relay=none, delay=307048, delays=306988/0.01/60/0, dsn=4.4.1, status=deferred (connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out) Sep 21 05:37:46 searcraft postfix/smtpd[17683]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36 Sep 21 05:37:46 searcraft postfix/smtpd[17683]: connect from unknown[89.248.169.36] Sep 21 05:37:46 searcraft postfix/smtpd[17683]: lost connection after EHLO from unknown[89.248.169.36] Sep 21 05:37:46 searcraft postfix/smtpd[17683]: disconnect from unknown[89.248.169.36] Sep 21 05:41:07 searcraft postfix/anvil[17685]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 21 05:37:46 Sep 21 05:41:07 searcraft postfix/anvil[17685]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 21 05:37:46 Sep 21 05:41:07 searcraft postfix/anvil[17685]: statistics: max cache size 1 at Sep 21 05:37:46 Sep 21 05:46:58 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active) Sep 21 05:47:28 searcraft postfix/smtp[17722]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out Sep 21 05:47:58 searcraft postfix/smtp[17722]: connect to example.com[93.184.216.34]:25: Connection timed out Sep 21 05:47:58 searcraft postfix/smtp[17722]: 412822A23F02: to=<user@example.com>, relay=none, delay=311249, delays=311189/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out) Sep 21 06:56:58 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active) Sep 21 06:57:28 searcraft postfix/smtp[18157]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out Sep 21 06:57:58 searcraft postfix/smtp[18157]: connect to example.com[93.184.216.34]:25: Connection timed out Sep 21 06:57:58 searcraft postfix/smtp[18157]: 412822A23F02: to=<user@example.com>, relay=none, delay=315449, delays=315389/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out) Sep 21 07:47:26 searcraft postfix/smtpd[19018]: warning: hostname no-reverse-dns-configured.com does not resolve to address 89.248.169.36 Sep 21 07:47:26 searcraft postfix/smtpd[19018]: connect from unknown[89.248.169.36] Sep 21 07:47:26 searcraft postfix/smtpd[19018]: lost connection after EHLO from unknown[89.248.169.36] Sep 21 07:47:26 searcraft postfix/smtpd[19018]: disconnect from unknown[89.248.169.36] Sep 21 07:50:46 searcraft postfix/anvil[19020]: statistics: max connection rate 1/60s for (smtp:89.248.169.36) at Sep 21 07:47:26 Sep 21 07:50:46 searcraft postfix/anvil[19020]: statistics: max connection count 1 for (smtp:89.248.169.36) at Sep 21 07:47:26 Sep 21 07:50:46 searcraft postfix/anvil[19020]: statistics: max cache size 1 at Sep 21 07:47:26 Sep 21 08:06:59 searcraft postfix/qmgr[19133]: 412822A23F02: from=<root@searcraft>, size=307, nrcpt=1 (queue active) Sep 21 08:07:29 searcraft postfix/smtp[19119]: connect to example.com[2606:2800:220:1:248:1893:25c8:1946]:25: Connection timed out Sep 21 08:07:59 searcraft postfix/smtp[19119]: connect to example.com[93.184.216.34]:25: Connection timed out Sep 21 08:07:59 searcraft postfix/smtp[19119]: 412822A23F02: to=<user@example.com>, relay=none, delay=319650, delays=319590/0.02/60/0, dsn=4.4.1, status=deferred (connect to example.com[93.184.216.34]:25: Connection timed out) Sep 21 08:33:26 searcraft postfix/pickup[19183]: 6C8542A20F71: uid=0 from=<root@searcraft> Sep 21 08:33:26 searcraft postfix/cleanup[19284]: 6C8542A20F71: message-id=<20160921063326.6C8542A20F71@searcraft> Sep 21 08:33:26 searcraft postfix/qmgr[19133]: 6C8542A20F71: from=<root@searcraft>, size=323, nrcpt=1 (queue active) Sep 21 08:33:26 searcraft postfix/trivial-rewrite[19285]: warning: do not list domain searcraft.fr in BOTH mydestination and virtual_mailbox_domains Sep 21 08:33:26 searcraft postfix/local[19288]: 6C8542A20F71: to=<user@searcraft.fr>, relay=local, delay=0.12, delays=0.07/0.02/0/0.03, dsn=5.1.1, status=bounced (unknown user: "user") Sep 21 08:33:26 searcraft postfix/cleanup[19284]: 7FB6F2A21092: message-id=<20160921063326.7FB6F2A21092@searcraft> Sep 21 08:33:26 searcraft postfix/bounce[19289]: 6C8542A20F71: sender non-delivery notification: 7FB6F2A21092 Sep 21 08:33:26 searcraft postfix/qmgr[19133]: 7FB6F2A21092: from=<>, size=1976, nrcpt=1 (queue active) Sep 21 08:33:26 searcraft postfix/qmgr[19133]: 6C8542A20F71: removed Sep 21 08:33:26 searcraft postfix/local[19288]: 7FB6F2A21092: to=<root@searcraft>, relay=local, delay=0.02, delays=0/0/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox) Sep 21 08:33:26 searcraft postfix/qmgr[19133]: 7FB6F2A21092: removed

              gmormorromrom

              Je n'ai pas trouvé le paramètre mydomain, en revanche voici ce qui est spécifié dans mydestination :

              mydestination = searcraft.fr, searcraft, localhost.localdomain, localhost
              • Partager sur Facebook
              • Partager sur Twitter
                21 septembre 2016 à 11:59:15

                Voici :

                root@searcraft:~# cat /etc/passwd |grep user
                dovenull:x:109:115:Dovecot login user,,,:/nonexistent:/bin/false
                root@searcraft:~#
                
                • Partager sur Facebook
                • Partager sur Twitter
                  21 septembre 2016 à 12:27:12

                  Tu n'as donc pas d'utilisateur user, tu ne peux donc pas envoyer de mail à user@searcraft.fr

                  Si tu veux envoyer et recevoir un mail, il faut l'envoyer à un de tes utilisateurs qui existe !

                  • Partager sur Facebook
                  • Partager sur Twitter
                    21 septembre 2016 à 14:08:41

                    OK, donc à chaque fois que je crée une adresse avec postfixadmin, il faut obligatoirement que je crée un utilisateur sur le système ?
                    • Partager sur Facebook
                    • Partager sur Twitter
                      21 septembre 2016 à 14:25:36

                      Non, cela dépend de comment tu configures postfix. 

                      Si tu le configures pour qu'il utilise tes utilisateurs unix, alors oui, mais dans ce cas postfixadmin devrait aussi être configuré de la sorte.

                      Si tu le configures pour des utilisateurs virtuels ou en BDD, ce ne sera pas nécessaire, et plus sécurisé. 

                      Je pense qu'il faut avant tout que tu comprennes bien comment fonctionne un serveur de messagerie avant de te lancer plus loin, car là j'ai l'impression que tu nages ;-)

                      • Partager sur Facebook
                      • Partager sur Twitter
                        21 septembre 2016 à 20:36:10

                        Apparement ton domain d apres la configuration est cible vers la base de donnee mysql donc consulte ta base de donnee avec phpmyadmin et trouve si l utilisateur virtuel existe ainsi que ton domaine . Ne pas oublier de tester si la connectiviter existe entre la base et ton programme
                        • Partager sur Facebook
                        • Partager sur Twitter
                        Les petites choses ont leur importance ; c'est toujours par elles qu'on se perd. Auteur: Fedor Dostoïevski
                          22 septembre 2016 à 19:33:11


                          Bonjour à vous deux,

                          Postfix est bien relié à ma base de données et l'utilisateur créé :

                          root@searcraft:~# postmap -q user@searcraft.fr mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
                          1
                          root@searcraft:~#
                          
                          • Partager sur Facebook
                          • Partager sur Twitter
                            7 octobre 2016 à 1:08:56

                            j ai trouvé ton "dns reverse" ne fonctionne pas convenablement

                            donc c un problème au niveau de ton application dns programme BIND .

                            tu as le choix de ne pas utiliser ton dns local en paramétrant le main.cf comme ceci 

                            disable_dns_lookups = yes

                            et biensure en éditant ton 

                            /etc/hosts 

                            avec adresse ip et nom du host

                            example 

                            192.168.1.1 pop.searcraft.fr smtp.searcraft.fr
                            
                            


                            autre chose y a quelque chose qui va pas, tes envoient se dirigent vers le domaine example.com 

                            c'est très étrange 

                            fais une recherche dans ta base de donnée ou dans postfix 

                            grep "example.com" /etc/postfix/*

                            Le programme postfix est intiment lié au DNS alors fait trés attention c'est dékicat .

                            -
                            Edité par gmormorromrom 7 octobre 2016 à 1:43:39

                            • Partager sur Facebook
                            • Partager sur Twitter
                            Les petites choses ont leur importance ; c'est toujours par elles qu'on se perd. Auteur: Fedor Dostoïevski
                              9 octobre 2016 à 18:12:47

                              Bonsoir !

                              Merci beaucoup de ta réponse, je pense qu'on progresse (ou pas :p)

                              Je ne trouve pas le paramètre disable_dns_lookups dans mon main.cf...

                              Que dois-je modifier exactement dans /etc/hosts ? En voici le contenu :

                              ff02::1         ip6-allnodes
                              ff02::2         ip6-allrouters
                              
                              127.0.0.1 localhost.localdomain localhost
                              # Auto-generated hostname. Please do not remove this comment.
                              149.91.81.92 searcraft
                              ::1             localhost ip6-localhost ip6-loopback

                              Et voici la sortie de la commande grep

                              root@searcraft:~# grep "example.com" /etc/postfix/*.*
                              root@searcraft:~#
                              

                              Donc malheureusement rien du tout :c

                              Encore merci tout de même.


                              • Partager sur Facebook
                              • Partager sur Twitter
                                11 octobre 2016 à 2:48:23

                                ---/ EDIT \---

                                Dit moi juste une autre question tu as installé roundcube ? si oui regarde dans  /etc/apache2/sites-available ton VirtualHost webmail, la config est basée sur 'exemple.com', t'en aurais pas laissé trainer un ?

                                ---\ **** /---

                                Bonjour,

                                Déjà chez qui est ton vps ?

                                Si tu veut  tu peut tester ces deux choses, c'est ce que j'ai du faire sur un des vps que j'avais.

                                La première, virer le NDD de ton main.cf

                                #mydestination = searcraft.fr, searcraft, localhost.localdomain, localhost
                                
                                mydestination = localhost.localdomain, localhost

                                et la tu relance postfix et dovecot

                                service postfix restart
                                service dovecot restart

                                puis

                                echo test | mail user@searcraft.fr





                                La seconde elle risque de t'obliger à réinstaller tout l'ensemble postfixadmin, postfix, dovecote, en faite je ne sais pas dans qu'elle mesure ca peut les corrompre de le virer après l’installation.

                                apt-get purge sendmail*

                                Si il est installé par défaut sur ta config celui-ci c'est un monstre de configuration, mais c'est un MTA comme postfix, de plus pour ne pas compliquer la chose postfix fonctionne avec un sendmail mais ce n'est pas le même c'est un homonyme.

                                Pour résoudre mon problème je suis partis sur une nouvelle base debian, j'ai viré d'office le sendmail près-installé, et j'ai refait toute la procédure d'installation en ayant pris soins de supprimer les bases de données postfixadmin et mailuser.

                                Une fois l’installation faite je n'ai pas placé mon NDD dans mydestination =, et la je peut me planter dans ce que je vais dire mail il me semble que le reverse DNS n'y est pas innocent, quand au exemple.com c'est peut être bien celui du MTA sendmail si jamais il est installé, bien-sur il existe une procédure pour éviter son activation, si la encore je ne dit pas de bêtises en faisant un truc du genre :

                                # cd /usr/sbin
                                # mv sendmail sendmail.OFF
                                # ./sendmail.OFF -q
                                # mv /usr/bin/newaliases /usr/bin/newaliases.OFF
                                # mv /usr/bin/mailq /usr/bin/mailq.OFF
                                # chmod 0 /usr/sbin/sendmail.OFF /usr/bin/newaliases.OFF \
                                       /usr/bin/mailq.OFF
                                # ln -s /usr/local/sbin/sendmail /usr/sbin/sendmail
                                # ln -s /usr/local/sbin/sendmail /usr/bin/mailq 
                                # ln -s /usr/local/sbin/sendmail /usr/bin/newaliases

                                le plus simple reste quand même pour tester, virer postfixadmin, postfix, dovecote, la purge avec l'etoile (tres important) sur sendmail et refaire l'install sans oublier de corriger par rapport au tuto que tu a suivit :


                                10-ssl.conf :

                                # SSL/TLS support: yes, no, required. <doc wiki="" ssl.txt="">
                                ssl = yes

                                man.cf :

                                userdb {
                                driver = static
                                args = uid=vmail gid=vmail home=/var/vmail/%d/%n/Maildir
                                }



                                Et virer le NDD du mydestination, dit moi ce que ca donne perso je bloque sur l'envoi distant à ce stade


                                -
                                Edité par exen 11 octobre 2016 à 22:58:19

                                • Partager sur Facebook
                                • Partager sur Twitter

                                Compos sui.

                                  11 octobre 2016 à 20:41:54

                                  Voire le tuto suivant il pourra te guider  https://www.tictech.info/post/mail_postfix
                                  • Partager sur Facebook
                                  • Partager sur Twitter
                                  Les petites choses ont leur importance ; c'est toujours par elles qu'on se perd. Auteur: Fedor Dostoïevski
                                    11 octobre 2016 à 21:54:45

                                    https://www.tictech.info/post/mail_postfix

                                    Mais c'est de celui-ci que nous venons plagoutte et moi ;)

                                    Et avec tout ca j'ai toujours pas finit mon cours Le routage sur tcp-ip. lol



                                    -
                                    Edité par exen 11 octobre 2016 à 22:00:16

                                    • Partager sur Facebook
                                    • Partager sur Twitter

                                    Compos sui.

                                      12 octobre 2016 à 15:57:28

                                      Bonjour à tous !

                                      Dit moi juste une autre question tu as installé roundcube ? si oui regarde dans  /etc/apache2/sites-available ton VirtualHost webmail, la config est basée sur 'exemple.com', t'en aurais pas laissé trainer un ?

                                      Je n'ai pas configuré de virtualhost pour RoundCube.

                                      Déjà chez qui est ton vps ?

                                      PulseHeberg

                                      La première, virer le NDD de ton main.cf

                                      Ah je sens que c'est quasi résolu !! Voici les logs :

                                       Oct 12 15:51:37 searcraft dovecot: imap-login: Login: user=<user@searcraft.fr>, method=PLAIN, rip=::1, lip=::1, mpid=25009, secured, session=<j2G1Sqs+/wAAAAAAAAAAAAAAA$
                                      Oct 12 15:51:37 searcraft dovecot: imap(user@searcraft.fr): Disconnected: Logged out in=50 out=469
                                      Oct 12 15:51:39 searcraft postfix/pickup[24835]: A02702A210D0: uid=0 from=<root@searcraft>
                                      Oct 12 15:51:39 searcraft postfix/cleanup[25014]: A02702A210D0: message-id=<20161012135139.A02702A210D0@searcraft>
                                      Oct 12 15:51:39 searcraft postfix/qmgr[24836]: A02702A210D0: from=<root@searcraft>, size=308, nrcpt=1 (queue active)
                                      Oct 12 15:51:39 searcraft postfix/pipe[25018]: A02702A210D0: to=<user@searcraft.fr>, relay=dovecot, delay=0.07, delays=0.03/0.01/0/0.03, dsn=4.3.0, status=deferred (te$
                                      
                                      

                                      En revanche voici la sortie d'un tree /var/mail :

                                      root@searcraft:~# tree /var/mail
                                      /var/mail
                                      |-- pierre
                                      `-- root
                                      
                                      0 directories, 2 files
                                      root@searcraft:~#
                                      

                                      Donc il y a encore un truc qui coince...

                                      La seconde elle risque de t'obliger à réinstaller tout l'ensemble postfixadmin, postfix, dovecote, en faite je ne sais pas dans qu'elle mesure ca peut les corrompre de le virer après l’installation.

                                      Merci pour les explications ! Je tenterai demain si personne ne trouve autre chose :p

                                      Mais c'est de celui-ci que nous venons plagoutte et moi ;)

                                      Exact ^^

                                      • Partager sur Facebook
                                      • Partager sur Twitter
                                        12 octobre 2016 à 20:12:28

                                        Tu a configuré l'arrivé de tes mail dans /var/mail/ ?

                                        Parce que le tuto c'est sur /var/vmail/ si tu a suivit le tuto à la lettre regarde

                                        tree /var/vmail/


                                        si le mail à ete delivré tu devrait avoir d'écrit à la fin de la dernière ligne :

                                        status=sent (delivered via dovecot service)





                                        • Partager sur Facebook
                                        • Partager sur Twitter

                                        Compos sui.

                                        POSTFIX : Unknow user

                                        × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
                                        × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
                                        • Editeur
                                        • Markdown