URL: https://linuxfr.org/forums/linux-debian-ubuntu/posts/postfix-mysql-et-mon-nom-de-domaine-domaine-eurodns Title: Postfix-mysql et mon nom de domaine domaine eurodns Authors: EPROM Date: 2007年06月22日T02:25:33+02:00 Tags: debian Score: 0 J'ai configué postfix selon le tuto «Installation complète d'un serveur web sous Debian par Olivier Lange» (très bon tuto en passant). Mes utilisateurs peuvent envoyer et recevoir des mails avec postfix en utilisant le nom d'hôte ks35845.kimsufi.com (le domaine qui est sous l'autorité du serveur de nom ns.ovh.net 212.27.32.132. J'ai configuré un serveur de nom sur mon kimsufi qui fait autorité sur la zone petsknowledge.fr (le nom de domaine que je veux voir apparaître dans les mails envoyés par mon ks35845). Ma zone :
$TTL 86400 @ IN SOA ks35845.kimsufi.com. lambda.petsknowledge.fr. ( 2001062501 ; serial 21600 ; refresh after 6 hours 3600 ; retry after 1 hour 604800 ; expire after 1 week 86400 ) ; minimum TTL of 1 day IN NS ks35845.kimsufi.com. IN NS ns.kimsufi.com. IN MX 10 mail.petsknowledge.fr. IN A 213.251.181.65 ftp IN A 213.251.181.65 www IN A 213.251.181.65 mail IN A 213.251.181.65
Mais en changant mes paramètres postfix dans /etc/postfix/main.cf avec ceux ci (afin d'utiliser mon nom de domaine ) :
smtp_banner = $myhostname ESMTP (Debian / GNU) biff = no disable_vrfy_command = yes smtpd_helo_required = yes append_dot_mydomain = no mydestination = petsknowledge.fr, localhost, localhost.petsknowledge.fr, mydomain = petsknowledge.fr myhostname = petsknowledge.fr relayhost = mynetworks = 127.0.0.0/8 inet_interfaces = all smtpd_sender_restrictions = permit_mynetworks, reject_unknown_sender_domain, warn_if_reject reject_unverified_sender smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain, reject_non_fqdn_recipient smtpd_client_restrictions = reject_unknown_client, permit_mynetworks virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_aliases.cf,mysql:/etc/postfix/mysql-virtual_aliases_mailbox.cf virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf virtual_mailbox_base = /var/spool/vmail/ virtual_uid_maps = static:5000 virtual_gid_maps = static:5000 virtual_create_maildirsize = yes virtual_mailbox_extended = yes virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf virtual_mailbox_limit_override = yes virtual_maildir_limit_message = "Desole, la boite email de l'utilisateur est pleine. Veuillez re-essayer plus tard !" virtual_overquota_bounce = yes L'envoi de mail est possible vers certaine boîte seulement !!
chez yahoo ça passe:
postfix/smtp[12503]: BF026588F2: to=<biz_sebATyahoo.fr>, relay=b.mx.mail.yahoo.com[66.196.97.250]:25, delay=10, delays=0.08/0.02/9.5/0.81, dsn=2.0.0, status=sent (250 ok dirdel) Jun 22 01:57:30 ks35845 postfix/qmgr[12386]: BF026588F2: removed Jun 22 01:58:59 ks35845 postfix/pickup[12385]: 35AF3588F2: uid=0 from=
chez educagri ça passe pas:
postfix/smtp[12503]: 35AF3588F2: to=<sebastien.briceATeducagri.fr>, relay=mx.educagri.fr[194.167.15.7]:25, delay=30, delays=0.05/0/13/16, dsn=4.0.0, status=deferred (host mx.educagri.fr[194.167.15.7] said: 450 <rootATpetsknowledge.fr>: Sender address rejected: Domain not found (in reply to RCPT TO command))
sur le serveur mail ovh ça passe pas:
Jun 22 01:55:32 ks35845 postfix/smtp[12427]: 25EE3588EE: host mx1.ovh.net[213.186.33.29] said: 451 DNS temporary failure (#4.3.0) (in reply to MAIL FROM command) Jun 22 01:55:32 ks35845 postfix/smtp[12427]: 25EE3588EE: lost connection with mx1.ovh.net[213.186.33.29] while sending DATA command
De plus lorsque je change les DNS chez mon registrar vers ceux d'un serveur dédiée kimsufi: Serveur 1* ks35845.kimsufi.com 213.251.181.65 Serveur 2* ns.kimsufi.com 213.186.33.199 Eurodns me répond Vérification des noms de serveurs OK mais 5 minutes après que les modifications soient prises en compte mon registrar me gratifie d'un beau mail --->
Important information regarding your domain: petsknowledge.fr The nameservers you declared are more than likely misconfigured: ks35845.kimsufi.com, 213.251.181.65 ns.kimsufi.com, 213.186.33.199 The following error(s) occured: ZONE : petsknowledge.fr. NS <= : ks35845.kimsufi.com. [213.251.181.65] NS : ns.kimsufi.com. [213.186.33.199] _______________ ,---------------.| ~~~~ | warning || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ `---------------' w> Host doesn't reply to ICMP requests (firewall?) => ks35845.kimsufi.com./213.251.181.65 => ns.kimsufi.com./213.186.33.199 w> Reverse for the nameserver IP address doesn't match => ks35845.kimsufi.com./213.251.181.65 _____________ ,-------------.| ~~~~ | fatal || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ `-------------' f> The contact is not consistent with primary nameserver : got contact hostmaster.petsknowledge.fr. instead of : lambda.petsknowledge.fr. as on ks35845.kimsufi.com./213.251.181.65. `..... .. .. . . . => ns.kimsufi.com./213.186.33.199 ==> FAILURE (and 3 warning(s)) Please correct this as soon as possible and keep us informed by mail on staff@eurodns.com so that we can proceed to the update of your domain.
et mes anciens DNS DNS.AFRAID.ORG (obsolètes) restent en place (pas de propagation) Je ne crois pas qu'un problème s'est immiscer à ce niveau maisje ne sais pas comment les fichiers /etc/hosts de ma debian (actuellement un hostname renvoie ks35845.kimsufi.com. Dois je la configurer pour ks35845.petsknowledge.fr !? ) je suis un peu paumé à ce niveau si une âme charitable veut bien daigner montrer de l'intérêt à ce post, merci : Any help would be VERY thanksful

AltStyle によって変換されたページ (->オリジナル) /