Forum Linux.debian/ubuntu Multi Domaines Postfix

Posté par  .
Étiquettes : aucune
-1
17
mai
2010

Bonjour a tous,

J'ai mis en place une solution webmail avec:
- Un serveur IMAP: Dovecotbi
- Un serveur LDAP: OpenLDAP
- Un serveur Groupware: Egroupware
- Un serveur SMTP: Postfix

Le tous fonctionnes en local et en externe avec l'adresse sur le domaine:
@fufu.biz

Il m'a été demandé d'intégrer un nouveau nom de domaine;
@fifi.be
Et c'est la que ca coince. Au moment d'envoyer un mail avec thunderbird j'ai le message suivant:
Recipient address rejected ...

Les log de postfix

May 12 13:09:23 hermes postfix/smtpd[2324]: Anonymous TLS connection established from unknown[192.168.25.49]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
May 12 13:09:23 hermes postfix/smtpd[2324]: NOQUEUE: reject: RCPT from unknown[192.168.25.49]: 550 5.1.1 : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo=<[192.168.25.49]>
May 12 13:09:29 hermes postfix/smtpd[2324]: disconnect from unknown[192.168.25.49]
May 12 13:10:17 hermes postfix/smtpd[2324]: connect from unknown[192.168.25.49]
May 12 13:10:17 hermes postfix/smtpd[2324]: setting up TLS connection from unknown[192.168.25.49]
May 12 13:10:17 hermes postfix/smtpd[2324]: Anonymous TLS connection established from unknown[192.168.25.49]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
May 12 13:10:17 hermes postfix/smtpd[2324]: NOQUEUE: reject: RCPT from unknown[192.168.25.49]: 550 5.1.1 : Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo=<[192.168.25.49]>
May 12 13:10:20 hermes postfix/smtpd[2324]: disconnect from unknown[192.168.25.49]
May 12 13:13:40 hermes postfix/anvil[2308]: statistics: max connection rate 2/60s for (smtps:192.168.25.49) at May 12 13:09:23
May 12 13:13:40 hermes postfix/anvil[2308]: statistics: max connection count 1 for (smtps:192.168.25.49) at May 12 13:04:23
May 12 13:13:40 hermes postfix/anvil[2308]: statistics: max cache size 1 at May 12 13:04:23


L'utilisateur est pourtant bien enregistrer dans l'annuaire LDAP

Et postfix

#Identification banner
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

smtpd_tls_security_level = may
smtpd_tls_loglevel = 1
smtpd_tls_cert_file = /etc/ssl/certs/smtpd.pem
smtpd_tls_key_file = /etc/ssl/private/smtpd.key
smtpd_use_tls = yes

#disable_dns_lookups = yes
#smtp_host_lookup=dns

# Basic settings
mail_name = Afinis
myhostname = hermes
mydomain = fufu.biz
alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap-aliases.cf
alias_database = hash:/etc/aliases
mydestination = hermes,localhost,localhost.localdomain,smtp,mydomain,fifi.be
relayhost =
mynetworks = 127.0.0.0/8,192.168.25.0/24,192.168.2.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
luser_relay =
local_recipient_maps = $alias_maps

# Appending .domain is the MUA's job.
append_dot_mydomain = no
append_at_myorigin = yes

delay_warning_time = 4h
maximal_queue_lifetime = 10d
mailbox_size_limit = 0
message_size_limit = 15728640

# LDAP Transport
transport_map = ldap:/etc/postfix/ldap-transport.cf

# Virtual Domains Control
virtual_mailbox_domains = ldap:/etc/postfix/ldap-domains.cf
virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf
virtual_mailbox_base =
virtual_alias_maps = ldap:/etc/postfix/ldap-aliases.cf, ldap:/etc/postfix/ldap-maildrops.cf
virtual_alias_domains =
virtual_minimum_uid = 100
virtual_uid_maps = static:vmail
virtual_gid_maps = static:mail

#Dovecot LDA
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1


Avez vous une idée de ce qu'il faut ajouter a postfix pour le multidomaine?

Pour info si je créé un domaine uniquement avec accès local cela fonctionne. Les 2 domaines avec accès externe (fufu.biz et fifi.be) pointe vers la même adresse IP externet (80.X.X.X)

Merci d'avance pour vos réponse

Flo

Suivre le flux des commentaires

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