Bonjour à tous !
Voilà, j’ai un petit problème avec un serveur de mail que je viens d’installer.
J’ai un nom de domaine internet en ma-societe.fr
ping ma-societe.fr = ok (et mon site internet marche, sur le même nom de domaine, et le même serveur).
mon postfix tourne visiblement bien en tache de fond :
[code]telnet ma-societe.fr 25
220 ma-societe.fr ESMTP Postfix
[/code]
Si je configure dans /etc/postfix/main.cf mon “myorigin” sur “mail.ma-societe.fr”, je peux m’envoyer un mail depuis gmail par exemple en mettant comme destinataire :
boulate@mail.ma-societe.fr , l’utilisateur “boulate” reçoit bien le mail.
Le problème, c’est que je souhaiterai un mail simple en : boulate@ma-societe.fr , et je n’y arrive pas.
Si je passe mon “myorigin” à “ma-societe.fr”, gmail me retourne ce mail :
[quote]Delivery to the following recipient failed permanently:
[boulate@ma-societe.fr](mailto:boulate@ma-societe.fr)
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 boulate@ma-societe.fr: invalid address (state 14).[/quote]
Je suis un peu perdu, à force de tests, je me suis égaré, et ne sais plus trop par quel bout prendre le problème.
Je vous joins mon fichier de configuration postfix au cas où :
grep -v # /etc/postfix/main.cf
[code]
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = ma-societe.fr # Je ne vois pas quoi mettre d’autre … je suis directement sur internet et ma machine se nomme "ma-societe"
mydomain = ma-societe.fr
myorigin = ma-societe.fr
inet_interfaces = $myhostname, localhost
mydestination = mail.$myhostname, $myhostname
unknown_local_recipient_reject_code = 550
mynetwork = all
sender_canonical_maps = hash:/etc/postfix/canonical
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
inet_protocols = ipv4[/code]


