Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 21/03/2015, à 17:00

azralth

Problème réception mail postfix kimsufi

Bonjour,

Je viens de mettre en place un serveur de mail avec ce tuto : http://justincoutarel.fr/2014/05/instal … mment-1462

Tout s'est plutôt bien passé. Je peux envoyer des mails, mais pour ce qui est de la réception c'est plus problématique. Je ne reçois aucun mail et je n'ai pas de retour de type Mail delivery ...
Et je ne vois rien dans mes logs non plus.

Je bute pas mal du coup depuis ce matin là dessus. Je crois que j'aimerai bien un coup de pouce sur ce coup.

Merci !

Hors ligne

#2 Le 22/03/2015, à 16:23

azralth

Re : Problème réception mail postfix kimsufi

J'ai un peu avancé et je reçois maintenant l'erreur : Recipient address rejected: User unknown in virtual alias table

Mon fichier main.cf :

# 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

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
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

readme_directory = no

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/private/mail.crt
smtpd_tls_key_file=/etc/ssl/private/mail.key
smtpd_use_tls=yes
#smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
#smtp_tls_session_cache_database = btree:${data_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.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_un$
myhostname = jhiki.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = ns346448.ip-91-121-143.eu, localhost.localdomain, localhost
relayhost =

mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
# SASL parameters
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtpd_sasl_authenticated_header = yes

# TLS parameters
smtp_tls_security_level = may
smtpd_tls_security_level = may
#smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

# SMTPD parameters
unknown_local_recipient_reject_code = 450
maximal_queue_lifetime = 7d
minimal_backoff_time = 1000s
maximal_backoff_time = 8000s
smtp_helo_timeout = 60s
smtpd_recipient_limit = 50
smtpd_soft_error_limit = 3
smtpd_hard_error_limit = 12
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, permit
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, rejec$
smtpd_client_restrictions = reject_rbl_client blackholes.easynet.nl
smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, per$
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_discard_ehlo_keyword_address_maps = cidr:/etc/postfix/esmtp_access
smtpd_helo_required = yes
smtpd_delay_reject = yes
disable_vrfy_command = yes

# General host and delivery info
mynetworks_style = host
virtual_mailbox_base = /home/mail
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf, mysql:$
virtual_uid_maps = static:8
virtual_gid_maps = static:8
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf, mysql:/etc$
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
# Integration with other packages
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

# Use amavis for virus and spam scanning
content_filter = amavis:[127.0.0.1]:10024

# Header manipulation
header_checks = regexp:/etc/postfix/header_checks
enable_original_recipient = no

J'aurai passé mon week-end dessus neutral
J'aurai bien besoin d'une main tendue tongue

Dernière modification par azralth (Le 22/03/2015, à 19:28)

Hors ligne

#3 Le 22/03/2015, à 21:37

azralth

Re : Problème réception mail postfix kimsufi

J'avance encore un peu et voici ce que me donne les logs :

Mar 22 20:16:05 ns346448 postfix/trivial-rewrite[11860]: warning: do not list domain jhiki.com in BOTH virtual_alias_domains and virtual_mailbox_domains
Mar 22 20:16:05 ns346448 postfix/submission/smtpd[11853]: NOQUEUE: reject: RCPT from AGrenoble-653-1-507-114.w92-129.abo.wanadoo.fr[92.129.19.114]: 550 5.1.1 <francois-g@jhiki.com>: Recipient address rejected: User unknown in virtual alias table; from=<francois-g@jhiki.com> to=<francois-g@jhiki.com> proto=ESMTP helo=<[192.168.1.16]>
Mar 22 20:16:07 ns346448 postfix/submission/smtpd[11853]: disconnect from AGrenoble-653-1-507-114.w92-129.abo.wanadoo.fr[92.129.19.114]

Une idée ?

Hors ligne