en fait le fichier /etc/postfix/virtual/addresses contient [EMAIL PROTECTED] user ensuite je fais un #postmap /etc/postfix/virtual/addresses
donc normalement les email en destination de [EMAIL PROTECTED] ne devrait pas etre jetés mais renvoyer a la queue de cet utilisateur 2008/11/22 mouss <[EMAIL PROTECTED]> Johan Dindaine a écrit : > > J'ai reinstallé mon serveur de mail, en suivant le meme tutoriel que > > j'avais avant et reproduisant les meme fichiers de conf. > > Voici d'ailleur une copie de mon main.cf <http://main.cf> de postfix. > > > > 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 > > > > # TLS parameters > > smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem > > smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key > > smtpd_use_tls=yes > > smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache > > smtp_tls_session_cache_database = btree:${queue_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 = my.hostname.com <http://my.hostname.com> > > alias_maps = hash:/etc/aliases > > virtual_maps = hash:/etc/postfix/virtual/addresses > > alias_database = hash:/etc/aliases > > mydomain = hostname.com <http://hostname.com> > > mydestination = my.hostname.com <http://my.hostname.com>, > > localhost.hostname.com <http://localhost.hostname.com>, localhost, > > /etc/postfix/virtual/domains > > #relayhost = 127.0.0.0/8 <http://127.0.0.0/8> > > mynetworks = 127.0.0.0/8,xxx.xxx.xxx.xxx > > <http://127.0.0.0/8,xxx.xxx.xxx.xxx> #mon ip > > mailbox_command = procmail -a "$EXTENSION" > > mailbox_size_limit = 0 > > recipient_delimiter = + > > inet_interfaces = all > > > > > > Pourtant tous les messages envoyé reviennent avec une erreur RELAY > > DENIED et voici ce que je recois dans mes logs: > > > > Nov 21 20:26:04 ks201982 postfix/smtpd[21597]: connect from > > yw-out-1718.google.com <http://yw-out-1718.google.com>[74.125.46.155 > > <http://74.125.46.155>] > > Nov 21 20:26:04 ks201982 postfix/smtpd[21597]: NOQUEUE: reject: RCPT > > from yw-out-1718.google.com > > <http://yw-out-1718.google.com>[74.125.46.155 <http://74.125.46.155>]: > > 554 5.7.1 <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>: Relay access > > denied; from=<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > > to=<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> proto=ESMTP > > helo=<yw-out-1718.google.com <http://yw-out-1718.google.com>> > > Nov 21 20:26:04 ks201982 postfix/smtpd[21597]: disconnect from > > yw-out-1718.google.com <http://yw-out-1718.google.com>[74.125.46.155 > > <http://74.125.46.155>] > > Nov 21 20:29:24 ks201982 postfix/anvil[21231]: statistics: max > > connection rate 1/60s for (smtp:194.140.247.101 > > <http://194.140.247.101>) at Nov 21 20:19:58 > > Nov 21 20:29:24 ks201982 postfix/anvil[21231]: statistics: max > > connection count 1 for (smtp:194.140.247.101 <http://194.140.247.101>) > > at Nov 21 20:19:58 > > Nov 21 20:29:24 ks201982 postfix/anvil[21231]: statistics: max cache > > size 2 at Nov 21 20:26:04 > > > > Le probleme c'est que l'adresse Ip de la machine fait partir des IP > > authorisée. > > > > euh? ce que je vois, c'est qu'une machine de cheez google n'a pas le > droit de faire du relai à travers ta machine. et ça me semble plutot bien. > > où est donc le problème? >