#76 Le 02/10/2007, à 23:11
- Uggy
Re : pb avec postfix
Ca devrait etre bon (meme si je suis jamais passé par un CNAME pour ca...)
Pour le SPF.. c'est une entrée TXT qu'il faut a ma connaissance...
et je suis pas sur que include:mx.ovh.com soit le + judicieux....
Apres t'auras plus qu'a attendre que la duree de cache que tu choisis soit atteinte dans les caches des autres serveurs pour recharger les nouvelles infos...
Hors ligne
#77 Le 02/10/2007, à 23:12
- Uggy
Re : pb avec postfix
(Je sais pas non plus si c'est judicieux de laisser un . devant mondomaine.com)
Hors ligne
#78 Le 02/10/2007, à 23:14
- elmut
Re : pb avec postfix
pour le . devant le domain.com j'ai pas le choix... il le met tout seul...
par contre SPF je sais meme pas ce que sais
Dernière modification par elmut (Le 02/10/2007, à 23:14)
Hors ligne
#79 Le 02/10/2007, à 23:18
- Uggy
Re : pb avec postfix
http://www.openspf.org/
Hors ligne
#80 Le 02/10/2007, à 23:20
- Uggy
Re : pb avec postfix
c'est bon je vois bien le nouveau MX
Hors ligne
#81 Le 03/10/2007, à 00:10
- elmut
Re : pb avec postfix
c'est bon je vois bien le nouveau MX
je sais pas si ca veut dire que ca marche mais j'ai pas l'impression
si j'envoie un mail je recois ça : failure notice
Hi. This is the qmail-send program at yahoo.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<support@domaine.com>:
213.186.39.xxx does not like recipient.
Remote host said: 553 sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1)
Giving up on 213.186.39.xxx.
--- Below this line is a copy of the message.
Return-Path: <adresse@yahoo.fr>
Received: (qmail 38204 invoked by uid 60001); 2 Oct 2007 22:00:47 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=s1024; d=yahoo.fr;
h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
b=6bJfzq2h8BXIlmuDKJ39G8L0eD3jb2mjZHjq0HXVa4sp0+KfTesxT7WdZ09y9MJlCFSS6/IeW5TOcs8m3qVMPrxErzueSE5lawzVP2NDVAc6aCMoV9RWduH/rJeKqnHUTBCpdajrjIz4ckwSfz6Faj5qeC8d7AEaC6xzvXq8qeE=;
X-YMail-OSG: Mwx4.c0VM1lLocYcVi.D6oPMerNNSu7bcqX32uChRFgVYT9wLMGkL3jGwZ0QUnIDw8mq.MVqSsIVqNJhQqrX3qIw9yFJopJNmhyc89ROyr9Sz8YdQa1esiEEljA-
Received: from [86.208.120.xxx] by web27404.mail.ukl.yahoo.com via HTTP; Wed, 03 Oct 2007 00:00:47 CEST
Date: Wed, 3 Oct 2007 00:00:47 +0200 (CEST)
From: moi <adresse@yahoo.fr>
Subject: essai
To: support@domaine.com
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-2055208373-1191362447=:38197"
Content-Transfer-Encoding: 8bit
Message-ID: <515300.38197.qm@web27404.mail.ukl.yahoo.com>
--0-2055208373-1191362447=:38197
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
contenu
Hors ligne
#82 Le 03/10/2007, à 00:26
- Uggy
Re : pb avec postfix
213.186.39.xxx does not like recipient.
Remote host said: 553 sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1)
1- 213.186.39.xxx c'est les anciens MX -> mxb.ovh.net
2- J'ai dit que MOI je voyais bien la modif, pas que tous les serveurs de la terre la voyait.. j'ai dit qu'il te fallait attendre que le cache des autres serveurs expire (je ne sais pas pour l'ancien mais le nouveau est a 86137 secondes soit presqu'une journée donc suivant quand il avait pris l'ancienne valeur......)
Hors ligne
#83 Le 03/10/2007, à 00:45
- elmut
Re : pb avec postfix
ah ok
merci pour ton aide en tout cas !
Hors ligne
#84 Le 06/10/2007, à 17:08
- elmut
Re : pb avec postfix
nouveau probleme...
Surement suite au changement effectué dans le DNS :
/var/log/mail.log
Oct 6 16:28:51 ks352545 postfix/anvil[7884]: statistics: max connection count 1 for (smtp:194.150.236.xx) at Oct 6 16:25:31
Oct 6 16:28:51 ks352545 postfix/anvil[7884]: statistics: max cache size 1 at Oct 6 16:25:31
Oct 6 16:31:29 ks352545 postfix/pickup[5460]: B949926754: uid=33 from=<www-data>
Oct 6 16:31:29 ks352545 postfix/cleanup[8128]: B949926754: message-id=<ce30676170193efda646590c7103c791@www.jcleclercq.com>
Oct 6 16:31:30 ks352545 postfix/qmgr[15533]: B949926754: from=<www-data@monDomaine.com>, size=1293, nrcpt=1 (queue active)
Oct 6 16:31:30 ks352545 postfix/smtp[8130]: B949926754: to=<jc.leclercq@yahoo.fr>, relay=ns0.ovh.net[213.186.33.xx], delay=1, status=bounced (host ns0.ovh.net[213.186.33.xx] said: 553 sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1) (in reply to RCPT TO command))
Oct 6 16:31:30 ks352545 postfix/cleanup[8128]: 433D226755: message-id=<20071006143130.433D226755@www.monDomaine.com>
Oct 6 16:31:30 ks352545 postfix/qmgr[15533]: 433D226755: from=<>, size=3279, nrcpt=1 (queue active)
Oct 6 16:31:30 ks352545 postfix/qmgr[15533]: B949926754: removed
Oct 6 16:31:30 ks352545 postfix/local[8133]: 433D226755: to=<www-data@monDomaine.com>, relay=local, delay=0, status=bounced (maildir delivery failed: create /var/www/Maildir/tmp/1191681090.P8133.ks352545.kimsufi.com: Permission denied)
Oct 6 16:31:30 ks352545 postfix/local[8133]: warning: maildir access problem for UID/GID=33/33: create /var/www/Maildir/tmp/1191681090.P8133.ks352545.kimsufi.com: Permission denied
Oct 6 16:31:30 ks352545 postfix/local[8133]: warning: perhaps you need to create the maildirs in advance
Oct 6 16:31:30 ks352545 postfix/qmgr[15533]: 433D226755: removed
Oct 6 16:49:02 ks352545 postfix/pickup[5460]: 21BB926754: uid=33 from=<www-data>
Oct 6 16:49:02 ks352545 postfix/cleanup[8741]: 21BB926754: message-id=<20071006144902.21BB926754@www.monDomaine.com>
Oct 6 16:49:02 ks352545 postfix/qmgr[15533]: 21BB926754: from=<www-data@monDomaine.com>, size=779, nrcpt=1 (queue active)
Oct 6 16:49:02 ks352545 postfix/smtp[8743]: 21BB926754: to=<jc.leclercq@yahoo.fr>, relay=ns0.ovh.net[213.186.33.xx], delay=0, status=bounced (host ns0.ovh.net[213.186.33.xx] said: 553 sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1) (in reply to RCPT TO command))
Oct 6 16:49:02 ks352545 postfix/cleanup[8741]: 39CCD26755: message-id=<20071006144902.39CCD26755@www.monDomaine.com>
Oct 6 16:49:02 ks352545 postfix/qmgr[15533]: 39CCD26755: from=<>, size=2699, nrcpt=1 (queue active)
Oct 6 16:49:02 ks352545 postfix/qmgr[15533]: 21BB926754: removed
Oct 6 16:49:02 ks352545 postfix/local[8746]: 39CCD26755: to=<www-data@monDomaine.com>, relay=local, delay=0, status=bounced (maildir delivery failed: create /var/www/Maildir/tmp/1191682142.P8746.ks352545.kimsufi.com: Permission denied)
Oct 6 16:49:02 ks352545 postfix/local[8746]: warning: maildir access problem for UID/GID=33/33: create /var/www/Maildir/tmp/1191682142.P8746.ks352545.kimsufi.com: Permission denied
Oct 6 16:49:02 ks352545 postfix/local[8746]: warning: perhaps you need to create the maildirs in advance
Oct 6 16:49:02 ks352545 postfix/qmgr[15533]: 39CCD26755: removed
postconf -n
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
mailbox_size_limit = 0
masquerade_domains = monDomaine.com
mydestination = www.monDomaine.com, monDomaine.com, localhost.monDomaine.com, localhost
mydomain = monDomaine.com
myhostname = www.monDomaine.com
mynetworks = 127.0.0.0/8, 192.168.0.0/24
myorigin = /etc/mailname
recipient_delimiter = +
relayhost = smtp.monDomaine.com
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_application_name = smtpd
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
voici les DNS :
.monDomaine.com NS dns10.ovh.net
.monDomaine.com NS ns10.ovh.net
.monDomaine.com MX 10 mail.monDomaine.com
.monDomaine.com A 91.121.82.xx
www.monDomaine.com CNAME monDomaine.com
mail.monDomaine.com A 91.121.82.xx
smtp.monDomaine.com CNAME ns0.ovh.net
imp.monDomaine.com CNAME imp.ovh.net
pop3.monDomaine.com CNAME ns0.ovh.net
audio.monDomaine.com CNAME audio.ovh.net
ftp.monDomaine.com CNAME monDomaine.com
ftp2.monDomaine.com CNAME anonymous.ftp.ovh.net
squirrel.monDomaine.com CNAME squirrel.ovh.net
.monDomaine.com SPF v=spf1 include:mx.ovh.com ~all
Est-ce qu ec'est le SMTP qui est mal configuré ?
Merci pour votre aide
Dernière modification par elmut (Le 06/10/2007, à 17:19)
Hors ligne
#85 Le 06/10/2007, à 17:25
- Uggy
Re : pb avec postfix
Vire la ligne:
relayhost = smtp.monDomaine.com
Hors ligne
#86 Le 06/10/2007, à 17:27
- elmut
Re : pb avec postfix
ok merci à toi
Hors ligne
#87 Le 16/05/2008, à 11:22
- wiame
Re : pb avec postfix
bonjour ,
j'ai un serveur postfix .
qd jecris un message de yahoo vers mon serveur ca me donne cette erreur
Hi. This is the qmail-send program at yahoo.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<benzekri@sssss>:
serveurip does not like recipient.
Remote host said: 554 5.7.1 <web26206.mail.ukl.yahoo.com[217.12.10.243]>: Client host rejected: Access denied
Giving up on serveur ip.
qq peu me dire ou cé bloquuuuéé aidezmoi svp
mon main.cf est comme sui
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
myhostname = host
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = $mydomain
mydestination = localhost.$mydomain, localhost
mynetworks = 127.0.0.0/8, xxx.Xxx.xxx.4/32
recipient_delimiter = +
home_mailbox = Maildir/
notify_classes = 2bounce, bounce, delay, policy, protocol, resource, software
smtpd_helo_required = yes
strict_rfc821_envelopes = yes
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:20001
virtual_mailbox_base = /home/virtual
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 20001
virtual_uid_maps = static:20001
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $smtpd_recipient_restrictions $smtpd_sender_login_maps
### Defini la taille maximal d un mail
message_size_limit = 50240000
### Pour la livraison du courrier en interne via maildrop
virtual_transport = maildrop
maildrop_destination_recipient_limit = 1
### Procedure authentification sasl
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
### Restriction SMTP
#smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql-sasl-sender-check.cf
#smtpd_sender_restrictions =
# reject_authenticated_sender_login_mismatch
#smtpd_reject_unlisted_sender = yes
#smtpd_restriction_classes =
# has_our_domain_as_sender
#has_our_domain_as_sender =
# check_sender_access hash:/etc/postfix/our_domain_as_sender,
# reject
smtpd_recipient_restrictions =
reject_non_fqdn_recipient,
# reject_unknown_sender_domain
reject_non_fqdn_sender,
reject_unknown_recipient_domain,
reject_invalid_helo_hostname,
reject_unlisted_recipient,
# reject_unlisted_sender,
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_helo_hostname,
reject_unauth_destination,
# reject_rbl_client list.dsbl.org,
# reject_rbl_client zen.spamhaus.org,
permit
smtpd_data_restrictions =
reject_unauth_pipelining,
permit
smtpd_data_restrictions =
reject_unauth_pipelining,
permit
content_filter = smtp-amavis:[127.0.0.1]:10024