logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 29-01-2013 15:03:20

Fab
Membre
Distrib. : Squeeze
Noyau : Linux debian 2.6.32-5-amd64
(G)UI : Gnome 2.30.2
Inscription : 12-03-2012

Config NDD ou Postfix pour ISPConfig 3

Hello

je reviens vers vous après pas mal de temps pour vous exposer mon problème :

j'ai pris un nouveau dédié kimsufi pour faire des tests, j'ai choisi l'install automatique debian sqeeze +isp config3.

zéro problème, j'ai mis à jour ISP Config avec la dernière version stable, déclarer un client avec un NDD que je possède, je ne sais pas où configurer ni quoi configurer d'ailleurs pour pouvoir recevoir des mails.

D'office, j'arrive à envoyer avec l'adresse que j'ai créé "fp@nddd.net", mais impossible de recevoir les mails

voilà le message d'erreur


Delivery to the following recipient failed permanently:

     fp@ndd.net

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient

domain ndd.net
.net by spool.mail.gandi.net. [2001:4b98:c:521::6].

The error that the other server returned was:
550 5.1.1 <fp@ndd.net>: Recipient address rejected: User unknown in virtual mailbox table

----- Original message -----

DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:x-received:in-reply-to:references:date:message-id
         :subject:from:to:content-type;
        bh=COGWMlk9Bl8ei2IEDccF7LW4xwYNRU0S9SUny1Xb0r4=;
        b=kFXtDNLPmu6yC7GTCDX4WXKJlgvPCG3pNxSlUkmjqlhCdU3L1+r4V/Xh2RKFYcrCUq
         2p/pus05Qy8209J5hoXvJ5E77Oh8oM48ss46sWRSyDKjXbIK5I+xL9Ka6iLVf87N86em
         qLyv3SbE0Lz037aABNszQjGv5LgdIDwCVPFts+o7KwAuzPMJfhpgs5U8KW9bD+9z2fwg
         h4GkUZ0tSlVcBWo9f7xHAxDy5gHeXGSAhT723ouvJxUssDc28g7R9cnpViz/aNCQfy1H
         CdLxztWUT/sFHjTT0AnJrcnPAvSwgRDAtoEhSmp+g5UlilkLVtOJDnKSu5ugT5v//tiL
         tHuA==
MIME-Version: 1.0
X-Received: by 10.180.78.137 with SMTP id b9mr1852278wix.30.1359459091237;
Tue, 29 Jan 2013 03:31:31 -0800 (PST)
Received: by 10.181.13.18 with HTTP; Tue, 29 Jan 2013 03:31:31 -0800 (PST)
In-Reply-To: <1603029f871024df143e06c1eb825511@localhost>
References: <1603029f871024df143e06c1eb825511@localhost>
Date: Tue, 29 Jan 2013 12:31:31 +0100
Message-ID: <CAOhsKbrfzh8ZSX+FTcgUUwoq3HD9wOeCNxcr2nx5uEudFek4aw@mail.gmail.com>
Subject: Re: test envois depuis webmail
From: Fabrice  <mon_adresse@>
To: fp@ndd.net
Content-Type: multipart/alternative; boundary=f46d0435c03c384bc504d46bbccd




Voici ma config NDD



Nom (10/10)     Type     Valeur           TTL         
*            A                   5.135.154.218           3h         
@             A                 5.135.154.218           3h     
www      A                 5.135.154.218           3h     
blog       CNAME     blogs.vip.gandi.net.           3h     
imap       CNAME     access.mail.gandi.net.         3h     
pop        CNAME     access.mail.gandi.net.     3h     
webmail     CNAME     agent.mail.gandi.net.         3h     
@             MX         fb.mail.gandi.net. (50)          3h     
@           MX            spool.mail.gandi.net. (10)     3h



je sais / pense que ça vient du spool.mail.gandi.net, je ne sais pas quoi mettre ni ou changer, est ce ici ou dans la config de postfix, je ne sais pas quoi mettre, ni ou ?

mon fichier config 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 (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 = /usr/share/doc/postfix

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.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 = ks3298666.kimsufi.com
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
myorigin = /etc/mailname
mydestination = ks3298666.kimsufi.com, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, pro$
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, ch$
smtpd_tls_security_level = may
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $vir$
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtua$
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtua$
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = dovecot
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
smtpd_client_message_rate_limit = 100
owner_request_special = no
inet_protocols = all




je sens que je suis proche du but mais pour le moment je sèche

si vous avez des idées, je suis preneur

un grand merci d'avance big_smile

Edit

je me demande si je dois modifier mes zones DNS/MX etc en mettant mon kimsufi ou modifier la config postfix en mettant le spool.mail.gandi.net., en soit je préferais laissé mes zones intactes mais comme l'idée serait d'avoir plusieurs domaine hebergé sur le didié, si je modifie postfix en mettant les paramettres gandi de mon NDD, j'imagine que ça posera probleme pour les autres NDD s'ils ne sont pas chez gandi. Bref l'idée etant de faire le plus simple et fiable possible et pour ça j'imagine qu'il faut modifie les paramtrage gandi mais je ne sais pas trop comment

j'espere etre clair tongue

Dernière modification par Fab (29-01-2013 16:39:15)

Hors ligne

#2 07-02-2013 12:02:18

Fab
Membre
Distrib. : Squeeze
Noyau : Linux debian 2.6.32-5-amd64
(G)UI : Gnome 2.30.2
Inscription : 12-03-2012

Re : Config NDD ou Postfix pour ISPConfig 3

Bon j'ai testé d'autres OS proposés en install auto chez OVH (OwnCloud et Ubuntu Desktop pas mal du tout en passant) j'ai réinstallé ISPConfig avec Debian et là tout fonctionne, je pense donc que cela venait de la config des zones de mon NDD.

cette ligne notamment que j'ai changé

@   MX  ks3298666.kimsufi.com. (10)   3h



je vais tester sur mon serveur en prod et je re vers vous

Hors ligne

#3 07-02-2013 16:58:19

Fab
Membre
Distrib. : Squeeze
Noyau : Linux debian 2.6.32-5-amd64
(G)UI : Gnome 2.30.2
Inscription : 12-03-2012

Re : Config NDD ou Postfix pour ISPConfig 3

C’était bien ça, un bête problème de zone NDD

Je n'ai changé que celle que j'ai indiqué au dessus, les autres imap, pop etc je n'y ai pas touchées sachant que pour le moment je ne suis qu'en web mail.

je vais donc tester en configurant outlook ou thunderbird pour voir si mon raisonnement est le bon tongue

J'en ai profité pour virer mon squiremail pour mettre roundcube sans trop de difficulté en suivant comme base un tuto sur howtoforge

Hors ligne

Pied de page des forums