Retourner aux forums || Retourner au forum Linux.general

Linux.general : Relay Access Denied - Postfix - sasl/mysql

Posté par Pierre-Yves Dubreucq (page perso, ) le 29 juin 2007
0
Bien le bonjour ;)
J'ai un petit soucis, hier j'ai migré un serveur relativement important de messagerie. Et je n'arrive pas à envoyer de mail, j'ai ce message d'erreur :
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: < adresse.abo.wanadoo.fr[82.xxx.xx.xxx]: MAIL FROM:<toto@toto.fr> SIZE=364
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: extract_addr: input: <toto@toto.fr>
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: smtpd_check_addr: addr=toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: send attr address = toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: input attribute value: toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: rewrite_clnt: local: toto@toto.fr -> toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: send attr address = toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: input attribute value: toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: input attribute value: toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: resolve_clnt: `' -> `toto@toto.fr' -> transp=`virtual' host=`toto.fr' rcpt=`toto@toto.fr' flags= class=local
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: ctable_locate: install entry key toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: extract_addr: in: <toto@toto.fr>, result: toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: check_mail_access: toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: ctable_locate: move existing entry key toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: check_access: toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: check_domain_access: toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: check_access: toto@
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: reject_unknown_address: toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: ctable_locate: leave existing entry key toto@toto.fr
Jun 29 11:11:29 helsinki postfix/smtpd[29462]: NOQUEUE: reject: RCPT from adresse.abo.wanadoo.fr[82.xxx.xx.xxx]: 554 5.7.1 <destinataire@gmail.com>: Relay access denied; from=<toto@toto.fr> to=<destinataire@gmail.com> proto=ESMTP helo=<[82.xxx.xx.xxx]>

Apparement mon authentification fonctionne, comme on peut le voir ici :

220 host.name.fr ESMTP Postfix
ehlo bfgdjk
250-host.name.fr
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN clef-64-bit
235 2.0.0 Authentication successful
MAIL FROM: toto@toto.fr
250 2.1.0 Ok
RCPT TO: destinataire@gmail.com
554 5.7.1 <destinataire@gmail.com>: Relay access denied
quit
221 2.0.0 Bye

Normalement l'authentification SASL me permettait d'éviter la contrainte de la vérification par IP non ??
Si quelqu'un à une idée, je suis preneur :(
J'arpente la toile depuis 24h, quasiment non-stop, et j'ai pas trouvé ma réponse :(
Merci d'avance ;)
Bonne journée ;)

--
--
Linux User #447792
http://i18n.counter.li.org/
> Lire le message (2 commentaires, moyenne: 1,5).  

Cette discussion est archivée, il n'est plus possible de laisser des commentaires.

Note : les commentaires appartiennent à ceux qui les ont postés. Nous n'en sommes pas responsables.

main.cf

Posté par Christophe Painchaud () le 29/06/2007 à 13:19. (lien). Évalué à 1.

Hello,

Le contenu de ton fichier main.cf pourrait nous aider :)

  • [^]Re: main.cf

    Posté par Raphaël Gertz (page perso, ) le 29/06/2007 à 14:56. (lien). Évalué à 2.

    Il me semble que tu dois changer ton champ :
    smtpd_recipient_restrictions = permit_sasl_authenticated
    (enfin avec les autres autour, notamment devant les réseaux auquels tu fais confiance et un reject_unauth_destination après)

    Regarde la doc postfix pour l'othographe exacte.

    ps : les tutos sont dispo ici :
    http://postfix.traduc.org/index.php/SASL_README.html

Revenir en haut de page || Retourner aux forums || Retourner au forum Linux.general