BBR
21/01/2015, 19h21
comme quoi faut jamais désespérer même au bout de 10 pages de forum
switch($_GET['erreur'])
{
case '400':
echo 'Échec de l\'analyse HTTP.';
break;
case '401':
echo 'Le pseudo ou le mot de passe n\'est pas correct !';
break;
case '402':
echo 'Le client doit reformuler sa demande avec les bonnes données de paiement.';
break;
case '403':
echo 'Requête interdite !';
break;
case '404':
echo 'La page n\'existe pas ou plus !';
break;
case '405':
echo 'Méthode non autorisée.';
break;
case '500':
echo 'Erreur interne au serveur ou serveur saturé.';
break;
case '501':
echo 'Le serveur ne supporte pas le service demandé.';
break;
case '502':
echo 'Mauvaise passerelle.';
break;
case '503':
echo ' Service indisponible.';
break;
case '504':
echo 'Trop de temps à la réponse.';
break;
case '505':
echo 'Version HTTP non supportée.';
break;
default:
echo 'Erreur !';
}
?>
ErrorDocument 400 /erreur.php?erreur=400 ErrorDocument 401 /erreur.php?erreur=401 ErrorDocument 402 /erreur.php?erreur=402 ErrorDocument 403 /erreur.php?erreur=403 ErrorDocument 404 /erreur.php?erreur=404 ErrorDocument 405 /erreur.php?erreur=405 ErrorDocument 500 /erreur.php?erreur=500 ErrorDocument 501 /erreur.php?erreur=501 ErrorDocument 502 /erreur.php?erreur=502 ErrorDocument 503 /erreur.php?erreur=503 ErrorDocument 504 /erreur.php?erreur=504 ErrorDocument 505 /erreur.php?erreur=505
Notice: Undefined variable: smarty in /var/www/modules/test/action/test.php on line 5 Fatal error: Call to a member function assign() on a non-object in /var/www/modules/test/action/test.php on line 5
/etc/apache2/conf.d/security
ServerTokens Prod ServerSignature Off
/etc/php5/apache2
/etc/php5/cgi/
expose_php = Off
service apache2 restart
undershift.fr. 86400 IN MX 10 undershift.fr.
de Votre adresse IP 91.121.109.27 est associée au nom de domaine mail.undershift.fr.
default._domainkey IN TXT ( "v=DKIM1; k=rsa; " "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB" "gQCc71ECfjsW7NU8VnzDnRwsoJFnRDI6jbFbcB" "1jzfFWM7k7TN46MwW/voag9lE/OG2jhLnoc61m" "a1ki5iGNySvAe4ki7IoDMjJmShs/Fk3kYWTSgc" "Rmo74C8Q1SgTY5N+r1ZUthPgHqhoYHlDSiJRb5" "B9cERs/bDjS8OQzmgjFPFQIDAQAB" ) ; ----- DKIM key default for test-domaine.fr
host 91.121.109.27 27.109.121.91.in-addr.arpa domain name pointer undershift.fr.
dig -x 91.121.109.27 27.109.121.91.in-addr.arpa. 86284 IN PTR undershift.fr.
SPF check: pass DomainKeys check: neutral DKIM check: neutral Sender-ID check: pass SpamAssassin check: ham
dig undershift.fr ANY
;; ANSWER SECTION:
undershift.fr. 86374 IN AAAA 2001:41d0:1:a41b::1
undershift.fr. 53485 IN NS ns348862.ip-91-121-109.eu.
undershift.fr. 53485 IN NS ns.kimsufi.com.
dig @ns348862.ip-91-121-109.eu undershift.fr ANY
undershift.fr. 86400 IN TXT "v=spf1 a mx ip4:91.121.109.27 ~all"
undershift.fr. 86400 IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. 2015011816 43200 3600 1209600 86400
undershift.fr. 86400 IN NS ns348862.ip-91-121-109.eu.
undershift.fr. 86400 IN NS ns.kimsufi.com.
undershift.fr. 86400 IN A 91.121.109.27
undershift.fr. 86400 IN AAAA 2001:41d0:1:a41b::1
undershift.fr. 86400 IN MX 10 undershift.fr.
v=spf1 a mx ip4:91.121.109.27 ip6: 2001:41d0:1:a41b::1 ~all
dig test-domaine.fr ANY
test-domaine.fr. 10800 IN TXT "v=spf1 a:mail.test-domaine.fr ip4:5.196.43.182 ip6:2001:41d0:2:927b::15 -all" test-domaine.fr. 10800 IN SPF "v=spf1 a:mail.test-domaine.fr ip4:5.196.43.182 ip6:2001:41d0:2:927b::15 -all" test-domaine.fr. 10800 IN SOA ns311465.ip-188-165-201.eu. postmaster.test-domaine.fr. 2014092901 10800 3600 1209600 43200 test-domaine.fr. 10800 IN NS ns311465.ip-188-165-201.eu. test-domaine.fr. 10800 IN NS sdns2.ovh.net. test-domaine.fr. 10800 IN NS ns1.rollernet.us. test-domaine.fr. 10800 IN NS ns2.rollernet.us. test-domaine.fr. 10800 IN NS ns2.afraid.org. test-domaine.fr. 10800 IN A 5.196.43.182 test-domaine.fr. 10800 IN AAAA 2001:41d0:2:927b::15 test-domaine.fr. 10800 IN MX 20 mail.rollernet.us. test-domaine.fr. 10800 IN MX 30 mail2.rollernet.us. test-domaine.fr. 10800 IN MX 10 mail.test-domaine.fr.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=test-domaine.fr; s=default; t=1421613566; bh=g3zLYH4xKxcPrHOD18z9YfpQcnk/GaJedfustWU5uGs=; h=Subject:From:To:Sender; b=CqyF5CL3XjuNgB3pWQ/NVs7SyWvHK/cOqRnROeEiqGu1cat1qfA+cLIkTiJVH9Fu5 M5VUHO+SDllScWh3/kE6s+Gz70YcuM8EZJ5znRFj43KuuasBMsyrQLvghqPEgz0Wou
dig default._domainkey.test-domaine.fr TXT
default._domainkey.test-domaine.fr. 10800 IN TXT "v=DKIM1\; k=rsa\; " "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB" "gQCc71ECfjsW7NU8VnzDnRwsoJFnRDI6jbFbcB" "1jzfFWM7k7TN46MwW/voag9lE/OG2jhLnoc61m" "a1ki5iGNySvAe4ki7IoDMjJmShs/Fk3kYWTSgc" "Rmo74C8Q1SgTY5N+r1ZUthPgHqhoYHlDSiJRb5" "B9cERs/bDjS8OQzmgjFPFQIDAQAB"
dig default._domainkey.test-domaine.fr TXT
default._domainkey IN TXT ( "v=DKIM1; k=rsa; " "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB" "gQCc71ECfjsW7NU8VnzDnRwsoJFnRDI6jbFbcB" "1jzfFWM7k7TN46MwW/voag9lE/OG2jhLnoc61m" "a1ki5iGNySvAe4ki7IoDMjJmShs/Fk3kYWTSgc" "Rmo74C8Q1SgTY5N+r1ZUthPgHqhoYHlDSiJRb5" "B9cERs/bDjS8OQzmgjFPFQIDAQAB" ) ; ----- DKIM key default for test-domaine.fr
dig default._domainkey.undershift.fr
milter_default_action = accept milter_protocol = 6 smtpd_milters = inet:localhost:12345
# Command-line options specified here will override the contents of
# /etc/opendkim.conf. See opendkim(8) for a complete list of options.
DAEMON_OPTS="-D -v -l -W -o Date,Comments,Keywords,Bcc,Resent-Bcc,DKIM-Signature,X-DomainKeys,DomainKey-Signature,Authentication-Results"
SOCKET="inet:12345@localhost" # listen on loopback on port 12345
dig @ns348862.ip-91-121-109.eu undershift.fr ANY
dig @ns.kimsufi.com undershift.fr ANY
$TTL 86400 @ IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. ( 2015011816 ; serial changer a chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 undershift.fr. IN AAAA 2001:41d0:1:a41b::1 IN MX 10 undershift.fr. www IN A 91.121.109.27 ownercheck IN TXT "bd863d60" undershift.fr. IN TXT "v=spf1 a mx ip4:91.121.109.27 ~all"
$TTL 86400 @ IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. ( 2015011815 ; serial hanger àa chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 undershift.fr. IN AAAA 2001:41d0:1:a41b::1 IN MX 10 undershift.fr. www IN A 91.121.109.27 ownercheck IN TXT "bd863d60" IN TXT "v=spf1 a mx -all"
201501181
2015011810
# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 91.121.109.27 undershift.fr undershift 2001:41D0:1:A41b::1 undershift.fr undershift # The following lines are desirable for IPv6 capable hosts #(added automatically by netbase upgrade) ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
undershift.fr
$TTL 86400 @ IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift$ 201501181 ; serial hanger àa chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 undershift.fr. IN AAAA 2001:41d0:1:a41b::1 IN MX 10 undershift.fr. www IN A 91.121.109.27 ownercheck IN TXT "bd863d60" IN TXT "v=spf1 a mx -all"
# 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 myhostname = undershift.fr mydestination = mail.undershift.fr localhost.ip-91-121-109.eu, , localhost smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # DKIM milter_default_action = accept milter_protocol = 6 smtpd_milters = inet:localhost:12345 non_smtpd_milters = $smtpd_milters # 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 inet_protocols = ipv4
undershift.fr
v=spf1 a mx -all
Adresse de rebond : root@mail.undershift.fr
Received: by vps80627.ovh.net (Postfix, from userid 500) id B69EE1241DA9; Sun, 18 Jan 2015 18:13:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail-tester.com X-Spam-Level: X-Spam-Status: No/-0.6/5.0 X-Spam-Test-Scores: RP_MATCHES_RCVD=-0.55 X-Spam-Last-External-IP: 91.121.109.27 X-Spam-Last-External-HELO: mail.undershift.fr X-Spam-Last-External-rDNS: mail.undershift.fr X-Spam-Date-of-Scan: Sun, 18 Jan 2015 18:13:27 +0100 X-Spam-Report: * -0.6 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain Received: from mail.undershift.fr (mail.undershift.fr [91.121.109.27]) by vps80627.ovh.net (Postfix) with ESMTP id 45D501241239 for; Sun, 18 Jan 2015 18:13:26 +0100 (CET) Received: by mail.undershift.fr (Postfix, from userid 0) id AA1B220D21; Sun, 18 Jan 2015 18:13:15 +0100 (CET) Date: Sun, 18 Jan 2015 18:13:15 +0100 To: undershift6@mail-tester.com Subject: tester mon envoi de mail User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 Message-Id: <20150118171315.AA1B220D21@mail.undershift.fr> From: root Return-Path: root@mail.undershift.fr Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit salut quelle note pour cet nouvel envoi de mail ?
$TTL 86400 @ IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. ( 2015011811 ; serial à changer à chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 undershift.fr. IN AAAA 2001:41d0:1:a41b::1 IN MX 10 mail.undershift.fr. www IN A 91.121.109.27 mail IN A 91.121.109.27 mail IN AAAA 2001:41d0:1:a41b::1 ownercheck IN TXT "bd863d60" IN TXT "v=spf1 a mx a ip4:91.121.109.27 ip6:2001:41d0:1:a41b::1 ~all"
ownercheck.undershift.fr. 86400 IN TXT "v=spf1 a mx ip4:91.121.109.27 ~all"
ownercheck.undershift.fr. 86400 IN TXT "bd863d60"
dig @ns348862.ip-91-121-109.eu undershift.fr ANY .... ;; ANSWER SECTION: undershift.fr. 86400 IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. 2015011811 43200 3600 1209600 86400 undershift.fr. 86400 IN NS ns.kimsufi.com. undershift.fr. 86400 IN NS ns348862.ip-91-121-109.eu. undershift.fr. 86400 IN A 91.121.109.27 undershift.fr. 86400 IN AAAA 2001:41d0:1:a41b::1 undershift.fr. 86400 IN MX 10 mail.undershift.fr. ;; ADDITIONAL SECTION: mail.undershift.fr. 86400 IN A 91.121.109.27 mail.undershift.fr. 86400 IN AAAA 2001:41d0:1:a41b::1
ownercheck.undershift.fr. 86400 IN TXT "v=spf1 a mx ip4:91.121.109.27 ~all" ownercheck.undershift.fr. 86400 IN TXT "bd863d60"
undershift.fr. IN TXT "v=spf1 a mx ip4:91.121.109.27 ~all"
undershift.me. 10800 IN TXT "spf12.0/pra a:mail.undershift.fr -all" undershift.me. 10800 IN TXT "v=spf1 a:mail.undershift.fr -all"
undershift.fr. IN MX 1 mail.undershift.fr
IN MX 1 mail.undershift.fr.
/etc/init.d/hostname.sh start
service postfix restart
$TTL 86400 undershift.fr. IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. ( 2015011810 ; serial à changer à chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 undershift.fr. IN AAAA 2001:41d0:1:a41b::1 IN MX 10 mail.undershift.fr. www IN A 91.121.109.27 mail IN A 91.121.109.27 mail IN AAAA 2001:41d0:1:a41b::1 ownercheck IN TXT "bd863d60" ;SPF @ IN TXT "v=spf1 a mx ~all"
# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 91.121.109.27 mail.undershift.fr mail 2001:41D0:1:A41b::1 mail.undershift.fr mail # The following lines are desirable for IPv6 capable hosts #(added automatically by netbase upgrade) ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
mail.undershift.fr
91.121.109.27 mail.undershift.fr www-data 2001:41D0:1:A41b::1 mail.undershift.fr www-data
91.121.109.27 mail.undershift.fr mail 2001:41D0:1:A41b::1 mail.undershift.fr mail
$TTL 86400 undershift.fr. IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. ( 2015011810 ; serial à changer à chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 undershift.fr. IN AAAA 2001:41d0:1:a41b::1 IN MX 10 mail.undershift.fr. www IN A 91.121.109.27 mail IN A 91.121.109.27 mail IN AAAA 2001:41d0:1:a41b::1 ownercheck IN TXT "bd863d60" @ IN TXT "v=spf1 a mx ~all"
# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 91.121.109.27 mail.undershift.fr www-data 2001:41D0:1:A41b::1 mail.undershift.fr www-data # The following lines are desirable for IPv6 capable hosts #(added automatically by netbase upgrade) ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
mail.undershift.fr
# 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 myhostname = mail.undershift.fr mydestination = undershift.fr localhost.ip-91-121-109.eu, , localhost smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # DKIM milter_default_action = accept milter_protocol = 6 smtpd_milters = inet:localhost:12345 non_smtpd_milters = $smtpd_milters # 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 inet_protocols = ipv4
Votre adresse IP 91.121.109.27 est associée au nom de domaine mail.undershift.fr.
echo "salut quelle note cette fois" | mail -s "tester mon envoi de mail" undershift6@mail-tester.com
$TTL 86400 undershift.fr. IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. ( 2015011809 ; serial à changer à chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 undershift.fr. IN AAAA 2001:41d0:1:a41b::1 IN MX 10 mail.undershift.fr. www IN A 91.121.109.27 mail IN A 91.121.109.27 mail IN AAAA 2001:41d0:1:a41b::1 ownercheck IN TXT "bd863d60" ;SPF IN TXT "v=spf1 a mx ~all"
$TTL 86400 undershift.fr. IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. ( 2015011808 ; serial à changer à chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 undershift.fr. IN AAAA 2001:41d0:1:a41b::1 IN MX 10 mail.undershift.fr. www IN A 91.121.109.27 mail IN A 91.121.109.27 mail IN AAAA 2001:41d0:1:a41b::1 ownercheck IN TXT "bd863d60" ;SPF IN TXT "v=spf1 a mx ~all"
root@undershift:~# named-checkconf -z zone undershift.fr/IN: loaded serial 2015011807 zone localhost/IN: loaded serial 2 zone 127.in-addr.arpa/IN: loaded serial 1 zone 0.in-addr.arpa/IN: loaded serial 1 zone 255.in-addr.arpa/IN: loaded serial 1
root@undershift:~# named-checkconf -z zone undershift.fr/IN: IN.undershift.fr/MX 'mail.undershift.fr.undershift.fr' has no address records (A or AAAA) zone undershift.fr/IN: loaded serial 2015011807 zone localhost/IN: loaded serial 2 zone 127.in-addr.arpa/IN: loaded serial 1 zone 0.in-addr.arpa/IN: loaded serial 1 zone 255.in-addr.arpa/IN: loaded serial 1
$TTL 86400 undershift.fr. IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. ( 2015011807 ; serial à changer à chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 www IN A 91.121.109.27 mail IN A 91.121.109.27 mail IN AAAA 2001:41d0:1:a41b::1 IN MX 1 mail.undershift.fr ownercheck IN TXT "bd863d60" ;SPF IN TXT "v=spf1 a mx a:undershift.fr ip4:91.121.109.27 ip6:2001:41d0:1:a41b::1 ~all"
Ouais mais maintenant que j'ai commencé tout ça j'aimerais bien le finir sinon ça va être une merde incroyable pour revenir aux DNS d'OVH et refaire toute la config..
IN MX 1 mail.undershift.fr
Les serveurs DNS 'offert' par OVH sont ... comment dire, très lent.
root@undershift:~# named-checkconf -z zone undershift.fr/IN: undershift.fr/MX 'mail.undershift.fr.undershift.fr' has no address records (A or AAAA)
$TTL 86400 undershift.fr. IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. ( 2015011805 ; serial à changer à chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 www IN A 91.121.109.27 ; mail IN A 91.121.109.27 mail IN AAAA 2001:41d0:1:a41b::1 undershift.fr. IN MX 1 mail.undershift.fr ownercheck IN TXT "bd863d60" ;SPF IN TXT "v=spf1 a mx a:undershift.fr ip4:91.121.109.27 ip6:2001:41d0:1:a41b::1 ~all"
undershift.fr. IN MX 1 mail.undershift.fr
IN TXT "v=spf1 a mx a:undershift.fr ip4:91.121.109.27 ip6:2001:41d0:1:a41b::1 ~all"
$TTL 86400 undershift.fr. IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. ( 2015011804 ; serial à changer à chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 www IN A 91.121.109.27 ; mail IN A 91.121.109.27 mail IN AAAA 2001:41d0:1:a41b::1 undershift.fr. IN MX mail.undershift.fr ownercheck IN TXT "bd863d60" ;SPF IN TXT "v=spf1 a mx a:undershift.fr ip4:91.121.109.27 ~all"
root@undershift:~# named-checkconf -z dns_rdata_fromtext: /etc/bind/db.undershift.fr:15: near 'mail.undershift.fr': not a valid number zone undershift.fr/IN: loading from master file /etc/bind/db.undershift.fr failed: not a valid number zone undershift.fr/IN: not loaded due to errors. _default/undershift.fr/IN: not a valid number zone localhost/IN: loaded serial 2 zone 127.in-addr.arpa/IN: loaded serial 1 zone 0.in-addr.arpa/IN: loaded serial 1 zone 255.in-addr.arpa/IN: loaded serial 1
HELO hostname: ns348862.ip-91-121-109.eu
Source IP: 2001:41d0:1:a41b::1
mail-from: www-data@ns348862.ip-91-121-109.
undershift.fr. IN AAAA 2001:41d0:1:a41b::1
undershift.fr. IN MX 10 91.121.109.27
undershift.fr. IN MX undershift.fr
undershift.fr. IN MX mail.undershift.fr
mail IN AAAA 2001:41d0:1:a41b::1
named-checkconf -z
mail.undershift.fr
SPF check: pass DomainKeys check: pass DKIM check: pass Sender-ID check: pass SpamAssassin check: ham ========================================================== Details: ========================================================== HELO hostname: mail.papy-team.org Source IP: 2001:41d0:2:927b::10 mail-from: nowwhat@papy-team.org
Ouah ! Parfait, vous pouvez envoyer Votre note : 10/10
[SPF] undershift.fr n'autorise pas votre serveur 91.121.109.27 à utiliser [email]no-reply@undershift.fr[/email] Sender Policy Framework (SPF) est un système de validation d'e-mail conçu pour empêcher le spammage en détectant l'usurpation d'adresse e-mail, une vulnérabilité classique, en vérifiant les adresses IP de l'expéditeur. Vous n'avez pas d'enregistrement SPF, s'il vous plaît ajouter le suivant à votre domaine undershift.fr : v=spf1 a mx ip4:91.121.109.27 ~all
$TTL 86400 undershift.fr. IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift.fr. ( 2015011701 ; serial à changer à chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 www IN A 91.121.109.27 ; mail IN A 91.121.109.27 undershift.fr. IN A 91.121.109.27 undershift.fr. IN MX 10 91.121.109.27 ownercheck IN TXT "bd863d60" ;SPF IN TXT "v=spf1 a mx a:undershift.fr ip4:91.121.109.27 ~all"
Cannot check if undershift.fr resolve x:x:x:x
$TTL 86400 undershift.fr. IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift$ 2013121206 ; serial à changer à chaque modification 43200 ; refresh, 12h 3600 ; retry, 1h 1209600 ; expire 86400 ) ; negative cache, 24h undershift.fr. IN NS ns348862.ip-91-121-109.eu. undershift.fr. IN NS ns.kimsufi.com. undershift.fr. IN A 91.121.109.27 www IN A 91.121.109.27 ; mail IN A 91.121.109.27 undershift.fr. IN A 91.121.109.27 undershift.fr. IN MX 10 91.121.109.27 ownercheck IN TXT "bd863d60"
echo "salut " | mail -s "tester mon envoi de mail" web-xbbxTV@mail-tester.com
undershift.fr. IN TXT "v=spf1 ip4:91.121.109.27 mx ~all" undershift.fr. IN SPF "v=spf1 ip4:91.121.109.27 mx ~all" mail.undershift.fr. IN TXT "v=spf1 ip4:91.121.109.27 a ~all" mail.undershift.fr. IN SPF "v=spf1 ip4:91.121.109.27 a ~all"
IN TXT "v=spf1 a mx a:undershift.fr ip4:91.121.109.27 ~all"
ownercheck IN TXT "bd863d60"
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
91.121.109.27 undershift.fr ns348862
2001:41D0:1:A41b::1 undershift.fr ns348862
# The following lines are desirable for IPv6 capable hosts
#(added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
;SPF
ownercheck IN TXT bd863d60
undershift.fr. IN TXT "v=spf1 ip4:91.121.109.27 a mx ~all"
undershift.fr. IN SPF "v=spf1 ip4:91.121.109.27 a mx ~all"
mail.undershift.fr. IN TXT "v=spf1 ip4:91.121.109.27 a ~all"
mail.undershift.fr. IN SPF "v=spf1 ip4:91.121.109.27 a ~all"
;DKIM
mail._domainkey IN TXT "v=DKIM1; h=rsa-sha256; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQU$----COUPE----
$TTL 86400
undershift.fr. IN SOA ns348862.ip-91-121-109.eu. hostmaster.undershift$
2013121206 ; serial à changer à chaque modification
43200 ; refresh, 12h
3600 ; retry, 1h
1209600 ; expire
86400 ) ; negative cache, 24h
undershift.fr. IN NS ns348862.ip-91-121-109.eu.
undershift.fr. IN NS ns.kimsufi.com.
undershift.fr. IN A 91.121.109.27
www IN A 91.121.109.27
;
mail IN A 91.121.109.27
undershift.fr. IN A 91.121.109.27
undershift.fr. IN MX undershift.fr
undershift.fr. IN TXT "v=spf1 ip4:91.121.109.27 mx ~all"
undershift.fr. IN SPF "v=spf1 ip4:91.121.109.27 mx ~all"
mail.undershift.fr. IN TXT "v=spf1 ip4:91.121.109.27 a ~all"
mail.undershift.fr. IN SPF "v=spf1 ip4:91.121.109.27 a ~all"
GNU nano 2.2.6 Fichier : /etc/bind/named.conf.local
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "undershift.fr" {
type master;
file "/etc/bind/db.undershift.fr";
allow-transfer {213.186.33.199;};
allow-query{any;};
notify yes;
};
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
// forwarders {
// 0.0.0.0;
// };
//=====================================================================$
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys
//=====================================================================$
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { ::1; };
listen-on { any; };
allow-recursion { 127.0.0.1; ::1; };
};
This message is an automatic response from Port25's authentication verifier service at verifier.port25.com. The service allows email senders to perform a simple check of various sender authentication mechanisms. It is provided free of charge, in the hope that it is useful to the email community. While it is not officially supported, we welcome any feedback you may have at. Thank you for using the verifier, The Port25 Solutions, Inc. team ========================================================== Summary of Results ========================================================== SPF check: neutral DomainKeys check: neutral DKIM check: permerror Sender-ID check: fail SpamAssassin check: ham ========================================================== Details: ========================================================== HELO hostname: ns348862.ip-91-121-109.eu Source IP: 2001:41d0:1:a41b::1 mail-from: www-data@ns348862.ip-91-121-109.eu ---------------------------------------------------------- SPF check details: ---------------------------------------------------------- Result: neutral (SPF-Result: None) ID(s) verified: smtp.mailfrom=www-data@ns348862.ip-91-121-109.eu DNS record(s): ns348862.ip-91-121-109.eu. SPF (no records) ns348862.ip-91-121-109.eu. TXT (no records) ---------------------------------------------------------- DomainKeys check details: ---------------------------------------------------------- Result: neutral (message not signed) ID(s) verified: header.From=no-reply@undershift.fr DNS record(s): ---------------------------------------------------------- DKIM check details: ---------------------------------------------------------- Result: permerror (key "mail._domainkey.undershift.fr" doesn't exist) ID(s) verified: Canonicalized Headers: to:check-auth-pamart.nicolas2=gmail.com@verifier.port25.com'0D''0A' subject:Activez'20'votre'20'compte'20'!'0D''0A' from:UNDER'20'SHIFT'20' '0D''0A' date:Fri,'20'16'20'Jan'20'2015'20'08:47:53'20'+0100'20'(CET)'0D''0A' dkim-signature:v=1;'20'a=rsa-sha256;'20'c=relaxed/relaxed;'20'd=undershift.fr;'20's=mail;'20't=1421394473;'20'bh=8zSUcwR9A5W2Ab//lXrt1GZmgoNWM6teppOGvkUHtUM=;'20'h=To:Subject:From:Date:From;'20'b= Canonicalized Body: Il'20'sagit'20'dun'20'outil'20'de'20'test'20'de'20'DKIM'20'fourni'20'par'20'AdminSystem'20'Software'20'Limited.'0D''0A' '0D''0A' Comment'20'tester'20'la'20'signature'20'DKIM'0D''0A' Tout'20'dabord,'20'veuillez'20'cliquez'20'sur'20'le'20'bouton'20'suivant'20'pour'20'obtenir'20'une'20'adresse'20'de'20'courriel'20'de'20'test.'20'Deuxi'C3''A8'mement,'20'vous'20'pouvez'20'envoyer'20'un'20'courriel'20''C3''A0''20'cette'20'adresse'20'de'20'courriel.'20'Enfin,'20'un'20'rapport'20'DKIM'20'sera'20'envoy'C3''A9''20''C3''A0''20'votre'20'adresse'20'de'20'courriel'20'dexp'C3''A9'diteur'20'en'20'peu'20'de'20'temps.'0D''0A' '0D''0A' '0D''0A' Utiliser'20'Gmail'20'pour'20'tester'20'DKIM'0D''0A' Si'20'vous'20'avez'20'un'20'compte'20'Gmail,'20'vous'20'pouvez'20''C3''A9'galement'20'envoyer'20'test'20'courriel'20''C3''A0''20'votre'20'adresse'20'de'20'courriel'20'de'20'Gmail.'20'Puis'20'ouvrez'20'votre'20'courriel'20'en'20'courrier'20'web'20'de'20'Gmail,'20'cliquez'20'sur'20''C2''AB''20'show'20'details'20''C2''BB'.'20'Sil'20'y'20'a'20'"signed-by:'20'your'20'domain",'20'votre'20'signature'20'DKIM'20'est'20'ok.'0D''0A' DNS record(s): mail._domainkey.undershift.fr. TXT (NXDOMAIN) NOTE: DKIM checking has been performed based on the latest DKIM specs (RFC 4871 or draft-ietf-dkim-base-10) and verification may fail for older versions. If you are using Port25's PowerMTA, you need to use version 3.2r11 or later to get a compatible version of DKIM. ---------------------------------------------------------- Sender-ID check details: ---------------------------------------------------------- Result: fail (not permitted) ID(s) verified: header.From=no-reply@undershift.fr DNS record(s): undershift.fr. SPF (no records) undershift.fr. 86400 IN TXT "v=spf1 ip4:91.121.109.27 mx -all" undershift.fr. MX (no records) ---------------------------------------------------------- SpamAssassin check details: ---------------------------------------------------------- SpamAssassin v3.3.2 (2011-06-06) Result: ham (0.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: undershift.fr] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 HTML_MESSAGE BODY: HTML included in message 0.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.4 HTML_MIME_NO_HTML_TAG HTML-only message, but there is no HTML tag 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 1.0 BODY_URI_ONLY Message body is only a URI in one line of text or for an image ========================================================== Explanation of the possible results (from RFC 5451) ========================================================== SPF and Sender-ID Results ========================= "none" No policy records were published at the sender's DNS domain. "neutral" The sender's ADMD has asserted that it cannot or does not want to assert whether or not the sending IP address is authorized to send mail using the sender's DNS domain. "pass" The client is authorized by the sender's ADMD to inject or relay mail on behalf of the sender's DNS domain. "policy" The client is authorized to inject or relay mail on behalf of the sender's DNS domain according to the authentication method's algorithm, but local policy dictates that the result is unacceptable. "fail" This client is explicitly not authorized to inject or relay mail using the sender's DNS domain. "softfail" The sender's ADMD believes the client was not authorized to inject or relay mail using the sender's DNS domain, but is unwilling to make a strong assertion to that effect. "temperror" The message could not be verified due to some error that is likely transient in nature, such as a temporary inability to retrieve a policy record from DNS. A later attempt may produce a final result. "permerror" The message could not be verified due to some error that is unrecoverable, such as a required header field being absent or a syntax error in a retrieved DNS TXT record. A later attempt is unlikely to produce a final result. DKIM and DomainKeys Results =========================== "none" The message was not signed. "pass" The message was signed, the signature or signatures were acceptable to the verifier, and the signature(s) passed verification tests. "fail" The message was signed and the signature or signatures were acceptable to the verifier, but they failed the verification test(s). "policy" The message was signed but the signature or signatures were not acceptable to the verifier. "neutral" The message was signed but the signature or signatures contained syntax errors or were not otherwise able to be processed. This result SHOULD also be used for other failures not covered elsewhere in this list. "temperror" The message could not be verified due to some error that is likely transient in nature, such as a temporary inability to retrieve a public key. A later attempt may produce a final result. "permerror" The message could not be verified due to some error that is unrecoverable, such as a required header field being absent. A later attempt is unlikely to produce a final result. ========================================================== Original Email ========================================================== Return-Path: Received: from ns348862.ip-91-121-109.eu (2001:41d0:1:a41b::1) by verifier.port25.com id hn313620i3g2 for ; Fri, 16 Jan 2015 02:48:03 -0500 (envelope-from ) Authentication-Results: verifier.port25.com; spf=neutral (SPF-Result: None) smtp.mailfrom=www-data@ns348862.ip-91-121-109.eu Authentication-Results: verifier.port25.com; domainkeys=neutral (message not signed) header.From=no-reply@undershift.fr Authentication-Results: verifier.port25.com; dkim=permerror (key "mail._domainkey.undershift.fr" doesn't exist) Authentication-Results: verifier.port25.com; sender-id=fail (not permitted) header.From=no-reply@undershift.fr Received: by ns348862.ip-91-121-109.eu (Postfix, from userid 33) id F0C1320CFA; Fri, 16 Jan 2015 08:47:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=undershift.fr; s=mail; t=1421394473; bh=8zSUcwR9A5W2Ab//lXrt1GZmgoNWM6teppOGvkUHtUM=; h=To:Subject:From:Date:From; b=jF8CJP5hfs2wvXlfbPau0YLkEKGDHfTiikE68mz3M7DKNqtReDSq6qDNLC1LNX7vP 2W9gUwy+Y9xmyWRHCgsZnsHkyoGc2JgTLoKAvhdR+L5W1JD0rKzwV/JsI0GDGCaK5e wF+B8ZzRxp081SXyVONUcUKRGhQTcWw0WXwfknvU= To: check-auth-pamart.nicolas2=gmail.com@verifier.port25.com Subject: Activez votre compte ! X-PHP-Originating-Script: 1000:mail.php MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1 From: UNDER SHIFT Message-Id: <20150116074753.F0C1320CFA@ns348862.ip-91-121-109.eu> Date: Fri, 16 Jan 2015 08:47:53 +0100 (CET) Il sagit dun outil de test de DKIM fourni par AdminSystem Software Limited. Comment tester la signature DKIM Tout dabord, veuillez cliquez sur le bouton suivant pour obtenir une adresse de courriel de test. Deuxièmement, vous pouvez envoyer un courriel à cette adresse de courriel. Enfin, un rapport DKIM sera envoyé à votre adresse de courriel dexpéditeur en peu de temps. Utiliser Gmail pour tester DKIM Si vous avez un compte Gmail, vous pouvez également envoyer test courriel à votre adresse de courriel de Gmail. Puis ouvrez votre courriel en courrier web de Gmail, cliquez sur « show details ». Sil y a "signed-by: your domain", votre signature DKIM est ok.